Template:Icon: Difference between revisions

From Kainga Encyclopedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:


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] (remember to specify unit, such as px; default is 32px)|[link] (leave blank for no 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