Template:SmallIcon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 2: Line 2:
This is for the smallest kind of inline icon.
This is for the smallest kind of inline icon.


Usage: {{code|<nowiki>{{SmallIcon|Heavy Icon.png}}</nowiki>}}
{{Template demo
 
| style = table
Result: {{SmallIcon|Heavy Icon.png}}
| <nowiki>{{SmallIcon|Heavy Icon.png}}</nowiki>
 
| <nowiki>{{SmallIcon|Heavy Icon.png|link=Heavy}}</nowiki>
Usage: {{code|<nowiki>{{SmallIcon|Heavy Icon.png|link=Heavy}}</nowiki>}}
}}
 
Result: {{SmallIcon|Heavy Icon.png|link=Heavy}}


== Template data ==
== Template data ==
Line 31: Line 29:


}}
}}
[[Category:Icon templates]]</noinclude>
[[Category:Templates]]
[[Category:Icon templates]]
</noinclude>

Latest revision as of 22:20, 19 January 2025

Template documentation

This is for the smallest kind of inline icon.

Markup Renders as
{{SmallIcon|Heavy Icon.png}}
{{SmallIcon|Heavy Icon.png|link=Heavy}}
Heavy

Template data

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

The icon's filename, without FIle: prefix

Filerequired
linklink

Optional page to link to

Page nameoptional
classclass

Any classes to add to the img tag

Unknownoptional