Difference between revisions of "Template:Item"
m |
|||
(17 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {{infobox|title={{{title|{{PAGENAME}}|}}}|id=item| |
+ | {{infobox|title={{{title|{{PAGENAME}}|}}}|id=item| |
− | + | {{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }}|}} |
|
− | -->{{#if:{{{abilities|}}}|{{row/kv|Abilities|{{{abilities}}}|}}|}}<!-- |
||
+ | <!-- properties --> |
||
− | owner/creator/etc. |
||
− | + | {{#if:{{{type|}}} |{{row/kv| Type |{{{type}}} }}|}} |
|
− | + | {{#if:{{{function|}}} |{{row/kv| Function |{{{function}}} }}|}} |
|
+ | |||
− | -->}}<!-- |
||
+ | <!-- owner/creator/etc. --> |
||
− | -->{{#if:{{{owners|}}}|{{row/kv|Owners|{{{owners}}}|}}<!-- |
||
− | + | {{#if:{{{creators|}}} |{{row/kv| Creators |{{{creators}}} }}| |
|
+ | {{#if:{{{creator|}}} |{{row/kv| Creator |[[{{{creator}}}]] }}|}}|}} |
||
+ | {{#if:{{{owners|}}} |{{row/kv| Owners |{{{owners}}} }}| |
||
+ | {{#if:{{{owner|}}} |{{row/kv| Owner |[[{{{owner}}}]] }}|}}|}} |
||
+ | |||
+ | <!-- world & universe --> |
||
+ | {{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- -->}}|}} |
||
+ | {{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]]<!-- -->}}|}} |
||
+ | {{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}}<!-- -->}}|}} |
||
+ | {{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}} |
||
+ | |||
+ | <!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}} |
||
+ | |||
+ | }}<includeonly><!-- |
||
+ | |||
+ | -->[[Category: Objects and Materials]]<!-- |
||
+ | |||
+ | -->{{#if:<!-- |
||
+ | -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!-- |
||
+ | -->||{{infobox/no-world}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | --> |
+ | -->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!-- |
+ | |||
+ | --></includeonly><noinclude> |
||
+ | |||
+ | The ''{{t|item}}'' infobox template allows you to describe specific, and usually named inanimate objects. |
||
+ | |||
+ | __TOC__ |
||
+ | |||
+ | === Template === |
||
+ | <pre class=mw-code> |
||
+ | {{item |
||
+ | |image= |
||
+ | |type= |
||
+ | |function= |
||
+ | |creator= / creators= |
||
+ | |owner= / owners= |
||
+ | |world= |
||
+ | |universe= |
||
+ | |books= |
||
+ | }} |
||
+ | </pre> |
||
+ | |||
+ | === Parameters === |
||
+ | Highlighted lines indicate '''mandatory''' parameters. |
||
+ | On lines with multiple parameters (e.g. <code>|world= / earth=</code>) pick only the one most appropriate. |
||
+ | |||
+ | {{docs|title={{t|Item}} Parameters}} |
||
+ | |||
+ | <!-- ---------- --> |
||
+ | <!-- ROW: image --> |
||
+ | <!-- ---------- --> |
||
+ | {{docs/image |
||
+ | |eg= |
||
+ | <code><nowiki>|image=Elhokar sunraiser.jpg</nowiki></code> |
||
+ | }} |
||
+ | |||
+ | <!-- --------- --> |
||
+ | <!-- ROW: type --> |
||
+ | <!-- --------- --> |
||
+ | {{docs/row/optional |
||
+ | |param=type |
||
+ | |desc=Use this to specify the type of item being described. Apply a category (ideally with {{t|tag+}}) if possible. |
||
+ | |eg= |
||
+ | <code><nowiki>|type={{tag+|Shardblade}}</nowiki></code><br> |
||
+ | <code><nowiki>|type={{cat tag|Currencies|Currency}}</nowiki></code><br> |
||
+ | <code><nowiki>|type=Dye</nowiki></code> |
||
+ | }} |
||
+ | |||
+ | <!-- ------------- --> |
||
+ | <!-- ROW: function --> |
||
+ | <!-- ------------- --> |
||
+ | {{docs/row/optional |
||
+ | |param= function |
||
+ | |desc= Use this to briefly describe the items function if the '''type''' parameter wasn't clear enough. |
||
+ | |eg= |
||
+ | <code><nowiki>|function=Indicates rank</nowiki></code> |
||
+ | }} |
||
+ | |||
+ | <!-- ----------------------- --> |
||
+ | <!-- ROW: creator / creators --> |
||
+ | <!-- ----------------------- --> |
||
+ | {{docs/row/optional |
||
+ | |'param=<code>creator</code> <br><small>or</small><br> <code>creators</code> |
||
+ | |desc= Use this to specify the item's creator(s).<br> |
||
+ | <small>'''Note:''' <code>creator</code> automatically generates a link, but <code>creators</code> does not.</small> |
||
+ | |eg= |
||
+ | <code><nowiki>|creator=Ranette</nowiki></code><br> |
||
+ | <code><nowiki>|creators=[[Forger]]s</nowiki></code> |
||
+ | }} |
||
+ | |||
+ | <!-- ------------------- --> |
||
+ | <!-- ROW: owner / owners --> |
||
+ | <!-- ------------------- --> |
||
+ | {{docs/row/optional |
||
+ | |'param=<code>owner</code> <br><small>or</small><br> <code>owners</code> |
||
+ | |desc= Use this to specify the item's ''current'' (or last known) owner(s).<br> |
||
+ | <small>'''Note:''' <code>owner</code> automatically generates a link, but <code>owners</code> does not.</small> |
||
+ | |eg= |
||
+ | <code><nowiki>|owner=Wyrn</nowiki></code><br> |
||
+ | <code><nowiki>|owners=[[Sand master]]s</nowiki></code> |
||
+ | }} |
||
+ | |||
+ | <!-- ------------------ --> |
||
+ | <!-- ROW: world / earth --> |
||
+ | <!-- ------------------ --> |
||
+ | {{docs/world}} |
||
+ | |||
+ | <!-- ------------- --> |
||
+ | <!-- ROW: universe --> |
||
+ | <!-- ------------- --> |
||
+ | {{docs/universe}} |
||
+ | <!-- ---------- --> |
||
− | featured in |
||
− | -- |
+ | <!-- ROW: books --> |
+ | <!-- ---------- --> |
||
+ | {{docs/books}} |
||
+ | |} |
||
− | -->}}[[Category: Objects and Materials]]<noinclude> |
||
− | This template allows you to describe the many attributes of an inanimate object. |
||
+ | === Categories & Tags === |
||
− | 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. |
||
+ | Pages that make use of the ''{{t|item}}'' template will be added to [[:Category: Objects and Materials]]. |
||
[[Category: Infoboxes]] |
[[Category: Infoboxes]] |
Revision as of 01:14, 26 December 2019
Item | |
---|---|
Featured In | {{{books}}} |
The {{item}}
infobox template allows you to describe specific, and usually named inanimate objects.
Template
{{item |image= |type= |function= |creator= / creators= |owner= / owners= |world= |universe= |books= }}
Parameters
Highlighted lines indicate mandatory parameters.
On lines with multiple parameters (e.g. |world= / earth=
) pick only the one most appropriate.
Parameter | Description | Examples |
---|---|---|
image
|
Use this to display a relevant image hosted on the Coppermind.
See Help:Infoboxes for further details. |
|
type
|
Use this to specify the type of item being described. Apply a category (ideally with {{tag+}} ) if possible.
|
|
function
|
Use this to briefly describe the items function if the type parameter wasn't clear enough. |
|
creator or creators
|
Use this to specify the item's creator(s). Note: |
|
owner or owners
|
Use this to specify the item's current (or last known) owner(s). Note: |
|
world or earth
|
Use this to specify the planet where the item can be found. Note: Automatically generates a link. To bypass this, use |
|
universe
|
Use this to indicate the (connected) universe where the item can be found.
See Help: Infoboxes for further details. |
|
Categories & Tags
Pages that make use of the {{item}}
template will be added to Category: Objects and Materials.