x>FANDOM No edit summary |
m (1 revision imported) |
||
(No difference)
| |||
Latest revision as of 21:36, 29 April 2024
Description
To use this template, add the {{{{#if:|{{{prefix}}}:}}Item{{#if:||<{{{2}}}>}}{{#if:||<{{{3}}}>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Syntax
{{Item
| title =
| image = [e.g. "Example.jpg"]
| imagecaption =
| type =
| effects =
| source =
| buy =
| sell =
}}
Sample output
<infobox type="Item"> <title source="title"/>
<image source="image"></image> <label>Type</label> <label>Effects</label> <label>Source</label> <label>Cost to buy</label> <label>Cost to sell</label> </infobox>{{#ifeq: 10 | 0 |}}
{{Item
| title = Power Flower
| image = Example.jpg
| type = Food
| effects = +1 Fire
| source = Vendor
| buy = 5g
| sell = 1g
}}