Difference between revisions of "Template:Infobox animal"

From Stardew Valley Wiki
Jump to navigation Jump to search
m (Text replacement - "colspan=2" to "colspan="2"")
(Add a field for days to mature as the location of this information is not standard across the animal pages and I'd like it to be easier to find quickly.)
Line 17: Line 17:
 
|id="infoboxsection"|Produce
 
|id="infoboxsection"|Produce
 
|id="infoboxdetail"|{{#if:{{{produce|}}}|{{{produce|N/A}}}|N/A}}
 
|id="infoboxdetail"|{{#if:{{{produce|}}}|{{{produce|N/A}}}|N/A}}
 +
|-
 +
|id="infoboxsection"|Days to Mature
 +
|id="infoboxdetail"|{{#if:{{{growdays|}}}|{{{growdays|N/A}}}|N/A}}
 
|-
 
|-
 
|}</div>{{InfoboxSEO}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
|}</div>{{InfoboxSEO}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 12:44, 12 November 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?
}}