Template:Icon link

From The Perfect Tower II
Revision as of 20:02, 5 March 2021 by Lmnt0 (talk | contribs) (Use non breaking space to prevent linebreak between icon and text)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

link={{{2}}} [[{{{2}}}|{{{2}}}]]

For adding a link to a page with an icon attached

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Icon1

Icon to display

Default
Icon missing.png
Example
Difficulty icon.png
Filerequired
Page2

Page to link to

Example
Buildings
Pagerequired
Page name3

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