Template:Iconlink

From Minetest
Revision as of 11:38, 30 September 2020 by >FnControlOption
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

Name Usage
{{{1}}} Set the defaults for {{{image}}}, {{{link}}}, and {{{text}}}
{{{image}}} Set the image to be displayed
{{{size}}} Set the image size
{{{link}}} Set the page to link
If set to none, no link will be added
{{{text}}} or {{{2}}} Set the text to be displayed

Examples

Code Result
{{iconlink|Bread}} Bread.png Bread
{{iconlink|Apple}} Apple.png Apple
{{iconlink|Cobblestone}} Cobblestone.png Cobblestone
{{iconlink|Glass}} Glass.png Glass
{{iconlink|Lava|size=32x32px}} Lava.png Lava
{{iconlink|image=Steel Pickaxe.png|Pickaxe}} Steel Pickaxe.png Pickaxe