Difference between revisions of "Template:Grid/Turning Table/Return"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (A bit more testing to get numbers not screwing about)
m (Added axle and improved icons)
Line 4: Line 4:
{{#if:{{{Output|}}}|<div style="left:20px; top:24px; width:32px; height:32px; position:absolute;">
{{#if:{{{Output|}}}|<div style="left:20px; top:24px; width:32px; height:32px; position:absolute;">
{{#switch:{{{Output}}}|
{{#switch:{{{Output}}}|
|Handle = {{Gc|[Iron Turning Blank\Handle]Iron Turning Blank}}
|Handle = {{Gc|[Iron Turning Blank\Handle]Iron Turning Handle~Turning Table#Handle}}
|Drill = {{Gc|[Iron Turning Blank\Drill]Iron Turning Blank}}
|Drill = {{Gc|[Iron Turning Blank\Drill]Iron Turning Drill~Turning Table#Drill}}
|Axle = {{Gc|[Iron Turning Blank\Axle]Iron Turning Handle~Turning Table#Axle}}
|Wooden
|Wooden
|Wood = {{Gc|Wooden Turning Blank}}
|Wood = {{Gc|Wooden Turning Blank}}

Revision as of 01:14, 3 September 2015


Template-info.png Documentation
Lua logo.png This template uses Module:Grid, a script written in Lua.
Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more.

This template is used to create a crafting grid that looks similar to the Turning Table's GUI.

Parameters[edit]

  • Output: Set the output item, currently only Drill and Handle are supported, anything else will just generate a blank Iron Turning Blank.
  • Layout: Set the layout of the crafting grid, separating the numbers with a comma, 5 numbers are required as there are 5 parts that can be lathed.
  • Float, float: (Optional) Set the float of the crafting grid
  • nobreak: (Optional) Add to make the crafting grid not line break at the end

Example[edit]

{{Grid/Turning Table
|Output = Drill
|Layout = 5,4,3,2,1
|nobreak = 1
}}

{{Grid/Turning Table
|Output = Handle
|Layout = 4,3,2,2,2
}}

See Also[edit]

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