Changes

no edit summary
Line 1: Line 1: −
<noinclude>
+
<includeonly><center>[[Image:{{{imagename}}}]]</center>
This template is to be used at the top of an [[equipment]] item.
  −
 
  −
To see how to use the template on a page, edit the Description section of the page [[festive paper hat]].
  −
</noinclude>
      
{{{description}}}
 
{{{description}}}
   −
<b>Type:</b> [[{{{type}}}]]<br>
+
<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 13: 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>{{{traded}}} be traded</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>