Difference between revisions of "Template:Icon/doc"
Jump to navigation
Jump to search
m |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
− | <code><nowiki>{{Icon|</nowiki>'''<nowiki>___</nowiki>'''<nowiki>|</nowiki>''<nowiki>name</nowiki>''<nowiki>|</nowiki>''<nowiki>link</nowiki>'' | + | <code><nowiki>{{Icon|</nowiki>'''<nowiki>___</nowiki>'''<nowiki>|</nowiki>''<nowiki>name</nowiki>''<nowiki>|</nowiki>''<nowiki>link</nowiki>''<nowiki>|</nowiki>''<nowiki>size</nowiki>''<nowiki>}}</nowiki></code> |
* All parameters are unnamed | * All parameters are unnamed | ||
* Name and link parameters are optional | * Name and link parameters are optional | ||
+ | * Size will default to 20px when not set | ||
== Examples == | == Examples == | ||
* <code><nowiki>{{Icon|scout}}</nowiki></code> {{Icon|scout}} | * <code><nowiki>{{Icon|scout}}</nowiki></code> {{Icon|scout}} | ||
+ | * <code><nowiki>{{Icon|flankscout}}</nowiki></code> {{Icon|flankscout}} | ||
+ | * <code><nowiki>{{Icon|pocketscout}}</nowiki></code> {{Icon|pocketscout}} | ||
* <code><nowiki>{{Icon|soldier}}</nowiki></code> {{Icon|soldier}} | * <code><nowiki>{{Icon|soldier}}</nowiki></code> {{Icon|soldier}} | ||
+ | * <code><nowiki>{{Icon|roamer}}</nowiki></code> {{Icon|roamer}} | ||
* <code><nowiki>{{Icon|pocket}}</nowiki></code> {{Icon|pocket}} | * <code><nowiki>{{Icon|pocket}}</nowiki></code> {{Icon|pocket}} | ||
* <code><nowiki>{{Icon|pyro}}</nowiki></code> {{Icon|pyro}} | * <code><nowiki>{{Icon|pyro}}</nowiki></code> {{Icon|pyro}} |