Template:Icon: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
Result: {{icon|Flourish Icon.png|30}} | Result: {{icon|Flourish Icon.png|30}} | ||
Usage: {{code|<nowiki>{{icon|Flourish Icon. | Usage: {{code|<nowiki>{{icon|Flourish Icon.png|50}}</nowiki>}} | ||
Result: {{icon|Flourish Icon.png|50}} | Result: {{icon|Flourish Icon.png|50}} |
Revision as of 16:24, 2 February 2023
Usage: {{icon|Flourish.png}}
Result:
The default size is x40px
meaning the icon is scaled until the height is 40 px. It's usually important to limit the height since the icons are used inline, and a very high inline image makes for an unpleasant text layout.
An alternative value for the height can be provided:
Usage: {{icon|Flourish Icon.png|30}}
Result:
Usage: {{icon|Flourish Icon.png|50}}
Result:
You can also provide a link:
Usage: {{icon|Flourish Icon.png|link=Flourish}}