Difference between revisions of "Template:Trainerpok"

From PokeGen Wiki
Jump to navigation Jump to search
(url to sites of the game is now related to a template for easy and quick change, adding items)
(pokemon types, applied head in example)
Line 1: Line 1:
 
<includeonly>{|class="wikitable"style="width:100%;height:300px;color:#4c4c4c;text-align:center;background-color:#e5e5e5;"
 
<includeonly>{|class="wikitable"style="width:100%;height:300px;color:#4c4c4c;text-align:center;background-color:#e5e5e5;"
 
|-
 
|-
||<img src= "http://{{GameURL}}/images/pokemon/{{{variant|Normal}}}/{{{num|0}}}.png" alt="No {{{variant|Normal}}} variant for that number available"><br />{{{variant|Normal}}} {{{species|Bulbasaur}}}<br />Item: {{{item|None}}}<br />Level {{{level|1}}}<br />
+
||<img src= "http://{{GameURL}}/images/pokemon/{{{variant|Normal}}}/{{{num|0}}}.png" alt="No {{{variant|Normal}}} variant for that number available"><br />{{{variant|Normal}}} {{{species|Bulbasaur}}}<br /><img src= "http://{{GameURL}}/images/dex/{{{type|Normal}}}.png" alt="TypeIcon Error"> <img src= "http://{{GameURL}}/images/dex/{{{type2|}}}.png" alt=""><br />Item: {{{item|None}}}<br />Level {{{level|1}}}<br />
 
{|style="width:100%;height:96px;color:#4c4c4c;text-align:center;background-color:#e5e5e5;"
 
{|style="width:100%;height:96px;color:#4c4c4c;text-align:center;background-color:#e5e5e5;"
| {{{move1|Tackle}}}
+
| {{{move1|Tackle}}} <img src= "http://{{GameURL}}/images/dex/{{{movetype|{{{type|Normal}}}}}}.png" alt="TypeIcon Error">
| {{{move2|Tackle}}}
+
| {{{move2|Tackle}}} <img src= "http://{{GameURL}}/images/dex/{{{movetype2|Normal}}}.png" alt="TypeIcon Error">
 
|-
 
|-
| {{{move3|Tackle}}}
+
| {{{move3|Tackle}}} <img src= "http://{{GameURL}}/images/dex/{{{movetype3|Normal}}}.png" alt="TypeIcon Error">
| {{{move4|Tackle}}}
+
| {{{move4|Tackle}}} <img src= "http://{{GameURL}}/images/dex/{{{movetype4|Normal}}}.png" alt="TypeIcon Error">
 
|}
 
|}
 
|-
 
|-
Line 16: Line 16:
 
|variant= variant of the pokémon. Default: Normal
 
|variant= variant of the pokémon. Default: Normal
 
|species= name of the pokémon without variant name
 
|species= name of the pokémon without variant name
 +
|level= level, Default: 1
 +
|type= type of the Pokémon, Default: Normal
 +
|type2= use only for dual types, Default: None
 
|level= level, Default: 1
 
|level= level, Default: 1
 
|move1=one of the moves used by the pokémon in that battle Default: Tackle
 
|move1=one of the moves used by the pokémon in that battle Default: Tackle
Line 21: Line 24:
 
|move3=one of the moves used by the pokémon in that battle Default: Tackle
 
|move3=one of the moves used by the pokémon in that battle Default: Tackle
 
|move4=one of the moves used by the pokémon in that battle Default: Tackle
 
|move4=one of the moves used by the pokémon in that battle Default: Tackle
 +
|movetype= type of the first move, Default: value of type due to usually being the strongest move or rare move having STAB
 +
|movetype2= type of the second move, Default: Normal
 +
|movetype3= Default: Normal
 +
|movetype4= Default: Normal
 
}}
 
}}
</pre>Basic Example{{Trainerpok|num=2|move1=Arctic Ravage|species=Ivysaur|variant=Midnight}}
+
</pre>Basic Example{{Trainerpok|num=2|type=Grass|movetype2=Ice|type2=Poison|move1=Razor Leaf|move2=Arctic Ravage|species=Ivysaur|variant=Midnight}}
 
Advanced Example, use it in a table to specify more pokémon used by a trainer
 
Advanced Example, use it in a table to specify more pokémon used by a trainer
{|style="width:100%;height:96px;"
+
{{Trainerpok/Head}}
|- style="text-align:center;"
+
|{{Trainerpok|num=6|variant=Snow|type=Fire|type2=Flying|movetype=Normal|movetype4=Psychic|move4=Luster Purge|species=Charizard|level=1022}}|{{Trainerpok|num=9001|type=God|variant=Dyna|movetype2=Fighting|movetype=Normal|move2=Close Combat|species=Gigantrum|level=4554}}|{{Trainerpok|num=892|move4=Fire Blast|type2=Nuclear|movetype4=Fire|movetype2=God|movetype3=Nuclear|species=Urshifu (Single Strike)|variant=Golden|level=500}}|
|{{Trainerpok|num=6|variant=Snow|move4=Luster Purge|species=Charizard|level=1022}}||{{Trainerpok|num=9001|variant=Dyna|move2=Close Combat|species=Gigantrum|level=4554}}||{{Trainerpok|num=892|move4=Fire Blast|species=Urshifu (Single Strike)|variant=Golden|level=500}}|
 
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 15:18, 28 December 2021

Basic Usage

{{Trainerpok
|num= pokedexnumber, Default: 0
|variant= variant of the pokémon. Default: Normal
|species= name of the pokémon without variant name
|level= level, Default: 1
|type= type of the Pokémon, Default: Normal
|type2= use only for dual types, Default: None
|level= level, Default: 1
|move1=one of the moves used by the pokémon in that battle Default: Tackle
|move2=one of the moves used by the pokémon in that battle Default: Tackle
|move3=one of the moves used by the pokémon in that battle Default: Tackle
|move4=one of the moves used by the pokémon in that battle Default: Tackle
|movetype= type of the first move, Default: value of type due to usually being the strongest move or rare move having STAB
|movetype2= type of the second move, Default: Normal
|movetype3= Default: Normal
|movetype4= Default: Normal
}}

Basic Example

No Midnight variant for that number available
Midnight Ivysaur
TypeIcon Error
Item: None
Level 1
Razor Leaf TypeIcon Error Arctic Ravage TypeIcon Error
Tackle TypeIcon Error Tackle TypeIcon Error


Advanced Example, use it in a table to specify more pokémon used by a trainer

No Snow variant for that number available
Snow Charizard
TypeIcon Error
Item: None
Level 1022
Tackle TypeIcon Error Tackle TypeIcon Error
Tackle TypeIcon Error Luster Purge TypeIcon Error
No Dyna variant for that number available
Dyna Gigantrum
TypeIcon Error
Item: None
Level 4554
Tackle TypeIcon Error Close Combat TypeIcon Error
Tackle TypeIcon Error Tackle TypeIcon Error
No Golden variant for that number available
Golden Urshifu (Single Strike)
TypeIcon Error
Item: None
Level 500
Tackle TypeIcon Error Tackle TypeIcon Error
Tackle TypeIcon Error Fire Blast TypeIcon Error