Template:SmallIcon: Difference between revisions
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 | == 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 15: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}}
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | The icon's filename, without FIle: prefix | File | required |
link | link | Optional page to link to | Page name | optional |
class | class | Any classes to add to the img tag | Unknown | optional |