From Brotato Wiki

(Created page with "<onlyinclude>[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]</onlyinclude> <noinclude> Adds an icon and link for a given icon. Created for use with the Unlock part of Template:Infobox_Character </noinclude>")
 
(docs: mention fixed size)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]</onlyinclude>
<includeonly><onlyinclude>[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]</onlyinclude></includeonly>
<noinclude>
<noinclude>


Adds an icon and link for a given icon. Created for use with the Unlock part of [[Template:Infobox_Character]]
Adds an icon and link for a given icon. No size options, always 30px.


</noinclude>
{| class="wikitable"
! Code
! Result
|-
| <code><nowiki>{{MiscIcon|Predator}}</nowiki></code>
| {{MiscIcon|Predator}}
|}
 
<templatedata>
{
"params": {
"name": {
"aliases": [
"1"
],
"description": "Name",
"type": "string",
"required": true,
"suggested": true
}
}
}
</templatedata></noinclude>

Latest revision as of 11:06, 11 December 2022


Adds an icon and link for a given icon. No size options, always 30px.

Code Result
{{MiscIcon|Predator}} Predator.png Predator

No description.

Template parameters

ParameterDescriptionTypeStatus
namename 1

Name

Stringrequired