Difference between revisions of "Template:Trainerpok"

From PokeGen Wiki
Jump to navigation Jump to search
(fixed certain pokémon sprites being way to high(not responsive))
(further lowered height limit)
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:100px;" 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|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 />
 
{|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">  

Revision as of 17:55, 20 May 2022

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: Cheese

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