User:Daniel Carrero/TE/doc
- Documentation: User:Daniel Carrero/TE/doc.
This template returns the type effectiveness. It requires the attacking and defending types.
Parameters
- 1 = attacking type
- 2 = first defending type
- 3 = second defending type (if any)
- gen = (optional) the generation number
Examples
- {{TE|Normal|Normal}} (a Normal move used on a Normal Pokémon)
- Result: 100
- {{TE|Electric|Flying}} (an Electric move used on a Flying Pokémon)
- Result: 200
- {{TE|Dark|Fairy}} (a Dark move used on a Fairy Pokémon)
- Result: 50
- {{TE|Normal|Ghost}} (a Normal move used on a Ghost Pokémon)
- Result: 0
- {{TE|Water|Rock|Ground}} (a Water move used on a Rock/Ground Pokémon)
- Result: 400
- {{TE|Water|Water|Grass}} (a Water move used on a Water/Grass Pokémon)
- Result: 25
Examples with "gen" parameter
- {{TE|Ghost|Steel|gen=2}} (a Ghost move used on a Steel Pokémon, in Generation II)
- Result: 50
- {{TE|Ghost|Steel}} (same as above, in the current generation)
- Result: 100
- {{TE|Bug|Poison|gen=1}} (a Bug move used on a Poison Pokémon, in Generation I)
- Result: 200
- {{TE|Bug|Poison}} (same as above, in the current generation)
- Result: 50
Categories
- No categories associated with this article