Line 1: |
Line 1: |
| + | <includeonly><center>[[Image:{{{imagename}}}]]</center> |
| + | |
| {{{description}}} | | {{{description}}} |
| | | |
− | <b>Type:</b> [[{{{type}}}]]<br> | + | <b>Type:</b> [[:Category:{{{category}}}|{{{type}}}]]<br> |
− | <b>Attack:</b> {{{attack}}}<br>
| |
| <b>Defence:</b> {{{defence}}}<br> | | <b>Defence:</b> {{{defence}}}<br> |
| <b>Autosell value:</b> {{{autosell}}}<br> | | <b>Autosell value:</b> {{{autosell}}}<br> |
| | | |
− | <b>{{{stored}}} be autosold</b><br>
| |
| <b>{{{discarded}}} be discarded</b><br> | | <b>{{{discarded}}} be discarded</b><br> |
| + | <b>{{{autosold}}} be autosold</b><br> |
| <b>{{{traded}}} be traded</b><br> | | <b>{{{traded}}} be traded</b><br> |
− | <b>{{{autosold}}} be autosold</b><br> | + | <b>{{{stored}}} be stored</b><br> |
| + | |
| + | <b>Outfit name:</b> {{{outfitname}}}<br> |
| + | |
| + | <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]] |
| | | |
− | <b>Plural:</b> {{{plural}}}<br>
| + | [[Category: Templates]] |
− | <b>Bonus:</b> {{{bonus}}}
| + | </noinclude> |