Difference between revisions of "Template:Infobox animal"

From Stardew Valley Wiki
Jump to navigation Jump to search
(remove extra whitespace)
(add description parameter)
Line 1: Line 1:
 
<includeonly><div id="infoboxborder">
 
<includeonly><div id="infoboxborder">
 
{| id="infoboxtable"
 
{| id="infoboxtable"
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}}
+
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|-
 
|-
|colspan=2 style="text-align: center; padding-bottom: 15px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|link=]]}}{{#if:{{{image2|}}}|&nbsp;[[File:{{{image2|}}}|link=]]|}}{{#if:{{{image3|}}}|&nbsp;[[File:{{{image3|}}}|link=]]|}}
+
|colspan=2 style="text-align: center; padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|link=]]}}{{#if:{{{image2|}}}|&nbsp;[[File:{{{image2|}}}|link=]]|}}{{#if:{{{image3|}}}|&nbsp;[[File:{{{image3|}}}|link=]]|}}
 +
|-
 +
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
 
|-
 
|-
 
|colspan="2" id="infoboxsection" style="text-align: center;"|Information
 
|colspan="2" id="infoboxsection" style="text-align: center;"|Information

Revision as of 23:02, 3 October 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?
}}