Difference between revisions of "Template:Itembox"

From Space Engineers Wiki
Jump to: navigation, search
m
(little guide)
Line 1: Line 1:
<div style="width:370px;float:right">{{#ifeq: {{lc:{{{largeship|yes}}} }}|yes|
+
test <div style="width:370px;float:right">{{#ifeq: {{lc:{{{largeship|yes}}} }}|yes|
 
{{componentbox|l|{{{item|No Image}}}|{{{lcomponent1|}}}|{{{lcomponent1amt|}}}|{{{lcomponent2|}}}|{{{lcomponent2amt|}}}|{{{lcomponent3|}}}|{{{lcomponent3amt|}}}|{{{lcomponent4|}}}|{{{lcomponent4amt|}}}|{{{lcomponent5|}}}|{{{lcomponent5amt|}}}|{{{lcomponent6|}}}|{{{lcomponent6amt|}}}|{{{lcomponent7|}}}|{{{lcomponent7amt|}}}|{{{lcomponent8|}}}|{{{lcomponent8amt|}}}|{{{lcomponent9|}}}|{{{lcomponent9amt|}}}| structure = {{{lcomponentstructure}}} }}  
 
{{componentbox|l|{{{item|No Image}}}|{{{lcomponent1|}}}|{{{lcomponent1amt|}}}|{{{lcomponent2|}}}|{{{lcomponent2amt|}}}|{{{lcomponent3|}}}|{{{lcomponent3amt|}}}|{{{lcomponent4|}}}|{{{lcomponent4amt|}}}|{{{lcomponent5|}}}|{{{lcomponent5amt|}}}|{{{lcomponent6|}}}|{{{lcomponent6amt|}}}|{{{lcomponent7|}}}|{{{lcomponent7amt|}}}|{{{lcomponent8|}}}|{{{lcomponent8amt|}}}|{{{lcomponent9|}}}|{{{lcomponent9amt|}}}| structure = {{{lcomponentstructure}}} }}  
 
|}}{{#ifeq: {{lc:{{{smallship|yes}}} }}|yes|
 
|}}{{#ifeq: {{lc:{{{smallship|yes}}} }}|yes|
Line 9: Line 9:
 
|}}{{#ifeq: {{lc:{{{rawmaterial|yes}}} }}|yes|
 
|}}{{#ifeq: {{lc:{{{rawmaterial|yes}}} }}|yes|
 
{{componentbox|r|{{{item|No Image}}} }}
 
{{componentbox|r|{{{item|No Image}}} }}
|}}</div><noinclude>[[Category:Templates]]</noinclude>
+
|}}</div><noinclude>
 +
==Usage==
 +
<pre>
 +
{{itembox
 +
| item = Item name, use caps on each part, English only
 +
| lang = language code (not implemented yet)
 +
| translation = translated item name (not implemented yet)
 +
| tool = yes/no (engineer tool?)
 +
| largeship = yes/no (large ship part?)
 +
| smallship = yes/no (small ship part?)
 +
| component = yes/no (is this a component made by the assembler?)
 +
| rawmaterial = yes/no (is this a raw material?)
 +
| ccomponent1 = First build component for component/tool
 +
| ccomponent1amt = amount
 +
| ccomponent2 ... 9 = Second through ninth build components
 +
| ccomponent2 ... 9amt = amount
 +
| scomponentstructure = 1
 +
| scomponent1 = Steel Plate
 +
| scomponent1amt = 1 First build component for small ships
 +
| scomponent2 ... 9 = Second through ninth build components
 +
| scomponent2 ... amt = amount
 +
| lcomponentstructure = number where structure begins (red line in user interface in game while building)
 +
| lcomponent1 = First build component for large ships
 +
| lcomponent1amt = amount
 +
| lcomponent2 ... 9 = Second through ninth build components
 +
| lcomponent2 ... 9amt = amount
 +
}}
 +
</pre>[[Category:Templates]]</noinclude>

Revision as of 21:14, 14 March 2014

test
No Image Icon.png
Large Ship Icon.png
Large Ship / Station
No Item
 
Components
Required

 

 
 
Mass (kg):
0
No Image Icon.png
Large Ship Icon.png
Large Ship / Station
No Item
 
Components
Required

 

 
 
Mass (kg):
0
No Image Icon.png
Large Ship Icon.png
Large Ship / Station
No Item
 
Components
Required

 

 
 
Mass (kg):
0
No Image Icon.png
Large Ship Icon.png
Large Ship / Station
No Item
 
Components
Required

 

 
 
Mass (kg):
0
No Image Icon.png
Large Ship Icon.png
Large Ship / Station
No Item
 
Components
Required

 

 
 
Mass (kg):
0

Usage

{{itembox
| item = Item name, use caps on each part, English only
| lang = language code (not implemented yet)
| translation = translated item name (not implemented yet)
| tool = yes/no (engineer tool?)
| largeship = yes/no (large ship part?)
| smallship = yes/no (small ship part?)
| component = yes/no (is this a component made by the assembler?)
| rawmaterial = yes/no (is this a raw material?)
| ccomponent1 = First build component for component/tool
| ccomponent1amt = amount
| ccomponent2 ... 9 = Second through ninth build components
| ccomponent2 ... 9amt = amount
| scomponentstructure = 1
| scomponent1 = Steel Plate
| scomponent1amt = 1 First build component for small ships
| scomponent2 ... 9 = Second through ninth build components
| scomponent2 ... amt = amount
| lcomponentstructure = number where structure begins (red line in user interface in game while building)
| lcomponent1 = First build component for large ships
| lcomponent1amt = amount
| lcomponent2 ... 9 = Second through ninth build components
| lcomponent2 ... 9amt = amount
}}