Template:PokemonTypeEffectiveness: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude> Example: {{PokemonTypeEffectiveness|Bulbasaur}} </noinclude> <includeonly> {{#get_file_data: source=data |file name=PokemonRawList.csv |format=CSV with header |filters=Name={{{1}}} |data= type1=Type1, type2=Type2 }} {{#invoke:TypeEffectivenessGenerator|generate |type1={{#var:type1}} |type2={{#var:type2}} }} </includeonly>" |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Generates a type effectiveness table for a Pokémon. | |||
{{PokemonTypeEffectiveness|Bulbasaur}} | |||
'''Usage:''' | |||
* On a Pokémon's own page: <code><nowiki>{{PokemonTypeEffectiveness}}</nowiki></code> (uses page name automatically) | |||
* From another page: <code><nowiki>{{PokemonTypeEffectiveness|Bulbasaur}}</nowiki></code> | |||
{{PokemonTypeEffectiveness|Ferrothorn}} | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#get_file_data:source=data|file name=PokemonRawList.csv|format=CSV with header|filters=Name={{#ifeq:{{PAGENAME}}|Farfetch'd|Farfetch'd|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}}}|data=type1=Type1,type2=Type2}}{{#invoke:TypeEffectivenessGenerator|generate|type1={{#external_value:type1}}|type2={{#external_value:type2}}}} | |||
{{#get_file_data: | |||
}} | |||
{{#invoke:TypeEffectivenessGenerator|generate | |||
}} | |||
</includeonly> | </includeonly> | ||
Latest revision as of 13:10, 7 March 2026
Generates a type effectiveness table for a Pokémon.
Usage:
- On a Pokémon's own page:
{{PokemonTypeEffectiveness}}(uses page name automatically) - From another page:
{{PokemonTypeEffectiveness|Bulbasaur}}
|
Under normal battle conditions, this Pokémon is: |
|
|---|---|
|
4× Super-weak to |
|
|
2× Weak to |
|
|
1× Neutral to |
|
|
½× Resistant to |
|
|
¼× Highly resistant to |
|
|
0× Immune to |
|