Template:Item: Difference between revisions

From Tears of Themis Wiki
imported>Elaeagnifolia
mNo edit summary
imported>Elaeagnifolia
(Undo revision 13093 by 41.169.119.152 (talk))
 
(7 intermediate revisions by 2 users not shown)
Line 5: Line 5:
-->{{#cargo_declare:_table=Item
-->{{#cargo_declare:_table=Item
|icon=String
|icon=String
|itemType=String
|name=String
|name=String
|description=String
|description=Wikitext
|usageDescription=String
|usageDescription=Wikitext
|obtain=List (,) of Wikitext
|obtain=List (,) of Wikitext
}}</noinclude><includeonly><!--
}}</noinclude><includeonly><!--
Line 15: Line 16:
-->{{#cargo_store:_table=Item
-->{{#cargo_store:_table=Item
|icon={{{icon|}}}
|icon={{{icon|}}}
|itemType={{{type|}}}
|name={{{name|}}}
|name={{{name|}}}
|description={{{description|}}}
|description={{{description|}}}
Line 24: Line 26:


--><nowiki/>
--><nowiki/>
==[[File:{{{icon|}}}|44px|link=]] {{{name|}}}==
==[[File:{{{icon|}}}|60px|link=]] {{{name|}}}==
''{{{description|}}}''
{{#if:{{{description|}}} | <nowiki/>
 
:''{{{description|}}}''
}}
===Usage===
===Usage===
{{{usage|}}}
{{{usage|}}}

Latest revision as of 17:46, 24 February 2022

Template-info.png Documentation

Description[edit source]

Used to fill in and display information about items.

Usage[edit source]

{{Item
|type=
|icon=
|name=
|description=
|usage=
|obtain=
}}

Parameters[edit source]

  • type - When looking at an item in-game from the Inventory, some items have a small descriptor at the top right corner. For example, Intuition Chip III has a Lv. 3, some Event Items have "Event Item" in the corner, etc.
    • Consumeables do not have this descriptor in the top-right corner, so their type should be filled in as "Consumeables".
    • This is mainly used for proper sorting/tiering of items on the Items page.
  • icon - File name for the item icon (e.g. Logic Chip I icon.png)
  • name - Full name of the item (e.g. Logic Chip I)
  • description - The exact in-game description of the item.
  • usage - The in-game usage description of the item. If the in-game usage details are not descriptive, then this may be modified to be more precise.
    • For example, Greeting Card's in-game description is "Improves mood"; however, this is not descriptive of its actual function of giving 10,000 Stellin.
    • obtain - Where to obtain the item.
This template defines the table "Item". View table.