Difference between revisions of "Template:Grid/Turning Table/Return"
Jump to navigation
Jump to search
m (Made it easier to change the top values collectively) |
m (A bit more testing to get numbers not screwing about) |
||
Line 19: | Line 19: | ||
|Iron = {{Gc|Tiny Pile of Iron Dust}} | |Iron = {{Gc|Tiny Pile of Iron Dust}} | ||
}} | }} | ||
</div> | </div><div style="left:{{#expr:102-{{{n1}}}}}px; top:{{{top}}}px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n1}}}px,18px,{{#expr:{{{n1}}}-22}}px);"><!-- | ||
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div> | -->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div> | ||
<div style="left:{{#expr:150-{{{n2}}}}}px; top:{{ | <div style="left:{{#expr:150-{{{n2}}}}}px; top:{{{top}}}px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n2}}}px,18px,{{#expr:{{{n2}}}-22}}px);"><!-- | ||
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div> | -->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div> | ||
<div style="left:{{#expr:198-{{{n3}}}}}px; top:{{ | <div style="left:{{#expr:198-{{{n3}}}}}px; top:{{{top}}}px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n3}}}px,18px,{{#expr:{{{n3}}}-22}}px);"><!-- | ||
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div> | -->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div> | ||
<div style="left:{{#expr:246-{{{n4}}}}}px; top:{{ | <div style="left:{{#expr:246-{{{n4}}}}}px; top:{{{top}}}px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n4}}}px,18px,{{#expr:{{{n4}}}-22}}px);"><!-- | ||
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div> | -->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div> | ||
<div style="left:{{#expr:294-{{{n5}}}}}px; top:{{ | <div style="left:{{#expr:294-{{{n5}}}}}px; top:{{{top}}}px; 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:{{ | {{#ifeq:{{{Type}}}|Wooden|<div style="left:100px; top:{{{top}}}px; 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:47, 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)