Difference between revisions of "Template:Icon link"

From The Perfect Tower II
Jump to navigation Jump to search
(Created page with "[[File:{{{icon|Icon missing.png}}}|{{{size|x30px}}}|link={{{1}}}]] [[{{{1}}}|{{{txt|{{{1}}}}}}]]<noinclude> <templatedata> { "params": { "1": { "label": "Page", "desc...")
(No difference)

Revision as of 03:28, 4 March 2021

link={{{1}}} [[{{{1}}}|{{{1}}}]]

For adding a link to a page with an icon attached

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page1

Page to link to

Example
Buildings
Pagerequired
Iconicon

Icon to display

Default
Icon missing.png
Example
Difficulty icon.png
Filerequired
Page nametxt

Text displayed instead of the page name, if different from link

Default
(Page link)
Example
building
Stringoptional
Icon Sizesize

Size of the icon, as a standard Mediawiki image size

Default
x30px
Example
25px
Unknownoptional