Template:Itembox and Template:Itembox/sandbox: Difference between pages
More actions
(Difference between pages)
m Suppress line breaks on inclusion |
Emilgardis (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{Infobox | |||
| name = Itembox | | name = Itembox | ||
| title = {{{name|}}} | | title = {{{name|}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| | | label2 = Stacks | ||
| data2 = {{#if: {{{stacks|}}} | | |||
{{#iferror: | |||
{{#expr: {{{stacks|}}}+1 }} | |||
| {{{stacks|}}} | | |||
{{#ifexpr: {{{stacks|}}} = 1 | No | Yes ({{{stacks|}}}) }} | |||
}}}} | |||
| label4 = Paintable | |||
| data4 = {{{paintable|}}} | |||
| label6 = Constructing Options | |||
| data6 = {{{constructs|}}} | |||
| header60 = {{ #if: {{{createdwith|}}} | Recipe}} | |||
| label62 = Created With | |||
| data62 = {{{createdwith|}}} | |||
| label64 = Cost | |||
| data64 = {{{cost|}}} | |||
<!-- New recipe style --> | |||
}} | | header65 = {{ #if: {{{recipe_machine1|}}} | Recipes}} | ||
| | | label67 = [[{{{recipe_machine1|}}}]] | ||
| | | data67 = {{{recipe_cost1|}}} | ||
| | | label70 = [[{{{recipe_machine2|}}}]] | ||
| | | data70 = {{{recipe_cost2|}}} | ||
| label72 = [[{{{recipe_machine3|}}}]] | |||
| | | data72 = {{{recipe_cost3|}}} | ||
| | |||
| label30 = Used With | |||
| | | data30 = {{{usedwith|}}} | ||
| label32 = Max Input Power | |||
| | | data32 = {{{maxinpower|}}} | ||
| label34 = Max Output Power | |||
| | | data34 = {{{maxoutpower|}}} | ||
| label36 = Max Pressure | |||
| | | data36 = {{{maxpressure|}}} | ||
| label37 = Pressure Range | |||
| | | data37 = {{{pressurerange|}}} | ||
| label38 = Max Temperature | |||
| | | data38 = {{{maxtemp|}}} | ||
| label39 = Temperature Range | |||
| data39 = {{{temprange|}}} | |||
| label47 = Logic Parameters | |||
| data47 = {{{logic|}}} | |||
| label42 = Volume | |||
| data42 = {{{volume|}}} | |||
| label44 = Prefab Hash | |||
| | | data44 = {{#if: {{{prefabhash|}}} | <span style="font-family: monospace;">{{{prefabhash|}}}</span> | {{#if: {{{hashid|}}}| <span style="font-family: monospace;">{{{hashid|}}}</span> }}}} | ||
| label45 = Prefab Name | |||
| data45 = {{#if: {{{prefabname|}}} | <span style="font-family: monospace;">{{{prefabname|}}}</span>}} | |||
| label46 = Logic Classes | |||
| data46 = {{#if: {{{slot_class|}}}| <div style="font-family: monospace;">{{{slot_class|}}}</div> }}{{#if: {{{sorting_class|}}}|<div style="font-family: monospace;">{{{sorting_class|}}}</div> }} | |||
| header50 = {{ #if: {{{nutrition|}}}{{{quality|}}}{{{growthtime|}}}{{{moodbonus|}}} | Food }} | |||
| label51 = Food Nutrition | |||
| data51 = {{{nutrition|}}} | |||
| label52 = Food Quality | |||
| data52 = {{{quality|}}} | |||
| | | label53 = Growth Time | ||
| data53 = {{{growthtime|}}} | |||
| label54 = Mood Bonus | |||
| data54 = {{{moodbonus|}}} | |||
}}<includeonly>[[Category:Items]]{{ #if: {{{nutrition|}}}{{{quality|}}}{{{moodbonus|}}} | [[Category:Food]] }}</includeonly> | |||
| | |||
}} | |||
}} [[Category:Items]] {{ #if: {{{nutrition|}}}{{{quality|}}}{{{moodbonus|}}} | [[Category:Food]] | |||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||