Difference between revisions of "Template:Summary/Items/Equipment"
Jump to navigation
Jump to search
DeepPurple (talk | contribs) |
|||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{{ | + | <includeonly><center>[[Image:{{{imagename}}}]]</center> |
− | <b>Type:</b> [[{{{type}}}]]<br> | + | {{{description}}} |
+ | |||
+ | <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 10: | Line 12: | ||
<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}}}</includeonly><noinclude> | + | |
+ | <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. | This template is to be used at the top of an equipment item article. | ||
==Usage== | ==Usage== | ||
<nowiki>{</nowiki>{Summary/Items/Equipment | <nowiki>{</nowiki>{Summary/Items/Equipment | ||
+ | |imagename=''filename'' | ||
|description=''text'' | |description=''text'' | ||
+ | |category=''text'' | ||
|type=''text'' | |type=''text'' | ||
|defence=''value'' | |defence=''value'' | ||
Line 24: | Line 30: | ||
|traded=''Can|Cannot'' | |traded=''Can|Cannot'' | ||
|stored=''Can|Cannot'' | |stored=''Can|Cannot'' | ||
+ | |outfitname=''outfitname'' | ||
|plural=''text'' | |plural=''text'' | ||
|bonus=''text'' | |bonus=''text'' | ||
Line 32: | Line 39: | ||
:<code><nowiki>{{Summary/Items/Equipment | :<code><nowiki>{{Summary/Items/Equipment | ||
+ | |imagename=Blueshirt.png | ||
|description=This is some kind of nice item description | |description=This is some kind of nice item description | ||
− | |type= | + | |category=Shirts |
+ | |type=shirt | ||
|defence=10 | |defence=10 | ||
|autosell=20 | |autosell=20 | ||
Line 40: | Line 49: | ||
|traded=Can | |traded=Can | ||
|stored=Can | |stored=Can | ||
+ | |outfitname=outfitname | ||
|plural=itemnames | |plural=itemnames | ||
|bonus=makes stuff wibbly-wobbly | |bonus=makes stuff wibbly-wobbly | ||
Line 45: | Line 55: | ||
{{Summary/Items/Equipment | {{Summary/Items/Equipment | ||
+ | |imagename=Blueshirt.png | ||
|description=This is some kind of nice item description | |description=This is some kind of nice item description | ||
− | |type= | + | |category=Shirts |
+ | |type=shirt | ||
|defence=10 | |defence=10 | ||
|autosell=20 | |autosell=20 | ||
Line 53: | Line 65: | ||
|traded=Can | |traded=Can | ||
|stored=Can | |stored=Can | ||
+ | |outfitname= outfitname | ||
|plural=itemnames | |plural=itemnames | ||
|bonus=makes stuff wibbly-wobbly | |bonus=makes stuff wibbly-wobbly | ||
Line 58: | Line 71: | ||
==Further Examples== | ==Further Examples== | ||
− | *[[ | + | *[[blue t-shirt]] |
[[Category: Templates]] | [[Category: Templates]] | ||
</noinclude> | </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