Difference between revisions of "Template:Item"

From The Coppermind
Jump to navigation Jump to search
m (Also used for materials)
(rm featured in)
 
(7 intermediate revisions by the same user 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}}} }} }}
Line 14: Line 14:
   
 
<!-- world & universe -->
 
<!-- world & universe -->
{{#if:{{{earth|}}} |{{row/kv| World | [[Earth ({{{earth}}})]] }} {{info/earth}} }}
+
{{#if:{{{earth|}}} |{{row/kv| World of Origin | [[Earth ({{{earth}}})]] }} {{info/earth}} }}
{{#if:{{{world|}}} |{{row/kv| World | [[{{{world}}}]] }} {{info/world}} }}
+
{{#if:{{{world|}}} |{{row/kv| World of Origin | {{toponym link|{{{world}}}}} }} {{info/world}} }}
{{#if:{{{'world|}}} |{{row/kv| World | {{{'world}}} }} {{raw/world}} }}
+
{{#if:{{{'world|}}} |{{row/kv| World of Origin | {{{'world}}} }} {{raw/world}} }}
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}} }} {{info/universe}} }}
+
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}} }} {{info/universe}} }}
  +
 
{{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
+
{{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!--
 
---->|<!-- there is a location row present
 
---->|<!-- there is a location row present
---->|{{infobox/no-world}}<!-- tag with missing world-location
+
---->|{{#if:{{{universe|}}}|{{missing/world}}<!--tag with missing world-->|{{missing/world/and universe}}}}<!--tag with missing world and universe
 
-->}}
 
-->}}
 
<!-- featured in -->{{row/kv| Featured In | ''{{{books}}}'' }}<!-- -->
 
   
 
<!--
 
<!--
   
 
CATS:
 
CATS:
-->|default-cats=[[category: Objects and Materials]]<!--
+
-->{{cat ns|Objects and Materials|only=0}}<!--
-->|{{#if:{{{cats|}}}|<!-- -->|-}}replacement-cats={{{cats}}}<!--
 
   
 
END:
 
END:
Line 49: Line 46:
 
|world=
 
|world=
 
|universe=
 
|universe=
|books=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 122: Line 118:
 
<!-- ------------- -->
 
<!-- ------------- -->
 
{{docs/universe}}
 
{{docs/universe}}
 
<!-- ---------- -->
 
<!-- ROW: books -->
 
<!-- ---------- -->
 
{{docs/books}}
 
   
 
|}
 
|}

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