Template:Grid/doc: Difference between revisions
From Minetest
>MrIbby m (Added {{Documentation subpage}}) |
>MrIbby m (Added {{Documentation subpage}}) |
(No difference)
|
Latest revision as of 17:28, 14 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. |
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}} |
|
{{Grid|Iron Lump, Copper Lump, Gold Lump}} |
|
{{Grid|Steel Ingot, Bronze Ingot, Gold Ingot|2, 3, 4}} |
|
{{Grid|Diamond|padded=1}} |
|
{{Grid|Diamond, Mese Crystal|2, 3|padded=1}} |
See also