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

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Overlooked this too)
m (Hopefully added numbers dropping to 3 when wood's in)
Line 29: Line 29:
<div style="left:{{#expr:294-{{{n5}}}}}px; top:71px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n5}}}px,18px,{{#expr:{{{n5}}}-22}}px);"><!--
<div style="left:{{#expr:294-{{{n5}}}}}px; top:71px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n5}}}px,18px,{{#expr:{{{n5}}}-22}}px);"><!--
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div>
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div>
{{#ifeq:{{{Type}}}|Wooden|<div style="left:100px; top:74px; width:206px; height:14px; position:absolute;">[[File:Turning Table GUI Override.png|link=|alt=]]</div>|}}
<div style="left:80px; top:90px; position:absolute;">
<div style="left:80px; top:90px; position:absolute;">
<div style="width:48px; height:{{{b1}}}px; position:absolute; clip:rect({{{b1t}}}px,48px,{{{b1}}}px,0px);"><!--top, right, bottom, left
<div style="width:48px; height:{{{b1}}}px; position:absolute; clip:rect({{{b1t}}}px,48px,{{{b1}}}px,0px);"><!--top, right, bottom, left

Revision as of 23:29, 13 March 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)