Difference between revisions of "Template:Infobox animal"
Jump to navigation
Jump to search
m (better errorchecking) |
m (take 2) |
||
Line 13: | Line 13: | ||
|- | |- | ||
|id="infoboxsection"|Purchase Price | |id="infoboxsection"|Purchase Price | ||
− | |id="infoboxdetail"|{{#iferror:{{#expr:{{{buyprice|}}}<0}}|N/A|{{price|{{{buyprice|}}} }} }} | + | |id="infoboxdetail"|{{#iferror:{{#expr:{{{buyprice|}}}<0}}|{{{buyprice|N/A}}}|{{price|{{{buyprice|}}} }} }} |
|- | |- | ||
|id="infoboxsection"|Produce | |id="infoboxsection"|Produce |
Revision as of 20:27, 9 September 2020
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? }}