Difference between revisions of "Template:Item"

From ComputerCraft Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|image={{{image|}}}
 
|image={{{image|}}}
 
|rows=
 
|rows=
{{#if:{{{renewable}}} | {{Infobox row|Renewable|{{{renewable}}}}} }}
+
{{#if:{{{renewable<includeonly>|</includeonly>}}} | {{Infobox row|Renewable|{{{renewable}}}}} }}
{{#if:{{{stackable}}} | {{Infobox row|Stackable|{{{stackable}}}}} }}
+
{{#if:{{{stackable<includeonly>|</includeonly>}}} | {{Infobox row|Stackable|{{{stackable}}}}} }}
{{#if:{{{data}}} | {{Infobox row|Data value|{{{data}}}}} }}
+
{{#if:{{{data<includeonly>|</includeonly>}}} | {{Infobox row|Data value|{{{data}}}}} }}
{{#if:{{{damage}}} | {{Infobox row|Damage value|{{{damage}}}}} }}
+
{{#if:{{{damage<includeonly>|</includeonly>}}} | {{Infobox row|Damage value|{{{damage}}}}} }}
{{#if:{{{nameid}}} | {{Infobox row|Namespaced ID|{{{nameid}}}}} }}
+
{{#if:{{{nameid<includeonly>|</includeonly>}}} | {{Infobox row|Namespaced ID|{{{nameid}}}}} }}
}}
+
}}{{#if: {{NAMESPACE}}||[[Category:Items]]}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:12, 2 August 2020

Item
Iso Unknown.png
Renewable{{{renewable}}}
Stackable{{{stackable}}}
Data value{{{data}}}
Damage value{{{damage}}}
Namespaced ID{{{nameid}}}

[ view | edit | history ] Documentation

Parameter

  • {{{name}}} - Infobox name
  • {{{image}}} - Infobox image
  • {{{renewable}}} - if the image is craftable
  • {{{stackable}}} - if the item can stack
  • {{{data}}} - numeric ID of the item
  • {{{damage}}} - damage value of the item
  • {{{nameid}}} - namespace and item id of the item