Difference between revisions of "Template:Infobox animal"

From Stardew Valley Wiki
Jump to navigation Jump to search
(add description parameter)
(allow name template in building parameter)
Line 10: Line 10:
 
|-
 
|-
 
|id="infoboxsection"|Building
 
|id="infoboxsection"|Building
|id="infoboxdetail"|{{#if:{{{building|}}}|[[{{{building|N/A}}}]]|N/A}}
+
|id="infoboxdetail"|{{#if:{{{building|}}}|{{{building|N/A}}}|N/A}}
 
|-
 
|-
 
|id="infoboxsection"|Produce
 
|id="infoboxsection"|Produce

Revision as of 22:25, 30 November 2018

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