Actions

Template

Difference between revisions of "Infobox Kit"

From Unofficial Stationeers Wiki

m (another test)
m (And another test)
Line 11: Line 11:
 
     | label11 = Cost
 
     | label11 = Cost
 
     |  data11 = {{{ressources|}}}
 
     |  data11 = {{{ressources|}}}
  }}
+
  }}
 +
  | header2 = Temperature
 +
  {{Infobox | child = yes
 +
    | label20 = Flashpoint
 +
    |  data20 = {{{flashpoint|}}}
 +
    | label21 = Autoignition
 +
    |  data21 = {{{autoignition|}}}
 +
  }}
 +
  | header3 = Other properties
 +
  {{Infobox | child = yes
 +
    | label30 = Paintable
 +
    |  data30 = {{{paintable|}}}
 +
    | label31 = Stack Size
 +
    |  data31 = {{{stacksize|}}}
 +
  }}
 +
  | header4 = Prefabs
 +
  {{Infobox | decat = yes | child = yes
 +
    | label40 = Prefab Hash
 +
    |  data40 = {{{prefabhash|}}}
 +
    | label41 = Prefab Name
 +
    |  data41 = {{{prefabname|}}}
 +
  }}
 
}}
 
}}
 +
}}
 +
<includeonly>[[Category:Item]][[Category:Kit]]</includeonly>
 +
<noinclude>{{Documentation}}</noinclude>

Revision as of 15:33, 28 December 2023

Here will be a new template for every Kit

Fabrication
Temperature
Other properties
Prefabs

}}

Template documentation[view] [edit] [history] [purge]
Name of the kit
Image of the kit
Fabrication
Created with List of fabricators for kit
Cost Cost of recipes for fabricators
Temperature
Flashpoint Flashpoint of the kit
Autoignition Autoignition of the kit
Other properties
Paintable If the kit is paintable
Stack Size Stacksize of the kit
Prefabs
Prefab Hash Prefab Hash of the kit
Prefab Name Prefab Name of the kit

Example

The following code produces the box presented on the right. All possible arguments are utilized in this example.

{{Infobox
  | name = Infobox_Kit
  | title = Name of the kit
  | image =  Image of the kit
  | header1 = Fabrication
  {{Infobox | child = yes
    | label10 = Created with
    |  data10 = List of fabricators for kit
    | label11 = Cost
    |  data11 = Cost of recipes for fabricators
  }}
  | header2 = Temperature
  {{Infobox | child = yes
    | label20 = Flashpoint
    |  data20 = Flashpoint of the kit
    | label21 = Autoignition
    |  data21 = Autoignition of the kit
  }}
  | header3 = Other properties
  {{Infobox | child = yes
    | label30 = Paintable
    |  data30 = If the kit is paintable
    | label31 = Stack Size
    |  data31 = Stacksize of the kit
  }}
  | header4 = Prefabs
  {{Infobox | decat = yes | child = yes
    | label40 = Prefab Hash
    |  data40 = Prefab Hash of the kit
    | label41 = Prefab Name
    |  data41 = Prefab Name of the kit
  }}
}}


Template

Here's a blank example you can copy to fill in the data.

{{Infobox
  | name = Infobox_Kit
  | title = 
  | image =  
  | header1 = Fabrication
  {{Infobox | child = yes
    | label10 = Created with
    |  data10 = 
    | label11 = Cost
    |  data11 = 
  }}
  | header2 = Temperature
  {{Infobox | child = yes
    | label20 = Flashpoint
    |  data20 = 
    | label21 = Autoignition
    |  data21 = 
  }}
  | header3 = Other properties
  {{Infobox | child = yes
    | label30 = Paintable
    |  data30 = 
    | label31 = Stack Size
    |  data31 = 
  }}
  | header4 = Prefabs
  {{Infobox | decat = yes | child = yes
    | label40 = Prefab Hash
    |  data40 = 
    | label41 = Prefab Name
    |  data41 = 
  }}
}}