Difference between revisions of "ItemboxTest"
From Unofficial Stationeers Wiki
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|}}} |
− | + | | Properties <!-- | |
− | + | -->{{ Infobox | |
− | + | | decat = yes | |
− | + | | child = yes | |
− | + | | label1 = Stacks | |
− | + | | data1 = {{#if: {{{stacks|}}} | |
− | + | | {{#iferror: {{#expr: {{{stacks|}}}+1 }} | |
− | + | | {{{stacks|}}} | |
− | + | | {{#ifexpr: {{{stacks|}}} = 1 | |
− | + | | No | |
− | + | | Yes ({{{stacks|}}}) | |
− | + | }} | |
− | + | }} | |
− | + | | label2 = Paintable | |
− | + | | 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 | + | | header20 = {{ #if: {{{createdwith|}}} {{{cost|}}} |
− | + | | Recipe <!-- | |
− | + | -->{{Infobox | |
− | + | | decat = yes | |
− | + | | child = yes | |
− | + | | label1 = Created With | |
− | + | | data1 = {{{createdwith|}}} | |
− | + | | label2 = Cost | |
− | | header21 = {{ #if: {{{recipe_machine1|}}} | Recipes | + | | data2 = {{{cost|}}} |
− | + | }} [[Category:Itembox with old style recipe]] | |
− | + | }} | |
− | + | | header21 = {{ #if: {{{recipe_machine1|}}} {{{recipe_machine2|}}} {{{recipe_machine3|}}} | |
− | + | | Recipes <!-- | |
− | + | -->{{Infobox | |
− | + | | decat = yes | |
− | + | | child = yes | |
− | + | | label1 = [[{{{recipe_machine1|}}}]] | |
− | }} | + | | data1 = {{{recipe_cost1|}}} |
− | | header22 = {{ #if: {{{logic|}}}{{{prefabhash|}}}{{{prefabname|}}}{{{slot_class|}}}{{{sorting_class|}}}{{{hashid|}}} | Logic | + | | label4 = [[{{{recipe_machine2|}}}]] |
− | + | | data4 = {{{recipe_cost2|}}} | |
− | + | | label6 = [[{{{recipe_machine3|}}}]] | |
− | + | | data6 = {{{recipe_cost3|}}} | |
− | + | }} | |
− | + | }} | |
− | + | | header22 = {{ #if: {{{logic|}}} {{{prefabhash|}}} {{{prefabname|}}} {{{slot_class|}}} {{{sorting_class|}}} {{{hashid|}}} | |
− | + | | Logic <!-- | |
− | + | -->{{Infobox | decat = yes | child = yes | |
− | + | | label1 = Prefab Hash | |
− | + | | data1 = {{#if: {{{prefabhash|}}} | |
− | }} | + | | <span style="font-family: monospace;">{{{prefabhash}}}</span> |
− | | header23 = {{ #if: {{{nutrition|}}}{{{quality|}}}{{{growthtime|}}}{{{moodbonus|}}} | Food | + | | {{#if: {{{hashid|}}} |
− | + | | <span style="font-family: monospace;">{{{hashid}}}</span> | |
− | + | | [[Category:Infobox without prefab data]] | |
− | + | }} | |
− | + | }} | |
− | + | | label2 = Prefab Name | |
− | + | | data2 = {{#if: {{{prefabname|}}} | |
− | + | | <span style="font-family: monospace;">{{{prefabname}}}</span> | |
− | + | | [[Category:Infobox without prefab data]] | |
− | + | }} | |
− | + | | label3 = Logic Classes | |
− | }} | + | | data3 = {{#if: {{{slot_class|}}} |
− | }} | + | | <div style="font-family: monospace;">{{{slot_class|}}}</div> |
− | [[Category:Items]] | + | }}<!-- |
− | + | -->{{#if: {{{sorting_class|}}} | |
− | + | | <div style="font-family: monospace;">{{{sorting_class|}}}</div> | |
− | + | }} | |
− | + | | label4 = Logic Parameters | |
− | + | | data4 = {{{logic|}}} | |
− | + | }} | |
− | <noinclude>{{Documentation}}</noinclude> | + | }} |
+ | | 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> |