Difference between revisions of "Template:Infobox animal"

From Stardew Valley Wiki
Jump to navigation Jump to search
(add image 4)
(Changing image field to use Autoimage, Similar to the Normal Infobox)
Line 3: Line 3:
 
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|-
 
|-
|colspan=2 style="text-align: center; padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|link=]]}}{{#if:{{{image2|}}}| [[File:{{{image2|}}}|link=]]|}}{{#if:{{{image3|}}}| [[File:{{{image3|}}}|link=]]|}}{{#if:{{{image4|}}}| [[File:{{{image4|}}}|link=]]|}}
+
|colspan=2 style="text-align: center; padding-bottom: 5px;"|{{Autoimage|{{{image|}}}, {{{image2|}}}, {{{image3|}}}, {{{image4|}}}|eng={{{eng|}}}|separator={{#ifeq:{{{image2spacing|}}}|true|   |{{{image2spacing|}}}}}}}
 
|-
 
|-
 
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
 
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}

Revision as of 02:18, 9 January 2021

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?
}}