Difference between revisions of "Template:Type effectiveness2"
From Rollo
Line 44: | Line 44: | ||
|- 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 | + | | 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}};"> |
{| 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 08:42, 30 September 2019
| ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
Usage
{{Type effectiveness |type1=Grass |type2=Grass |Beast=100 |Bomb=50 |Bug=200 |Dragon=100 |Electric=50 |Grass=50 |Ground=50 |Fire=200 |Flying=200 |Ice=200 |Light=50 |Poison=200 |Rock=100 |Shadow=100 |Warrior=100 |Water=50 |Wizard=100 |notes=Relevant notes such as ability effects go here, otherwise delete this line. }}
{{Type effectiveness |type1= |type2= |Beast=100 |Bomb=100 |Bug=100 |Dragon=100 |Electric=100 |Grass=100 |Ground=100 |Fire=100 |Flying=100 |Ice=100 |Light=100 |Poison=100 |Rock=100 |Shadow=100 |Warrior=100 |Water=100 |Wizard=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. }}