Changes

no edit summary
Line 14: Line 14:  
This template is to be used at the top of an [[equipment]] item.
 
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]].
+
==Usage==
 +
<nowiki>{</nowiki>{Summary/Items/Equipment
 +
|description=''text''
 +
|type=''text''
 +
|defence=''value''
 +
|autosell=''value''
 +
|discarded=''Can|Cannot''
 +
|autosold=''Can|Cannot''
 +
|traded=''Can|Cannot''
 +
|stored=''Can|Cannot''
 +
|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
 +
|description=This is some kind of nice item description
 +
|type=thing
 +
|defence=10
 +
|autosell=20
 +
|discarded=Cannot
 +
|autosold=Can
 +
|traded=Can
 +
|stored=Can
 +
|plural=itemnames
 +
|bonus=makes stuff wibbly-wobbly
 +
}}</nowiki></code> yields:
 +
 
 +
{{Summary/Items/Equipment
 +
|description=This is some kind of nice item description
 +
|type=thing
 +
|defence=10
 +
|autosell=20
 +
|discarded=Cannot
 +
|autosold=Can
 +
|traded=Can
 +
|stored=Can
 +
|plural=itemnames
 +
|bonus=makes stuff wibbly-wobbly
 +
}}
 +
 
 +
[[Category: Templates]]
 
</noinclude>
 
</noinclude>