Difference between revisions of "Template:Type effectiveness"

From Rollo
Line 40: Line 40:
 
|- valign="center"
 
|- valign="center"
 
! width="100px" | Resistant to:
 
! width="100px" | Resistant to:
| align="left" |<span align="left" style="display:{{#ifexpr: 0<{{{Beast|100}}} and {{{Beast|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Beast|{{{Beast|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Warrior|100}}} and {{{Warrior|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Warrior|{{{Warrior|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Flying|100}}} and {{{Flying|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Flying|{{{Flying|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Poison|100}}} and {{{Poison|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Poison|{{{Poison|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Ground|100}}} and {{{Ground|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Ground|{{{Ground|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Rock|100}}} and {{{Rock|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Rock|{{{Rock|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Bug|100}}} and {{{Bug|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Bug|{{{Bug|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Shadow|100}}} and {{{Shadow|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Shadow|{{{Shadow|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Bomb|100}}} and {{{Bomb|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Bomb|{{{Bomb|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Fire|100}}} and {{{Fire|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Fire|{{{Fire|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Water|100}}} and {{{Water|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Water|{{{Water|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Grass|100}}} and {{{Grass|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Grass|{{{Grass|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Electric|100}}} and {{{Electric|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Electric|{{{Electric|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Wizard|100}}} and {{{Wizard|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Wizard|{{{Wizard|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Ice|100}}} and {{{Ice|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Ice|{{{Ice|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Dragon|100}}} and {{{Dragon|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Dragon|{{{Dragon|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Light|100}}} and {{{Light|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Light|{{{Light|100}}}}}</span><span align="left" style="display:{{#ifexpr: {{#ifexpr: {{{Beast|100}}} < 100 and {{{Beast|100}}} > 0|0|1}} * {{#ifexpr: {{{Warrior|100}}} < 100 and {{{Warrior|100}}} > 0|0|1}} * {{#ifexpr: {{{Flying|100}}} < 100 and {{{Flying|100}}} > 0|0|1}} * {{#ifexpr: {{{Poison|100}}} < 100 and {{{Poison|100}}} > 0|0|1}} * {{#ifexpr: {{{Ground|100}}} < 100 and {{{Ground|100}}} > 0|0|1}} * {{#ifexpr: {{{Rock|100}}} < 100 and {{{Rock|100}}} > 0|0|1}} * {{#ifexpr: {{{Bug|100}}} < 100 and {{{Bug|100}}} > 0|0|1}} * {{#ifexpr: {{{Shadow|100}}} < 100 and {{{Shadow|100}}} > 0|0|1}} * {{#ifexpr: {{{Bomb|100}}} < 100 and {{{Bomb|100}}} > 0|0|1}} * {{#ifexpr: {{{Fire|100}}} < 100 and {{{Fire|100}}} > 0|0|1}} * {{#ifexpr: {{{Water|100}}} < 100 and {{{Water|100}}} > 0|0|1}} * {{#ifexpr: {{{Grass|100}}} < 100 and {{{Grass|100}}} > 0|0|1}} * {{#ifexpr: {{{Electric|100}}} < 100 and {{{Electric|100}}} > 0|0|1}} * {{#ifexpr: {{{Wizard|100}}} < 100 and {{{Wizard|100}}} > 0|0|1}} * {{#ifexpr: {{{Ice|100}}} < 100 and {{{Ice|100}}} > 0|0|1}} * {{#ifexpr: {{{Dragon|100}}} < 100 and {{{Dragon|100}}} > 0|0|1}} * {{#ifexpr: {{{Shadow|100}}} < 100 and {{{Shadow|100}}} > 0|0|1}} * {{#ifexpr: {{{Light|100}}} < 100 and {{{Light|100}}} > 0|0|1}} = 0|none|inline-block}};">
+
| align="left" |<span align="left" style="display:{{#ifexpr: 0<{{{Beast|100}}} and {{{Beast|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Beast|{{{Beast|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Warrior|100}}} and {{{Warrior|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Warrior|{{{Warrior|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Flying|100}}} and {{{Flying|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Flying|{{{Flying|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Poison|100}}} and {{{Poison|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Poison|{{{Poison|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Ground|100}}} and {{{Ground|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Ground|{{{Ground|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Rock|100}}} and {{{Rock|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Rock|{{{Rock|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Bug|100}}} and {{{Bug|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Bug|{{{Bug|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Shadow|100}}} and {{{Shadow|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Shadow|{{{Shadow|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Bomb|100}}} and {{{Bomb|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Bomb|{{{Bomb|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Fire|100}}} and {{{Fire|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Fire|{{{Fire|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Water|100}}} and {{{Water|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Water|{{{Water|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Grass|100}}} and {{{Grass|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Grass|{{{Grass|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Electric|100}}} and {{{Electric|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Electric|{{{Electric|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Wizard|100}}} and {{{Wizard|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Wizard|{{{Wizard|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Ice|100}}} and {{{Ice|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Ice|{{{Ice|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Dragon|100}}} and {{{Dragon|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Dragon|{{{Dragon|100}}}}}</span><span align="left" style="display:{{#ifexpr: 0<{{{Light|100}}} and {{{Light|100}}}<100|inline-block|none}};">{{Type effectiveness entry|Light|{{{Light|100}}}}}</span><span align="left" style="display: {{#ifexpr: {{#ifexpr: {{{Normal|100}}} < 100 and {{{Normal|100}}} > 0|0|1}} * {{#ifexpr: {{{Fighting|100}}} < 100 and {{{Fighting|100}}} > 0|0|1}} * {{#ifexpr: {{{Flying|100}}} < 100 and {{{Flying|100}}} > 0|0|1}} * {{#ifexpr: {{{Poison|100}}} < 100 and {{{Poison|100}}} > 0|0|1}} * {{#ifexpr: {{{Ground|100}}} < 100 and {{{Ground|100}}} > 0|0|1}} * {{#ifexpr: {{{Rock|100}}} < 100 and {{{Rock|100}}} > 0|0|1}} * {{#ifexpr: {{{Bug|100}}} < 100 and {{{Bug|100}}} > 0|0|1}} * {{#ifexpr: {{{Ghost|100}}} < 100 and {{{Ghost|100}}} > 0|0|1}} * {{#ifexpr: {{{Steel|100}}} < 100 and {{{Steel|100}}} > 0|0|1}} * {{#ifexpr: {{{Fire|100}}} < 100 and {{{Fire|100}}} > 0|0|1}} * {{#ifexpr: {{{Water|100}}} < 100 and {{{Water|100}}} > 0|0|1}} * {{#ifexpr: {{{Grass|100}}} < 100 and {{{Grass|100}}} > 0|0|1}} * {{#ifexpr: {{{Electric|100}}} < 100 and {{{Electric|100}}} > 0|0|1}} * {{#ifexpr: {{{Psychic|100}}} < 100 and {{{Psychic|100}}} > 0|0|1}} * {{#ifexpr: {{{Ice|100}}} < 100 and {{{Ice|100}}} > 0|0|1}} * {{#ifexpr: {{{Dragon|100}}} < 100 and {{{Dragon|100}}} > 0|0|1}} * {{#ifexpr: {{{Dark|100}}} < 100 and {{{Dark|100}}} > 0|0|1}} * {{#ifexpr: {{{Fairy|100}}} < 100 and {{{Fairy|100}}} > 0|0|1}} * {{#ifexpr: {{{Cosmic|100}}} < 100 and {{{Cosmic|100}}} > 0|0|1}} * {{#ifexpr: {{{Glitch|100}}} < 100 and {{{Glitch|100}}} > 0|0|1}}  = 0|none|inline-block}};">
 
{| width="125px" style="{{roundy|40px}} background: #000000; color:#FFFFFF;"
 
{| width="125px" style="{{roundy|40px}} background: #000000; color:#FFFFFF;"
 
|- align="center"
 
|- align="center"

Revision as of 13:41, 20 August 2020

Under normal battle conditions, this monster is:
Damaged
normally by:
Normal 1×
Fighting 1×
Flying 1×
Poison 1×
Ground 1×
Rock 1×
Bug 1×
Ghost 1×
Steel 1×
Fire 1×
Water 1×
Grass 1×
Electric 1×
Psychic 1×
Ice 1×
Dragon 1×
Dark 1×
Fairy 1×
Cosmic 1×
Glitch 1×
Weak to:
Fighting 1×
Flying 1×
Poison 1×
Ground 1×
Rock 1×
Bug 1×
Ghost 1×
Steel 1×
Fire 1×
Water 1×
Grass 1×
Electric 1×
Psychic 1×
Ice 1×
Dragon 1×
Dark 1×
Fairy 1×
Cosmic 1×
Glitch 1×
None
Immune to:
Normal 1×
Fighting 1×
Flying 1×
Poison 1×
Ground 1×
Rock 1×
Bug 1×
Ghost 1×
Steel 1×
Fire 1×
Water 1×
Grass 1×
Electric 1×
Psychic 1×
Ice 1×
Dragon 1×
Dark 1×
Fairy 1×
Cosmic 1×
Glitch 1×
None
Resistant to:
Beast 1×
Warrior 1×
Flying 1×
Poison 1×
Ground 1×
Rock 1×
Bug 1×
Shadow 1×
Bomb 1×
Fire 1×
Water 1×
Grass 1×
Electric 1×
Wizard 1×
Ice 1×
Dragon 1×
Light 1×
None

Usage

{{Type effectiveness
|type1=Grass
|type2=Grass
|Normal=100
|Fighting=100
|Flying=200
|Poison=200
|Ground=50
|Rock=100
|Bug=200
|Ghost=100
|Steel=100
|Fire=200
|Water=50
|Grass=200
|Electric=200
|Psychic=100
|Ice=200
|Dragon=100
|Dark=100
|Fairy=100
|Cosmic=50
|Glitch=100
|notes=Relevant notes such as ability effects go here, otherwise delete this line.
}}
{{Type effectiveness
|type1=
|type2=
|Normal=100
|Fighting=100
|Flying=100
|Poison=100
|Ground=100
|Rock=100
|Bug=100
|Ghost=100
|Steel=100
|Fire=100
|Water=100
|Grass=100
|Electric=100
|Psychic=100
|Ice=100
|Dragon=100
|Dark=100
|Fairy=100
|Cosmic=100
|Glitch=100
|notes=Relevant notes such as ability effects go here, otherwise delete this line.
}}
{{Type effectiveness
|type1=
|type2=
|notes=Relevant notes such as ability effects go here, otherwise delete this line.
}}