Difference between revisions of "Template:Grid/Furnace"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (In the event of a page exploding, alert User:Chocohead!)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{| cellpadding="0" cellspacing="0" style="background: #C6C6C6; border: outset 2px #999; padding: 6px;"
{{#invoke:grid|furnace}}<noinclude>
|-
{{Grid/Furnace/doc}}
| style="padding-left: 18px" |<!--
--><div style="position: relative" {{#if:{{#pos:{{{Input|}}}|,}}|class="grid-input-slide"}}><!--
-->[[File:Grid layout None (small).png|link={{#if:{{{MInput|}}}|Mods/{{{Mod}}}/{{{MInput}}}|{{{Input|}}}}}]]<!--
-->{{#if:{{{MInput|}}}<!--
  -->|<span class="grid-input">[[File:Grid {{{MInput}}} ({{{Mod}}}).png{{!}}link=Mods/{{{Mod}}}/{{{MInput}}}]]</span><!--
  -->|{{#if: {{{Input|}}}<!--
    -->|{{#if:{{#pos:{{{Input}}}|,}}<!--
      -->|{{Grid/Crafting Square Slide|{{{Input}}}|input}}<!--
      -->|<span class="grid-input">[[File:Grid {{{Input}}}.png{{!}}link={{{Input}}}]]</span><!--
    -->}}<!--
  -->}}<!--
-->}}<!--
-->{{#if:{{{IA|}}}<!--
  -->|{{Grid/Crafting Square Slide|{{{IA}}}|input-numbers|{{{Input}}}}}<!--
-->}}</div>
| rowspan="3" align="center" valign="middle" style="padding: 0px 18px 0px 14px" | [[File:Grid layout Arrow (large).png|link=]]
| rowspan="3" align="center" valign="middle" style="padding-right: 18px" |<!--
--><div style="position: relative" {{#if:{{#pos:{{{Output|}}}|,}}|class="grid-output-slide"}}><!--
-->[[File:Grid layout None (large).png|link={{#if:{{{MOutput|}}}|Mods/{{{Mod}}}/{{{MOutput}}}|{{{Output|}}}}}]]<!--
-->{{#if:{{{MOutput|}}}<!--
  -->|<span class="grid-output">[[File:Grid {{{MOutput}}} ({{{Mod}}}).png{{!}}link=Mods/{{{Mod}}}/{{{MOutput}}}]]</span><!--
  -->|{{#if:{{{Output|}}}<!--
    -->|{{#if:{{#pos:{{{Output}}}|,}}<!--
      -->|{{Grid/Crafting Square Slide|{{{Output}}}|output}}<!--
      -->|<span class="grid-output">[[File:Grid {{{Output}}}.png{{!}}link={{{Output}}}]]</span><!--
    -->}}<!--
  -->}}<!--
-->}}<!--
-->{{#if:{{{OA|}}}<!--
  -->|{{Grid/Crafting Square Slide|{{{OA}}}|output-numbers|{{{Output}}}}}<!--
-->}}</div>
|-
| style="padding-left: 18px" | [[File:Grid layout Fire.png|link=]]
|-
| style="padding-left: 18px" |<!--
--><div style="position: relative" {{#if:{{#pos:{{{Fuel|}}}|,}}|class="grid-input-slide"}}><!--
-->[[File:Grid layout None (small).png|link={{#if:{{{MFuel|}}}|Mods/{{{Mod}}}/{{{MFuel}}}|{{{Fuel|}}}}}]]<!--
-->{{#if:{{{MFuel|}}}<!--
  -->|<span class="grid-input">[[File:Grid {{{MFuel}}} ({{{Mod}}}).png{{!}}link=Mods/{{{Mod}}}/{{{MFuel}}}]]</span><!--
  -->|{{#if: {{{Fuel|}}}<!--
    -->|{{#if:{{#pos:{{{Fuel}}}|,}}<!--
      -->|{{Grid/Crafting Square Slide|{{{Fuel}}}|input}}<!--
      -->|<span class="grid-input">[[File:Grid {{{Fuel}}}.png{{!}}link={{{Fuel}}}]]</span><!--
    -->}}<!--
  -->}}<!--
-->}}<!--
-->{{#if:{{{FA|}}}<!--
  -->|{{Grid/Crafting Square Slide|{{{FA}}}|input-numbers|{{{Fuel}}}}}<!--
-->}}</div>
|}</includeonly><noinclude>
{{/doc}}


[[Category:Image templates|F]]</noinclude>
[[Category:Image templates|F]]</noinclude>

Latest revision as of 01:26, 22 February 2015




Template-info.png Documentation

This template uses Lua. In the event of something breaking, script errors, etc, tell Chocohead immediately! It should all be stable however.


This template is used to create a grid that looks similar to the Furnace's GUI screen.

Usage[edit]

Static[edit]

{{Grid/Furnace
|Input=  Sand
|Output= Glass
|Fuel=   Coal
|Break=1
}}
{{Grid/Furnace
|Top=  Sand,17
|Output= Glass,2
|Bottom=   Coal,3
}}
produces
Grid Sand.png
Grid Coal.png
Grid Glass.png
Grid Sand.png

17

Grid Coal.png

3

Grid Glass.png

2


Input and Fuel can be interchanged with Top and Bottom. Additional output amounts can be specified by putting a comma then the amount. This number is currently limitless, but it will be limited to 64 as soon as Chocohead gets around to it. Break is used to not add a new line after the grid, so that they can pack in next to each other.

Animated[edit]

To make the grid animate, you make a list of blocks and objects you want to show, separated by commas.

{{Grid/Furnace
|Input=  Sand,17;Wood,10
|Output= Glass,2;Charcoal,10
|Fuel=   Coal
}}
produces
Grid Sand.png

17

Grid Wood.png

10

Grid Coal.png
Grid Glass.png

2

Grid Charcoal.png

10


See also[edit]

{{Grid/Crafting Table}}

The above documentation is transcluded from Template:Grid/Furnace/doc. (edit | history)