Template:Icon: Difference between revisions

From Kainga Encyclopedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:{{{1|Symbol None.png}}}|{{{2|32}}}px|middle|link={{{3|}}}|{{{4|alt text}}}]]<nowiki/><noinclude>
[[File:{{{1|Symbol None.png}}}|{{{2|32px}}}|middle|link={{{3|}}}|{{{4|alt text}}}]]<nowiki/><noinclude>


This template is intended to simplify creating inline icons for images that don't already have a predefined template, such as [[Template:Thinker]].
This template is intended to simplify creating inline icons for images that don't already have a predefined template, such as [[Template:Thinker]].
Usage:<pre>{{Icon|<image file.ext>|<size in px>|<link>|<alt text>}}</pre>[[Category:Templates|{{PAGENAME}}]]<noinclude>
Usage:<pre>{{Icon|<image file.ext>|[size]*|[link]**|<alt text>}}</pre>
<nowiki>*</nowiki> remember to specify unit, such as px; default is 32px<br/>
<nowiki>**</nowiki> leave blank for no link [[Category:Templates|{{PAGENAME}}]]<noinclude>

Latest revision as of 18:05, 6 October 2024

alt text

This template is intended to simplify creating inline icons for images that don't already have a predefined template, such as Template:Thinker.

Usage:

{{Icon|<image file.ext>|[size]*|[link]**|<alt text>}}

* remember to specify unit, such as px; default is 32px
** leave blank for no link