Difference between revisions of "Template:Aggression icon"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <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> | ||
<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. | ||
Line 16: | Line 13: | ||
== Examples == | == Examples == | ||
{{Aggression icon|passive}} | * {{Aggression icon|passive}} is produced from <code><nowiki>{{Aggression icon|passive}}</nowiki></code> | ||
[[Category:Icon templates|Drops]]</noinclude> | [[Category:Icon templates|Drops]]</noinclude> |
Revision as of 00:36, 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
{{Aggression icon|passive}}
is produced from