Difference between revisions of "Template:Infobox animal"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Added image3, display horizontally instead of vertically)
Line 3: Line 3:
 
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|-
 
|-
|colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|center|link=]]}}
+
|colspan=2 style="text-align: center;"|{{#if:{{{image}}}|[[File:{{{image|}}}|link=]]}}{{#if:{{{image2|}}}|[[File:{{{image2|}}}|link=]]|}}{{#if:{{{image3|}}}|[[File:{{{image3|}}}|link=]]|}}
|-
 
|colspan=2|{{#if:{{{image2|}}}|[[File:{{{image2|}}}|center|link=]]|}}
 
 
|-
 
|-
 
|id="infoboxsection"|Building
 
|id="infoboxsection"|Building

Revision as of 18:30, 16 February 2017


Description

This template displays an infobox for animal pages.

Use

This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

{{Infobox animal
|image           = 
|image2          =
|image3          =
|buyprice        =
|building        =
|produce         =
}}

Parameters

{{Infobox animal
|image         = Primary image
|image2        = second image (optional)
|image3        = third image (optional)
|buyprice      = Cost to purchase from Marnie's Ranch (unformatted)
|building      = What building does it live in?
|produce       = What does it produce?
}}