Difference between revisions of "Template:Aggression icon"
Jump to navigation
Jump to search
m |
m (Protected "Template:Aggression icon" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="display:inline-block; margin: -8px {{#switch:{{{2|1}}}|1 | 2 = -6 | #default = 0}}px; overflow: hidden;">[[File:{{{1|}}} difficulty r{{{2|1}}}.png|26px|Aggression level {{{2|1}}}]]</div></includeonly><noinclude> | <includeonly><div style="display:inline-block; margin: -8px {{#switch:{{{2|1}}}|1 | 2 = -6 | #default = 0}}px; overflow: hidden;">[[File:{{{1|}}} difficulty r{{{2|1}}}.png|26px|Aggression level {{{2|1}}}|link=Aggression]]</div></includeonly><noinclude> | ||
== Description == | == Description == | ||
Generates an aggression icon according to type and rank. | Generates an aggression icon according to type and rank. |
Latest revision as of 14:17, 31 August 2018
Description
Generates an aggression icon according to type and rank.
{{Aggression icon|<type>|<rank>|size}}
Parameters
- unnamed parameter 1
- Aggression type. Can be either aggressive or passive.
- unnamed parameter 2
- Aggression rank. Defaults to 1.
- size
- Icon size. Defaults to 26px.
Examples
{{Aggression icon|passive}}
is produced from