Difference between revisions of "Template:Item"

From The Twilight Forest Wiki
Jump to navigation Jump to search
m (compliant Template)
(Making this more user friendly...)
Line 1: Line 1:
{| class="wikitable" style="float:right; margin-left: 100px;"
<includeonly>{| class="wikitable" style="{{{style|float:right;}}} margin-left: 100px;"
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}


|-
|-
|colspan="2" style="background-color: #222"|{{{image|}}}
|colspan="2" style="background-color: #222"|[[File:{{{image|!.png}}}|center|256px|link=|{{{image|}}}]]


|-
|-
Line 24: Line 24:
!ID
!ID
|{{{id|}}}
|{{{id|}}}
|}<noinclude>
|}</includeonly><noinclude>


Usage:
Usage:
<pre>
<pre>
{{Item
{{Item
|style= (used to orientate the table's styling, use only if you're a pro)
|name= (optional, defaults to the article's title)
|name= (optional, defaults to the article's title)
|image= (filelink)
|image= (file.filetype)
|type= (item type)
|type= (item type)
|durability= (durability, defaults to N/A if none)
|durability= (durability, defaults to N/A if none)
Line 38: Line 39:
}}
}}
</pre>
</pre>
{{Item
|style=
}}
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 07:45, 12 January 2024


Usage:

{{Item
|style= (used to orientate the table's styling, use only if you're a pro)
|name= (optional, defaults to the article's title)
|image= (file.filetype)
|type= (item type)
|durability= (durability, defaults to N/A if none)
|renewable= (yes/no)
|stackable= (yes/no)
|id= (in-game id)
}}
Item
!.png
Type
Durability N/A
Renewable
Stackable
ID