Template:IconText

From Super Snail Wiki
Jump to navigation Jump to search

[[File:{{{1}}}.png|24px]] {{{2}}}

Usage

The purpose of this template is to have a small icon next to text with a simple-to-use template. Simply use:

{{IconText|Image File Name|Text}}

...to take the place of:

[[File:Image.png|24px]] Text

Mysterious Relic.png Example


The icon's default is 24 px. You can change it with the third parameter.

{{IconText:Image File Name|Text|12}}

Mysterious Relic.png Make the question mark smaller!


You can make the text a link by adding the following parameters:

{{IconText:Image File Name|Text|24|y|Colour|Target Page Name if it doesn't match the Text}}

Mysterious Relic.png Super Snail Wiki


If parameter 4 is not y, parameter 5 (the colour) can be a hex code