- Main article: Template:Grid/Available images [edit]
Template:Grid/Crafting Table: Difference between revisions
Mastergalen (talk | contribs) No edit summary |
FantasyTeddy (talk | contribs) (Replaced content with "<includeonly>{{#invoke:Grid|craftingTable}}</includeonly><noinclude> {{doc}} C </noinclude>") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:Grid|craftingTable}}</includeonly><noinclude> | ||
{{doc}} | {{doc}} | ||
[[Category:Image templates|C]] | [[Category:Image templates|C]] | ||
</noinclude> | </noinclude> |
Latest revision as of 07:35, 21 July 2015
This template uses Module:Grid, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.
Please see wp:Lua and mw:Extension:Scribunto to learn more.
This template is used to create a grid that looks similar to the Crafting Table's GUI screen.
See Template:Grid for basic grid usage, this documentation page will cover additional or different functions.
Most of the time, such as when creating the list of crafting recipes on an item's article, {{Crafting}}
can be used instead.
Usage
{{Grid/Crafting Table |A1= |B1= |C1= |A2= |B2= Oak Wood Planks |C2= |A3= |B3= Oak Wood Planks |C3= |Output= Stick,4 }}
- produces
4 | ||||
Use the available images listed below.
Shapeless
If a recipe is shapeless, add shapeless=1 to the template, which will display an icon which when hovered over explains what a shapeless recipe is.
{{Grid/Crafting Table |shapeless= 1 |A1= |B1= Blaze Powder |C1= |A2= |B2= Coal,Charcoal |C2= |A3= |B3= Gunpowder |C3= |Output= Fire Charge,3 }}
- produces
3 | ||||
The shapeless parameter does not support animation, so shapeless and non-shapeless recipes cannot be combined.
Animated
To make the grid animate, you make a list of blocks and objects you want to show, separated by semi-colons.
{{Grid/Crafting Table |A1= ; Lapis Lazuli |B1= ; Lapis Lazuli |C1= ; Lapis Lazuli |A2= ; Lapis Lazuli |B2= Lapis Lazuli Block; Lapis Lazuli |C2= ; Lapis Lazuli |A3= ; Lapis Lazuli |B3= ; Lapis Lazuli |C3= ; Lapis Lazuli |Output= Lapis Lazuli,9; Lapis Lazuli Block }}
- produces
9 | ||||
{{Grid/Crafting Table |A1= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |B1= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |C1= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |A2= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |B2= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |C2= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |A3= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |B3= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |C3= Iron Ingot; Gold Ingot; Diamond; Lapis Lazuli |Output= Block of Iron; Block of Gold; Block of Diamond; Lapis Lazuli Block }}
- produces
Available images
See also
{{Grid}}
{{Grid/Crafting Table}}
{{Grid/Inventory Table}}
{{Grid/Furnace}}
{{Grid/Brewing Stand}}
{{Grid/Hotbar}}
- Module:Grid
[view | edit | history | purge]The above documentation is transcluded from Template:Grid/Crafting Table/doc.
Retrieved from ‘http://wiki.aidancbrady.com/w/index.php?title=Template:Grid/Crafting_Table&oldid=2784’
Cookies help us deliver our services. By using our services, you agree to our use of cookies.