Template:Iconlink

From Minetest Wiki
Jump to navigation Jump to search

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