Difference between revisions of "Template:Item"

From The Coppermind
Jump to navigation Jump to search
(rm featured in)
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{infobox|title={{{title|{{PAGENAME}}|}}}|id=item|
{{infobox|title={{{name|{{PAGENAME}}}}}|id=item|


{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }}|}}
{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }} }}


<!-- properties -->
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}} }}|}}
{{#if:{{{type|}}} |{{row/kv| Type | {{{type}}} }} {{info/type}} }}

{{#if:{{{abilities|}}} |{{row/kv| Abilities |{{{abilities}}} }}|}}
{{#if:{{{function|}}} |{{row/kv| Function | {{{function}}} }} {{info/function}} }}
{{#if:{{{appearance|}}} |{{row/kv| Appearance |{{{appearance}}} }}|}}
{{#if:{{{magic|}}} |{{row/kv| Magic |{{{magic}}} }}|}}


<!-- owner/creator/etc. -->
<!-- owner/creator/etc. -->
{{#if:{{{creators|}}} |{{row/kv| Creators |{{{creators}}} }}|
{{#if:{{{creators|}}} |{{row/kv| Creators | {{{creators}}} }} {{info/creators}} }}
{{#if:{{{creator|}}} |{{row/kv| Creator |[[{{{creator}}}]] }}|}}|}}
{{#if:{{{creator|}}} |{{row/kv| Creator | [[{{{creator}}}]] }} {{info/creator}} }}
{{#if:{{{owners|}}} |{{row/kv| Owners |{{{owners}}} }}|
{{#if:{{{owners|}}} |{{row/kv| Owners | {{{owners}}} }} {{info/owners}} }}
{{#if:{{{owner|}}} |{{row/kv| Owner |[[{{{owner}}}]] }}|}}|}}
{{#if:{{{owner|}}} |{{row/kv| Owner | [[{{{owner}}}]] }} {{info/owner}} }}


<!-- world & universe -->
<!-- -->{{row/kv| {{{world-text|World}}}|{{#if:{{{world|}}}|[[{{{world}}}]]|''Unknown''|}}|}}
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}}
{{#if:{{{earth|}}} |{{row/kv| World of Origin | [[Earth ({{{earth}}})]] }} {{info/earth}} }}
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}'' }}
{{#if:{{{world|}}} |{{row/kv| World of Origin | {{toponym link|{{{world}}}}} }} {{info/world}} }}
{{#if:{{{'world|}}} |{{row/kv| World of Origin | {{{'world}}} }} {{raw/world}} }}
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}} }} {{info/universe}} }}
{{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!--
---->|<!-- there is a location row present
---->|{{#if:{{{universe|}}}|{{missing/world}}<!--tag with missing world-->|{{missing/world/and universe}}}}<!--tag with missing world and universe
-->}}


}}<includeonly><!--
<!--


CATS:
-->[[Category: Objects and Materials]]<!--
-->{{cat ns|Objects and Materials|only=0}}<!--


END:
-->{{#if:<!--
-->{{{world|}}}<!--
-->}}<noinclude>
-->||{{infobox/no-world}}<!--
-->}}<!--


The ''{{t|item}}'' infobox template allows you to describe specific objects, as well as physical materials more generally.
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--


__TOC__
--></includeonly><noinclude>

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 {{t|tag+}}. Parameters {{{abilities}}} {{{appearane}}} 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>
<pre class=mw-code>
{{item
{{item
|image=
|image=
|type=
|type=
|function=
|abilities=
|appearance=
|magic=
|creator= / creators=
|creator= / creators=
|owner= / owners=
|owner= / owners=
|world=
|world=
|universe=
|books=
}}
}}
</pre>
</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}}

|}


=== Categories & Tags ===
Pages that make use of the ''{{t|item}}'' template will be added to [[:Category: Objects and Materials]].


[[Category: Infoboxes]]
[[Category: Infoboxes]]

== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 18:34, 15 March 2024

Item

The {{item}} infobox template allows you to describe specific objects, as well as physical materials more generally.

Template

{{item
|image=
|type=
|function=
|creator= / creators=
|owner= / owners=
|world=
|universe=
}}

Parameters

Highlighted lines indicate mandatory parameters. On lines with multiple parameters (e.g. |world= / earth=) pick only the one most appropriate.

{{Item}} Parameters
Parameter Description Examples
image Use this to display a relevant image hosted on the Coppermind.

See Help:Infoboxes for further details.

|image=Elhokar sunraiser.jpg

type Use this to specify the type of item being described. Apply a category (ideally with {{tag+}}) if possible.

|type={{tag+|Shardblade}}
|type={{cat tag|Currencies|Currency}}
|type=Dye

function Use this to briefly describe the items function if the type parameter wasn't clear enough.

|function=Indicates rank

creator
or
creators
Use this to specify the item's creator(s).

Note: creator automatically generates a link, but creators does not.

|creator=Ranette
|creators=[[Forger]]s

owner
or
owners
Use this to specify the item's current (or last known) owner(s).

Note: owner automatically generates a link, but owners does not.

|owner=Wyrn
|owners=[[Sand master]]s

world
or
earth
Use this to specify the planet where the item can be found.

Note: Automatically generates a link. To bypass this, use 'world.
See Help:Infoboxes for further details.

|world=Roshar
|earth=Reckoners
|'world=Mars

universe Use this to indicate the (connected) universe where the item can be found.

See Help: Infoboxes for further details.

|universe=[[Cosmere]]
|universe=[[Cytoverse]]
|universe=[[Wode]] [[State]]s
|universe=''Standalone''


Categories & Tags

Pages that make use of the {{item}} template will be added to Category: Objects and Materials.

Articles using Template