Template:SmallIcon: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{icon|{{{1}}}|25|link={{{link|}}}}}</includeonly><noinclude> This is for the smallest kind of inline icon. Usage: {{code|<nowiki>{{SmallIcon|Heavy Icon.png}}</nowiki>}} Result: {{SmallIcon|Heavy Icon.png}} Usage: {{code|<nowiki>{{SmallIcon|Heavy Icon.png|link=Heavy}}</nowiki>}} Result: {{SmallIcon|Heavy Icon.png|link=Heavy}} Category:Icon Templates </noinclude>")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{icon|{{{1}}}|25|link={{{link|}}}}}</includeonly><noinclude>
<includeonly>{{icon|{{{1}}}|25|link={{{link|}}}|class={{{class|}}} }}</includeonly><noinclude>{{documentation|content=
This is for the smallest kind of inline icon.
This is for the smallest kind of inline icon.


Line 10: Line 10:
Result: {{SmallIcon|Heavy Icon.png|link=Heavy}}
Result: {{SmallIcon|Heavy Icon.png|link=Heavy}}


[[Category:Icon Templates]]
== Template data ==
</noinclude>
<templatedata>
{
"params": {
"1": {
"description": "The icon's filename, without FIle: prefix",
"type": "wiki-file-name",
"required": true
},
"link": {
"description": "Optional page to link to",
"type": "wiki-page-name"
},
"class": {
"description": "Any classes to add to the img tag"
}
}
}
</templatedata>
 
}}
[[Category:Icon templates]]</noinclude>

Latest revision as of 16:28, 23 June 2024

Template documentation

This is for the smallest kind of inline icon.

Usage: {{SmallIcon|Heavy Icon.png}}

Result:

Usage: {{SmallIcon|Heavy Icon.png|link=Heavy}}

Result: Heavy

Template data

No description.

Template parameters

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