Difference between revisions of "Template:Aggression icon"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1|}}} difficulty r{{{2|1}}}.png|{{{size|26}}}px|Aggression level {{{2|1}}}|link=Aggression]]</includeonly><noinclude> | <includeonly>[[File:{{{1|}}} difficulty r{{{2|1}}}.png|{{{size|26}}}px|Aggression level {{{2|1}}}|link=Aggression]] | ||
<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> | |||
== Description == | == Description == | ||
Generates an aggression icon according to type and rank. | Generates an aggression icon according to type and rank. |
Revision as of 00:35, 6 August 2017
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
is produced from {{Aggression icon|passive}}