Actions

Special

Difference between pages "Template:Itembox" and "Template:Itembox/sandbox"

(Difference between pages)
Page 1
Page 2
 
 
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| name = Itembox
+
  | title = {{{name}}}
  | title = {{{name|}}}
 
 
  | image =  {{{image|}}}
 
  | image =  {{{image|}}}
  | label2 = Stacks
+
  | label1 = Stacks
  | data2 = {{#if: {{{stacks|}}} |
+
  | data1 = {{{stacks|No}}}
{{#iferror:
+
  | label2 = Constructing Options
  {{#expr: {{{stacks|}}}+1 }}
+
  | data2 = {{{constructs|}}}
  | {{{stacks|}}} |
+
  | header3 = {{ #if: {{{createdwith|}}} | Recipe}}
  {{#ifexpr: {{{stacks|}}} = 1 | No | Yes ({{{stacks|}}}) }}
+
  | label4 = Created With
}}}}
+
  | data4 = {{{createdwith|}}}
  | label4 = Paintable
+
  | label5 = Cost
| data4 = {{{paintable|}}}
+
  | data5 = {{{cost|}}}
| label6 = Constructing Options
 
  | data6 = {{{constructs|}}}
 
  | header60 = {{ #if: {{{createdwith|}}} | Recipe}}
 
  | label62 = Created With
 
  | data62 = {{{createdwith|}}}
 
  | label64 = Cost
 
  | data64 = {{{cost|}}}
 
 
<!-- New recipe style -->
 
<!-- New recipe style -->
  | header65 = {{ #if: {{{recipe_machine1|}}} | Recipes}}
+
  | header6 = {{ #if: {{{recipe_machine1|}}} | Recipes}}
  | label67 = [[{{{recipe_machine1|}}}]]
+
  | label7 = [[{{{recipe_machine1|}}}]]
  | data67 = {{{recipe_cost1|}}}
+
  | data7 = {{{recipe_cost1|}}}
  | label70 = [[{{{recipe_machine2|}}}]]
+
  | label8 = [[{{{recipe_machine2|}}}]]
  | data70 = {{{recipe_cost2|}}}
+
  | data8 = {{{recipe_cost2|}}}
  | label72 = [[{{{recipe_machine3|}}}]]
+
  | label9 = [[{{{recipe_machine3|}}}]]
  | data72 = {{{recipe_cost3|}}}
+
  | data9 = {{{recipe_cost3|}}}
  
  | label30 = Used With
+
  | label10 = Used With
  | data30 = {{{usedwith|}}}
+
  | data10 = {{{usedwith|}}}
  | label32 = Max Input Power
+
  | label12 = Max Input Power
  | data32 = {{{maxinpower|}}}
+
  | data12 = {{{maxinpower|}}}
  | label34 = Max Output Power
+
  | label14 = Max Output Power
  | data34 = {{{maxoutpower|}}}
+
  | data14 = {{{maxoutpower|}}}
  | label36 = Max Pressure
+
  | label16 = Max Pressure
  | data36 = {{{maxpressure|}}}
+
  | data16 = {{{maxpressure|}}}
  | label37 = Pressure Range
+
  | label18 = Max Temperature
| data37 = {{{pressurerange|}}}
+
  | data18 = {{{maxtemp|}}}
| label38 = Max Temperature
+
  | label20 = Logic Parameters
  | data38 = {{{maxtemp|}}}
+
  | data20 = {{{logic|}}}
  | label39 = Temperature Range
+
  | label22 = Volume
| data39 = {{{temprange|}}}
+
  | data22 = {{{volume|}}}
| label47 = Logic Parameters
+
}}
  | data47 = {{{logic|}}}
+
<noinclude>
  | label42 = Volume
+
{{/Doc}}
  | data42 = {{{volume|}}}
+
</noinclude>
| label44 = Prefab Hash
+
<includeonly>
| data44 = {{#if: {{{prefabhash|}}} | <span style="font-family: monospace;">{{{prefabhash|}}}</span> | {{#if: {{{hashid|}}}| <span style="font-family: monospace;">{{{hashid|}}}</span> }}}}
+
[[Category:Items]]
| label45 = Prefab Name
+
</includeonly>
| data45 = {{#if: {{{prefabname|}}} | <span style="font-family: monospace;">{{{prefabname|}}}</span>}}
+
<templatedata>
| label46 = Logic Classes
+
{
| data46 = {{#if: {{{slot_class|}}}| <div style="font-family: monospace;">{{{slot_class|}}}</div> }}{{#if: {{{sorting_class|}}}|<div style="font-family: monospace;">{{{sorting_class|}}}</div> }}
+
"params": {
}}<includeonly>[[Category:Items]]</includeonly>
+
"name": {},
<noinclude>{{Documentation}}</noinclude>
+
"image": {},
 +
"stacks": {},
 +
"constructs": {},
 +
"createdwith": {},
 +
"cost": {},
 +
"recipe_machine1": {},
 +
"recipe_cost1": {},
 +
"recipe_machine2": {},
 +
"recipe_cost2": {},
 +
"recipe_machine3": {},
 +
"recipe_cost3": {},
 +
"usedwith": {},
 +
"maxinpower": {},
 +
"maxoutpower": {},
 +
"maxpressure": {},
 +
"maxtemp": {},
 +
"logic": {},
 +
"volume": {}
 +
},
 +
"description": "This template is designed to be used to describe an item or machine, using a box of info.",
 +
"format": "block"
 +
}
 +
</templatedata>