Actions

Template

Difference between revisions of "Infobox Kit"

From Unofficial Stationeers Wiki

(small test)
m (Deleted Fluff-text)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Here will be a new template for every Kit
 
 
 
{{Infobox
 
{{Infobox
| name = Infobox_Kit
+
  | name = Infobox_Kit
| title = {{{name|}}}
+
  | title = {{{name|}}}
| image =  {{{image|}}}
+
  | image =  {{{image|}}}
| label1 = Stacks
+
  | header1 = Fabrication
| data1 = {{{stacks}}}
+
  {{Infobox | child = yes
 +
    | label10 = Created with
 +
    |  data10 = {{{fabricators|}}}
 +
    | label11 = Cost
 +
    |  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>

Latest revision as of 17:20, 28 December 2023

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[edit]

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[edit]

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 = 
  }}
}}