Difference between revisions of "Template:Trainerpok"

From PokeGen Wiki
Jump to navigation Jump to search
m (Protected "Template:Trainerpok": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(2 intermediate revisions by the same user not shown)
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 style="max-height:90px;" src= "http://{{GameURL}}/images/pokemon/{{{variant|Normal}}}/{{{num|0}}}.png" alt="No {{{variant|Normal}}} variant for that number available"><br />[[{{{species|Bulbasaur}}}|{{{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 />[[Items|Item]]: {{{item|None}}}<br /><img style="max-width:10%;" src = "http://{{GameURL}}/images/items/{{lc:{{urlencode:{{{item|shining_chest}}}|WIKI}}}}.png" alt=""><br />Level {{{level|1}}}<br />
+
|<img style="max-height:90px;" src= "http://{{GameURL}}/images/pokemon/{{{variant|Normal}}}/{{{num|{{Converter/NameNum|{{{species}}}}}|0}}}.png" alt="No {{{variant|Normal}}} variant for that number available"><br />[[{{{species|Bulbasaur}}}|{{{variant|Normal}}} {{{species|Bulbasaur}}}]]<br /><img src= "http://{{GameURL}}/images/dex/{{{type|{{Converter/NameType1|{{{species|Bulbasaur}}}}}}}}.png" alt="TypeIcon Error"> <img src= "http://{{GameURL}}/images/dex/{{{type2|{{Converter/NameType2|{{{species|Bulbasaur}}}}}}}}.png" alt=""><br />[[Items|Item]]: {{{item|None}}}<br /> <img class="itemicon" src = "http://{{GameURL}}/images/items/{{urlencode:{{{item|shining_chest}}}|PATH}}.png" alt=""> <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}}} <img src= "http://{{GameURL}}/images/dex/{{{movetype|{{{type|Normal}}}}}}.png" alt="TypeIcon Error">  
 
| {{{move1|Tackle}}} <img src= "http://{{GameURL}}/images/dex/{{{movetype|{{{type|Normal}}}}}}.png" alt="TypeIcon Error">  
Line 13: Line 13:
 
</includeonly>
 
</includeonly>
 
<noinclude>Basic Usage<pre>{{Trainerpok
 
<noinclude>Basic Usage<pre>{{Trainerpok
|num= pokedexnumber, Default: 0
+
|num= pokedexnumber, Default: attempts to crawl
 
|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
 
|level= level, Default: 1
|type= type of the Pokémon, Default: Normal
+
|type= type of the Pokémon, Default: Attempts to crawl with error when failled
|type2= use only for dual types, Default: None
+
|type2= use only for dual types, Default: Attempts to crawl, None when failed
|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
 
|move2=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
Line 32: Line 31:
 
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
 
{{Trainerpok/Head}}
 
{{Trainerpok/Head}}
|{{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|item=Cheese|movetype4=Fire|movetype2=God|movetype3=Nuclear|species=Urshifu (Single Strike)|variant=Golden|level=500}}|
+
|{{Trainerpok|variant=Snow|type2=Flying|movetype=Normal|movetype4=Psychic|move4=Luster Purge|species=Charizard|level=1022}}|{{Trainerpok|variant=Dyna|item=Eternal Cape|movetype2=Fighting|movetype=Normal|move2=Close Combat|species=Gigantrum|level=4554}}|{{Trainerpok|num=892|move4=Fire Blast|type2=Nuclear|item=Ghostium-Z|movetype4=Fire|movetype2=God|movetype3=Nuclear|species=Urshifu (Single Strike)|variant=Golden|level=500}}|
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 07:05, 12 October 2024

Basic Usage

{{Trainerpok
|num= pokedexnumber, Default: attempts to crawl
|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: Attempts to crawl with error when failled
|type2= use only for dual types, Default: Attempts to crawl, None when failed
|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: Eternal Cape

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: Ghostium-Z

Level 500
Tackle TypeIcon Error Tackle TypeIcon Error
Tackle TypeIcon Error Fire Blast TypeIcon Error