Difference between revisions of "Template:Item"

Jump to navigation Jump to search
m
no edit summary
m (typo)
m
(7 intermediate revisions by the same user not shown)
{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }}|}}
 
<!-- properties -->
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}} }}|}}
{{#if:{{{function|}}} |{{row/kv| Function |{{{function}}} }}|}}
 
{{#if:{{{abilities|}}} |{{row/kv| Abilities |{{{abilities}}} }}|}}
{{#if:{{{appearance|}}} |{{row/kv| Appearance |{{{appearance}}} }}|}}
{{#if:{{{magic|}}} |{{row/kv| Magic |{{{magic}}} }}|}}
 
<!-- owner/creator/etc. -->
{{#if:{{{owner|}}} |{{row/kv| Owner |[[{{{owner}}}]] }}|}}|}}
 
<!-- world & universe -->
<!-- -->{{row/kv| {{{world-text|World}}}|{{#if:{{{world|}}}|[[{{{world}}}]]|''Unknown''|}}|}}
{{#if:{{{universeearth|}}} |{{row/kv| UniverseWorld |[[Earth ({{{universeearth}}})]]<!-- -->}}|}}
<!--{{#if:{{{world|}}} featured in -->|{{row/kv| FeaturedWorld In |''[[{{{booksworld}}}'']]<!-- -->}}|}}
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}}<!-- -->}}|}}
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
 
}}<includeonly><!--
 
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--
--></includeonly><noinclude>
 
ThisThe ''{{t|item}}'' infobox template allows you to describe the manyspecific, attributesand ofusually annamed inanimate objectobjects.
 
__TOC__
The parameter {{{world}}} will link to the page passed. {{{books}}} will need to be formatted manually. The {{{type}}} should probably use {{t|tag+}}. Parameters {{{abilities}}} {{{appearance}}} and {{{magic}}} can also be specified. The ownership of an object can be specified by {{{owner}}}, and if necessary the {{{creator}}} or {{{creators}}} parameters can specify distinct creators.
 
It automatically adds pages to [[:Category: Objects and Materials]]
 
=== Template ===
<pre class=mw-code>
{{item
|image=
|type=
|function=
|abilities=
|appearance=
|magic=
|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}}
 
<!-- ---------- -->
<!-- ROW: books -->
<!-- ---------- -->
{{docs/books}}
 
|}
 
 
=== Categories & Tags ===
Pages that make use of the ''{{t|item}}'' template will be added to [[:Category: Objects and Materials]].
 
[[Category: Infoboxes]]

Navigation menu