Difference between revisions of "Template:Summary/Items/Equipment"
Jump to navigation
Jump to search
DeepPurple (talk | contribs) |
|||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly><center>[[Image:{{{imagename}}}]]</center> | ||
+ | |||
{{{description}}} | {{{description}}} | ||
− | <b>Type:</b> [[{{{ | + | <b>Type:</b> [[:Category:{{{category}}}|{{{type}}}]]<br> |
− | |||
<b>Defence:</b> {{{defence}}}<br> | <b>Defence:</b> {{{defence}}}<br> | ||
<b>Autosell value:</b> {{{autosell}}}<br> | <b>Autosell value:</b> {{{autosell}}}<br> | ||
Line 8: | Line 9: | ||
<b>{{{discarded}}} be discarded</b><br> | <b>{{{discarded}}} be discarded</b><br> | ||
<b>{{{autosold}}} be autosold</b><br> | <b>{{{autosold}}} be autosold</b><br> | ||
+ | <b>{{{traded}}} be traded</b><br> | ||
<b>{{{stored}}} be stored</b><br> | <b>{{{stored}}} be stored</b><br> | ||
− | |||
− | <b>Plural:</b> {{{plural}}}<br> | + | <b>Outfit name:</b> {{{outfitname}}}<br> |
− | <b>Bonus:</b> {{{bonus}}} | + | |
+ | <b>Plural:</b> {{#if:{{{plural}}}|{{{plural}}}|unknown}}<br> | ||
+ | <b>Bonus:</b> {{#if:{{{bonus}}}|{{{bonus}}}|none or not yet known}}</includeonly><noinclude> | ||
+ | This template is to be used at the top of an equipment item article. | ||
+ | |||
+ | ==Usage== | ||
+ | <nowiki>{</nowiki>{Summary/Items/Equipment | ||
+ | |imagename=''filename'' | ||
+ | |description=''text'' | ||
+ | |category=''text'' | ||
+ | |type=''text'' | ||
+ | |defence=''value'' | ||
+ | |autosell=''value'' | ||
+ | |discarded=''Can|Cannot'' | ||
+ | |autosold=''Can|Cannot'' | ||
+ | |traded=''Can|Cannot'' | ||
+ | |stored=''Can|Cannot'' | ||
+ | |outfitname=''outfitname'' | ||
+ | |plural=''text'' | ||
+ | |bonus=''text'' | ||
+ | }} | ||
+ | |||
+ | ==Examples== | ||
+ | Sorry about the format of this, still an issue to work out. Paramaters are easier to read if listed on separate lines as shown above. | ||
+ | |||
+ | :<code><nowiki>{{Summary/Items/Equipment | ||
+ | |imagename=Blueshirt.png | ||
+ | |description=This is some kind of nice item description | ||
+ | |category=Shirts | ||
+ | |type=shirt | ||
+ | |defence=10 | ||
+ | |autosell=20 | ||
+ | |discarded=Cannot | ||
+ | |autosold=Can | ||
+ | |traded=Can | ||
+ | |stored=Can | ||
+ | |outfitname=outfitname | ||
+ | |plural=itemnames | ||
+ | |bonus=makes stuff wibbly-wobbly | ||
+ | }}</nowiki></code> yields: | ||
+ | |||
+ | {{Summary/Items/Equipment | ||
+ | |imagename=Blueshirt.png | ||
+ | |description=This is some kind of nice item description | ||
+ | |category=Shirts | ||
+ | |type=shirt | ||
+ | |defence=10 | ||
+ | |autosell=20 | ||
+ | |discarded=Cannot | ||
+ | |autosold=Can | ||
+ | |traded=Can | ||
+ | |stored=Can | ||
+ | |outfitname= outfitname | ||
+ | |plural=itemnames | ||
+ | |bonus=makes stuff wibbly-wobbly | ||
+ | }} | ||
+ | |||
+ | ==Further Examples== | ||
+ | *[[blue t-shirt]] | ||
+ | |||
+ | [[Category: Templates]] | ||
+ | </noinclude> |
Latest revision as of 15:46, 12 April 2014
This template is to be used at the top of an equipment item article.
Usage
{{Summary/Items/Equipment |imagename=filename |description=text |category=text |type=text |defence=value |autosell=value |discarded=Can|Cannot |autosold=Can|Cannot |traded=Can|Cannot |stored=Can|Cannot |outfitname=outfitname |plural=text |bonus=text }}
Examples
Sorry about the format of this, still an issue to work out. Paramaters are easier to read if listed on separate lines as shown above.
{{Summary/Items/Equipment |imagename=Blueshirt.png |description=This is some kind of nice item description |category=Shirts |type=shirt |defence=10 |autosell=20 |discarded=Cannot |autosold=Can |traded=Can |stored=Can |outfitname=outfitname |plural=itemnames |bonus=makes stuff wibbly-wobbly }}
yields:
This is some kind of nice item description
Type: shirt
Defence: 10
Autosell value: 20
Cannot be discarded
Can be autosold
Can be traded
Can be stored
Outfit name: outfitname
Plural: itemnames
Bonus: makes stuff wibbly-wobbly