FANDOM


m
 
(Converted to a portable infobox.)
 
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px;"
+
<onlyinclude><infobox>
|-
+
<title source="title"><default>''Unknown''</default></title>
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
+
<image source="image"><caption source="imagecaption"/></image>
|- style="text-align:center;"
+
<data source="type"><label>Type</label><default>''Unknown''</default></data>
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder item.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
+
<data source="effects"><label>Effects</label><default>''Unknown''</default></data>
|-
+
<data source="source"><label>Source</label><default>''Unknown''</default></data>
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Vital statistics
+
<data source="buy"><label>Cost to buy</label><default>''Unknown''</default></data>
|-
+
<data source="sell"><label>Cost to sell</label><default>''Unknown''</default></data>
| style="width:30%;" | '''Type'''
+
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
| style="width:70%;" | {{{type}}}
 
|-
 
| '''Effects'''
 
| {{{effects}}}
 
|-
 
| '''Source'''
 
| {{{source}}}
 
|-
 
| '''Cost to buy'''
 
| {{{buy}}}
 
|-
 
| '''Cost to sell'''
 
| {{{sell}}}
 
|}<noinclude><br style="clear:both;" />
 
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 06:08, July 15, 2019


Template documentation (for the above template, sometimes hidden or invisible)

DescriptionEdit

To use this template, copy the following code and fill in the appropriate fields.

SyntaxEdit

{{infobox item
 | title         = 
 | image         = [e.g. "Example.jpg"]
 | imagecaption  = 
 | type          = 
 | effects       = 
 | source        = 
 | buy           = 
 | sell          = 
}}

SamplesEdit

{{infobox item
 | title         = Power Flower
 | image         = Example.jpg
 | type          = Food
 | effects       = +1 Fire
 | source        = Vendor
 | buy           = 5g
 | sell          = 1g}}

Results in...


Visit Template:Infobox item/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.