Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{infobox|title={{{title|{{PAGENAME}}|}}}|<!-- |
{{infobox|title={{{title|{{PAGENAME}}|}}}|<!-- |
||
− | -->{{#if:{{{type|}}}|<!-- |
+ | -->{{#if:{{{type|}}}|{{row/kv|Type|{{{type}}}|}}|}}<!-- |
− | -->{{row/kv|Type|{{#switch:{{lc:{{{type}}}|}}<!-- |
||
− | -->|shardblade=[[Shardblade]][[Category: Shardblades]][[Category: Weapons]][[Category: Broken templates]]<!-- |
||
− | -->|weapon=Weapon[[Category: Weapons]][[Category: Broken templates]]<!-- |
||
− | -->|metalmind=[[Metalmind]][[Category: Broken templates]]<!-- |
||
− | -->|{{{type}}}<!-- |
||
− | -->}}|}}<!-- |
||
− | -->}}<!-- |
||
-->{{#if:{{{abilities|}}}|{{row/kv|Abilities|{{{abilities}}}|}}|}}<!-- |
-->{{#if:{{{abilities|}}}|{{row/kv|Abilities|{{{abilities}}}|}}|}}<!-- |
||
Line 28: | Line 21: | ||
This template allows you to describe the many attributes of an inanimate object. |
This template allows you to describe the many attributes of an inanimate object. |
||
− | The parameter {{{world}}} will link to the page passed. {{{books}}} will need to be formatted manually. The {{{type}}} can be |
+ | The parameter {{{world}}} will link to the page passed. {{{books}}} will need to be formatted manually. The {{{type}}} should probably use {{t|tag+}}. The ownership of an object can be specified by {{{owner}}}, and if necessary the {{{creator}}} or {{{creators}}} parameters can specify distinct creators. |
+ | |||
− | {| class=infobox |
||
⚫ | |||
− | ! class=title | Type |
||
− | ! class=title | Description |
||
− | {{row|weapon|A particular weapon like a sword or spear}} |
||
− | {{row|shardblade|A [[Shardblade]] from [[Roshar]]}} |
||
− | {{row|metalmind|A [[Metalmind]] from [[Scadrial]]}} |
||
− | |} |
||
− | If the {{{type}}} passed isn't one of the above, it is outputted as is. The ownership of an object can be specified by {{{owner}}}, and if necessary the {{{creator}}} or {{{creators}}} parameters can specify distinct creators. |
||
⚫ |
Revision as of 09:26, 3 July 2014
Item | |
---|---|
World | Unknown |
Featured In | {{{books}}} |
This template allows you to describe the many attributes of an inanimate object.
The parameter {{{world}}} will link to the page passed. {{{books}}} will need to be formatted manually. The {{{type}}} should probably use {{tag+}}
. The ownership of an object can be specified by {{{owner}}}, and if necessary the {{{creator}}} or {{{creators}}} parameters can specify distinct creators.