Difference between revisions of "Template:Grid/Turning Table/Return"
Jump to navigation
Jump to search
m (Fixed numbers being a pixel too high all of a sudden) |
m (Added wooden support) |
||
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 | |Handle = {{Gc|[Iron Turning Blank\Handle]Iron Turning Blank}} | ||
|Drill = {{Gc|[Iron Turning Blank\Drill]Iron Turning Blank}} | |||
|Drill | |Wooden = {{Gc|Wooden Turning Blank}} | ||
|#default = {{Gc|Iron Turning Blank}} | |#default = {{Gc|Iron Turning Blank}} | ||
}} | }} | ||
Line 16: | Line 15: | ||
{{#if:{{{Type|}}}|<div style="left:20px; top:114px; width:32px; height:32px; position:absolute;"> | {{#if:{{{Type|}}}|<div style="left:20px; top:114px; width:32px; height:32px; position:absolute;"> | ||
{{#switch:{{{Type}}}| | {{#switch:{{{Type}}}| | ||
| | |Wooden = {{Gc|Stick~Non-IC Items}} | ||
|Iron = {{Gc|Tiny Pile of Iron Dust}} | |Iron = {{Gc|Tiny Pile of Iron Dust}} | ||
}} | }} |
Revision as of 23:03, 13 March 2015
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
andHandle
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)