Actions

Template

Editing ItemboxTest

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{Infobox
+
{{ Infobox
 
| name = Itembox
 
| name = Itembox
 
| title = {{{name|}}}
 
| title = {{{name|}}}
 
| image =  {{{image|}}}
 
| image =  {{{image|}}}
| header19 = {{ #if: {{{stacks|}}}{{{autoignition|}}}{{{flashpoint|}}}{{{paintable|}}} | Properties <!--
+
| header19 = {{ #if: {{{stacks|}}} {{{autoignition|}}} {{{flashpoint|}}} {{{paintable|}}}
-->{{Infobox | decat = yes | child = yes
+
            | Properties <!--
    | label1 = Stacks
+
            -->{{ Infobox
    | data1 = {{#if: {{{stacks|}}} |
+
              | decat = yes
      {{#iferror:
+
              | child = yes
        {{#expr: {{{stacks|}}}+1 }}
+
              | label1 = Stacks
        | {{{stacks|}}} |
+
              | data1 = {{#if: {{{stacks|}}}
        {{#ifexpr: {{{stacks|}}} = 1 | No | Yes ({{{stacks|}}}) }}
+
                        | {{#iferror: {{#expr: {{{stacks|}}}+1 }}
      }}
+
                        | {{{stacks|}}}
    }}
+
                        | {{#ifexpr: {{{stacks|}}} = 1
    | label2 = Paintable
+
                          | No
    | data2 = {{{paintable|}}}
+
                          | Yes ({{{stacks|}}})
    | label3 = Autoignition
+
                          }}
    | data3 = {{{autoignition|}}}
+
                        }}
    | label4 = Flashpoint
+
              | label2 = Paintable
    | data4 = {{{flashpoint|}}}
+
              | data2 = {{{paintable|}}}
  }}
+
              | label3 = Autoignition
}}
+
              | data3 = {{{autoignition|}}}
 +
              | label4 = Flashpoint
 +
              | data4 = {{{flashpoint|}}}
 +
              }}
 +
            }}
 
| label6 = Constructing Options
 
| label6 = Constructing Options
| data6 = {{{constructs|}}}
+
| data6 = {{#if: {{{constructs|}}} | {{{constructs|}}}[[Category:Kits]] }}
 
| label7 = Used With
 
| label7 = Used With
 
| data7 = {{{usedwith|}}}
 
| data7 = {{{usedwith|}}}
Line 40: Line 44:
 
| label14 = Volume
 
| label14 = Volume
 
| data14 = {{{volume|}}}
 
| data14 = {{{volume|}}}
| header20 = {{ #if: {{{createdwith|}}} | Recipe <!-- Old recipe style
+
| header20 = {{ #if: {{{createdwith|}}} {{{cost|}}}
-->{{Infobox | decat = yes | child = yes
+
            | Recipe <!--
    | label1 = Created With
+
            -->{{Infobox
    | data1 = {{{createdwith|}}}
+
              | decat = yes
    | label2 = Cost
+
              | child = yes
    | data2 = {{{cost|}}}
+
              | label1 = Created With
    }}
+
              | data1 = {{{createdwith|}}}
  }}
+
              | label2 = Cost
| header21 = {{ #if: {{{recipe_machine1|}}} | Recipes <!-- New recipe style
+
              | data2 = {{{cost|}}}
-->{{Infobox | decat = yes | child = yes
+
              }} [[Category:Itembox with old style recipe]]
    | label1 = [[{{{recipe_machine1|}}}]]
+
            }}
    | data1 = {{{recipe_cost1|}}}
+
| header21 = {{ #if: {{{recipe_machine1|}}} {{{recipe_machine2|}}} {{{recipe_machine3|}}}
    | label4 = [[{{{recipe_machine2|}}}]]
+
            | Recipes <!--
    | data4 = {{{recipe_cost2|}}}
+
            -->{{Infobox
    | label6 = [[{{{recipe_machine3|}}}]]
+
              | decat = yes
    | data6 = {{{recipe_cost3|}}}
+
              | child = yes
  }}
+
              | label1 = [[{{{recipe_machine1|}}}]]
}}
+
              | data1 = {{{recipe_cost1|}}}
| header22 = {{ #if: {{{logic|}}}{{{prefabhash|}}}{{{prefabname|}}}{{{slot_class|}}}{{{sorting_class|}}}{{{hashid|}}} | Logic <!--
+
              | label4 = [[{{{recipe_machine2|}}}]]
-->{{Infobox | decat = yes | child = yes
+
              | data4 = {{{recipe_cost2|}}}
    | label1 = Prefab Hash
+
              | label6 = [[{{{recipe_machine3|}}}]]
    | data1 = {{#if: {{{prefabhash|}}} | <span style="font-family: monospace;">{{{prefabhash|}}}</span> | {{#if: {{{hashid|}}}| <span style="font-family: monospace;">{{{hashid|}}}</span> }} }}
+
              | data6 = {{{recipe_cost3|}}}
    | label2 = Prefab Name
+
              }}
    | data2 = {{#if: {{{prefabname|}}} | <span style="font-family: monospace;">{{{prefabname|}}}</span>}}
+
            }}
    | label3 = Logic Classes
+
| header22 = {{ #if: {{{logic|}}} {{{prefabhash|}}} {{{prefabname|}}} {{{slot_class|}}} {{{sorting_class|}}} {{{hashid|}}}  
    | data3 = {{#if: {{{slot_class|}}}| <div style="font-family: monospace;">{{{slot_class|}}}</div> }}{{#if: {{{sorting_class|}}}|<div style="font-family: monospace;">{{{sorting_class|}}}</div> }}
+
            | Logic <!--
    | label4 = Logic Parameters
+
            -->{{Infobox | decat = yes | child = yes
    | data4 = {{{logic|}}}
+
              | label1 = Prefab Hash
  }}
+
              | data1 = {{#if: {{{prefabhash|}}}
}}
+
                        | <span style="font-family: monospace;">{{{prefabhash}}}</span>
| header23 = {{ #if: {{{nutrition|}}}{{{quality|}}}{{{growthtime|}}}{{{moodbonus|}}} | Food <!--
+
                        | {{#if: {{{hashid|}}}
-->{{Infobox | decat = yes | child = yes
+
                          | <span style="font-family: monospace;">{{{hashid}}}</span>
    | label1 = Food Nutrition
+
                          | [[Category:Infobox without prefab data]]
    | data1 = {{{nutrition|}}}
+
                          }}
    | label2 = Food Quality
+
                        }}
    | data2 = {{{quality|}}}
+
              | label2 = Prefab Name
    | label3 = Growth Time
+
              | data2 = {{#if: {{{prefabname|}}}
    | data3 = {{{growthtime|}}}
+
                        | <span style="font-family: monospace;">{{{prefabname}}}</span>
    | label4 = Mood Bonus
+
                        | [[Category:Infobox without prefab data]]
    | data4 = {{{moodbonus|}}}
+
                        }}
  }}[[Category:Food]]
+
              | label3 = Logic Classes
}}
+
              | data3 = {{#if: {{{slot_class|}}}
}}[[Category:Items]] {{ #if: {{{constructs|}}} | [[Category:Kits]] }} {{ #if: {{{createdwith|}}}{{{cost|}}} | [[Category:Itembox with old style recipe]] }} {{ #if: {{{prefabhash|}}}{{{hashid|}}} | | [[Category:Infobox without prefab data]] }} {{ #if: {{{prefabname|}}} | | [[Category:Infobox without prefab data]] }} </includeonly>
+
                        | <div style="font-family: monospace;">{{{slot_class|}}}</div>
<noinclude>{{Documentation}}</noinclude>
+
                        }}<!--
 +
                      -->{{#if: {{{sorting_class|}}}
 +
                        | <div style="font-family: monospace;">{{{sorting_class|}}}</div>
 +
                        }}
 +
              | label4 = Logic Parameters
 +
              | data4 = {{{logic|}}}
 +
              }}
 +
            }}
 +
| header23 = {{ #if: {{{nutrition|}}}{{{quality|}}}{{{growthtime|}}}{{{moodbonus|}}}  
 +
            | Food [[Category:Food]] <!--
 +
            -->{{ Infobox
 +
              | decat = yes
 +
              | child = yes
 +
              | label1 = Food Nutrition
 +
              | data1 = {{{nutrition|}}}
 +
              | label2 = Food Quality
 +
              | data2 = {{{quality|}}}
 +
              | label3 = Growth Time
 +
              | data3 = {{{growthtime|}}}
 +
              | label4 = Mood Bonus
 +
              | data4 = {{{moodbonus|}}}
 +
              }}
 +
            }}
 +
}}[[Category:Items]]<noinclude>{{Documentation}}</noinclude>

Please note that all contributions to Unofficial Stationeers Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Unofficial Stationeers Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

This page is a member of 1 hidden category: