Difference between revisions of "Template:Grid/doc"

From Luanti Wiki
Jump to navigation Jump to search
(Moved doc from template)
 
m (Added {{Documentation subpage}})
 
Line 1: Line 1:
 +
<noinclude>{{Documentation subpage}}</noinclude>
 
{{Languages|Template:Grid/doc}}
 
{{Languages|Template:Grid/doc}}
 
{{Lua|Animated}}
 
{{Lua|Animated}}

Latest revision as of 01:28, 15 May 2017

This is a documentation subpage for Template:Grid.
It contains usage information, categories and other content that is not part of the original template page.
Languages Language: English
Lua logo.png This template uses Module:Animated, a script written in Lua.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.

Usage

{{{1}}} is a list of item names, separated by commas. {{{2}}} is a corresponding list of item counts, also separated by commas.

Set {{{padded=1}}} to enable 10px padding.

Examples

Source Output
{{Grid|Stick}}
Stick.png
{{Grid|Iron Lump, Copper Lump, Gold Lump}}
Iron Lump.png
Copper Lump.png
Gold Lump.png
{{Grid|Steel Ingot, Bronze Ingot, Gold Ingot|2, 3, 4}}
Steel Ingot.png
2
Bronze Ingot.png
3
Gold Ingot.png
4
{{Grid|Diamond|padded=1}}
Diamond.png
{{Grid|Diamond, Mese Crystal|2, 3|padded=1}}
Diamond.png
2
Mese Crystal.png
3

See also