User:Soulweaver/PartyPokéTemplate: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Hooray, I got it finished! (This is one big evil template :p))
 
m (it's broken... do not use until I've fixed it (exp bar seems to be buggy at least))
Line 1: Line 1:
<noinclude>
<noinclude>
'''DO NOT USE'''
Certain things are broken, it seems...
__TOC__
__TOC__


Line 46: Line 48:
|-
|-
| nature || The nature of the Pokémon || Unknown nature
| nature || The nature of the Pokémon || Unknown nature
|-
| ability || The ability of the Pokémon || Pickup
|-
|-
| item || The item the Pokémon is holding ||
| item || The item the Pokémon is holding ||
Line 87: Line 91:
| showevs || Defines whether the gained EV points should be shown under the stats. Acceptable values are show and hide. || hide
| showevs || Defines whether the gained EV points should be shown under the stats. Acceptable values are show and hide. || hide
|}
|}
==Example==
<nowiki>{{User:UltimateSephiroth/PartyPokéTemplate
|boxwidth=100%
|bgcolor={{ghost color}}
|gamecode=4p
|gameext=png
|no=425
|ball=Dusk
|level=15
|gender=♂
|type1=Ghost
|type2=Flying
|otcolor=00ff00
|otname=U.S.
|idno=08846
|catchnotes=Jun. 19, 2009<br />[[Valley Windworks]]<br />Met at Lv. 15.
|nature=Lax
|ability=Aftermath
|exp=1957
|hp=53
|hpmax=53
|attack=23
|defense=16
|spattack=27
|spdefense=18
|speed=30
|status=OK
|m1=Minimize    |m1pp=20 |m1ppmax=20 |m1type=Normal |m1cont=Cute  |m1cat=Status
|m2=Astonish    |m2pp=15 |m2ppmax=15 |m2type=Ghost  |m2cont=Smart |m2cat=Physical
|m3=Gust        |m3pp=35 |m3ppmax=35 |m3type=Flying |m3cont=Smart |m3cat=Special
|m4=Focus Energy |m4pp=30 |m4ppmax=30 |m4type=Normal |m4cont=Cool  |m4cat=Status
|expscheme=1.64M
|showevs=hide
|statsdisp=default
|movesdisp=default
}}
</nowiki>


</noinclude>{| class="expandable" style="text-align: center; width: {{{boxwidth|100%}}}; background-color: {{{bgcolor|transparent}}};"
{{User:UltimateSephiroth/PartyPokéTemplate
|boxwidth=100%
|bgcolor={{ghost color}}
|gamecode=4p
|gameext=png
|no=425
|ball=Dusk
|level=15
|gender=♂
|type1=Ghost
|type2=Flying
|otcolor=00ff00
|otname=U.S.
|idno=08846
|catchnotes=Jun. 19, 2009<br />[[Valley Windworks]]<br />Met at Lv. 15.
|nature=Lax
|ability=Aftermath
|hp=53
|hpmax=53
|attack=23
|defense=16
|spattack=27
|spdefense=18
|speed=30
|status=OK
|m1=Minimize    |m1pp=20 |m1ppmax=20 |m1type=Normal |m1cont=Cute  |m1cat=Status
|m2=Astonish    |m2pp=15 |m2ppmax=15 |m2type=Ghost  |m2cont=Smart |m2cat=Physical
|m3=Gust        |m3pp=35 |m3ppmax=35 |m3type=Flying |m3cont=Smart |m3cat=Special
|m4=Focus Energy |m4pp=30 |m4ppmax=30 |m4type=Normal |m4cont=Cool  |m4cat=Status
|expscheme=1.64M
|showevs=hide
|statsdisp=default
|movesdisp=default
}}
 
</noinclude><includeonly>{| class="expandable" style="text-align: center; width: {{{boxwidth|100%}}}; background-color: {{{bgcolor|transparent}}};"
| rowspan="4" style="width: 1%;" | {{#ifeq: {{{defaultimg|}}}|yes|[[Image:{{{no|001}}}{{{shiny|}}}.png]]|[[Image:Spr {{{gamecode|4p}}} {{{no|001}}}{{{shiny|}}}.{{{gameext|png}}}]]}}
| rowspan="4" style="width: 1%;" | {{#ifeq: {{{defaultimg|}}}|yes|[[Image:{{{no|001}}}{{{shiny|}}}.png]]|[[Image:Spr {{{gamecode|4p}}} {{{no|001}}}{{{shiny|}}}.{{{gameext|png}}}]]}}
! [[Image:Ball{{{ball|Poke}}}status.png]] '''{{p|{{User:UltimateSephiroth/No2PKMN|{{{no|001}}}}}|{{#ifeq: {{{nickname|}}}||{{uc:{{User:UltimateSephiroth/No2PKMN|{{{no|001}}}}}}}|{{{nickname|}}}}}}}''' <span style="font-size: 80%;">Lv. {{{level|1}}}</span> {{{gender|}}}
! [[Image:Ball{{{ball|Poke}}}status.png]] '''{{p|{{User:UltimateSephiroth/No2PKMN|{{{no|001}}}}}|{{#ifeq: {{{nickname|}}}||{{uc:{{User:UltimateSephiroth/No2PKMN|{{{no|001}}}}}}}|{{{nickname|}}}}}}}''' <span style="font-size: 80%;">Lv. {{{level|1}}}</span> {{{gender|}}}
Line 94: Line 170:
|-
|-
| OT/<span style="color: #{{{otcolor|0000ff}}};">{{{otname|TRAINER}}}</span>
| OT/<span style="color: #{{{otcolor|0000ff}}};">{{{otname|TRAINER}}}</span>
| rowspan="2" | {{{catchnotes|Distant land<br />Arrived at Lv{{{level|1}}}}}}
| rowspan="3" | {{{catchnotes|Distant land<br />Arrived at Lv{{{level|1}}}}}}
|-
|-
| ID No. {{{idno|00000}}}
| ID No. {{{idno|00000}}}
|-
| {{a|{{{ability|Pickup}}}}}
|-
|-
| {{{nature|Unknown nature}}}
| {{{nature|Unknown nature}}}
Line 103: Line 181:
| style="width: 50%;" |
| style="width: 50%;" |
{| class="{{#ifeq: {{{statsdisp|}}}|autoshow|collapsible|expandable}}" style="width: 100%; background-color: {{{bgcolor|transparent}}}; {{#ifeq: {{{statsdisp|}}}|hide|display: none;|}}"
{| class="{{#ifeq: {{{statsdisp|}}}|autoshow|collapsible|expandable}}" style="width: 100%; background-color: {{{bgcolor|transparent}}}; {{#ifeq: {{{statsdisp|}}}|hide|display: none;|}}"
|-
! colspan="4" | Stats
! colspan="4" | Stats
|-
|-
Line 129: Line 208:
| {{#ifeq: {{{m4|}}}||----- {{!}}{{!}} --/-- {{!}}{{!}} {{!}}{{!}} |{{m|{{{m4}}}}} {{!}}{{!}} {{{m4pp|{{{m4ppmax|10}}}}}}/{{{m4ppmax|10}}} {{!}}{{!}} {{ic|{{{m4type|Normal}}}}}<br />{{ic|{{{m4cont|Tough}}}}} {{!}}{{!}} {{ic|{{{m4cat|Status}}}}}}}
| {{#ifeq: {{{m4|}}}||----- {{!}}{{!}} --/-- {{!}}{{!}} {{!}}{{!}} |{{m|{{{m4}}}}} {{!}}{{!}} {{{m4pp|{{{m4ppmax|10}}}}}}/{{{m4ppmax|10}}} {{!}}{{!}} {{ic|{{{m4type|Normal}}}}}<br />{{ic|{{{m4cont|Tough}}}}} {{!}}{{!}} {{ic|{{{m4cat|Status}}}}}}}
|}
|}
|}
|}</includeonly>

Revision as of 21:53, 25 June 2009

DO NOT USE Certain things are broken, it seems...

What is this?

This is a very advanced Pokémon infobox primarily targeted for userpages. With it one can show almost everything related to a Pokémon.

List of parameters

Parameter Use Default value
VALUE PARAMETERS
boxwidth Width of the whole complex 100%
bgcolor Background color of the whole complex transparent
gamecode Game code used for the sprite (1r, 1b, 1y, 2g and so). See defaultimg! 4p
gameext Extension of the image. See defaultimg! png
no The National Dex number of the Pokémon, with leading zeroes 001
shiny If the Pokémon is shiny, add " s"
ball The name of the ball the Pokémon is caught in, without the "Ball" part. Poké => Poke Poke
nickname The nickname of the Pokémon The Pokémon's name
level The level of the Pokémon 1
gender The gender of the Pokémon
type1 The first type of the Pokémon Normal
type2 The second type of the Pokémon, leave blank if none
otcolor The color the Original Trainer should be written with. Use ff0000 or 00ff00 for female and male trainers respectively 00ff00
otname The Original Trainer of the Pokémon TRAINER
idno The ID No. of the OT of the Pokémon 00000
catchnotes Can be used for any text Distant land
Arrived at Lv. 1
nature The nature of the Pokémon Unknown nature
ability The ability of the Pokémon Pickup
item The item the Pokémon is holding
itempage The name of the Bulbapedia page the held item is described on. Used for creating a link; if not defined, the item name will not become a link
hp The current HP of the Pokémon hpmax
hpmax The max HP of the Pokémon 10
exp The current amount of gained EXP. Points. See expscheme! 0
attack
defense
spattack
spdefense
speed
The stats of the Pokémon 7
hpev
attackev
defenseev
spattackev
spdefenseev
speedev
The gained EV points for each of the stats. See showevs! 0
status Current status problem, if any OK
m1
m2
m3
m4
The moves of the Pokémon First: Struggle
Others: blank
m1pp
m2pp
m3pp
m4pp
The current PP of each of the moves m1ppmax
m2ppmax
m3ppmax
m4ppmax
m1ppmax
m2ppmax
m3ppmax
m4ppmax
The max PP of each of the moves 10
m1type
m2type
m3type
m4type
The types of the moves First: Normal
Others: blank
m1cont
m2cont
m3cont
m4cont
The contest types of the moves First: Tough
Others: blank
m1cat
m2cat
m3cat
m4cat
The categories of the moves First: Status
Others: blank
TOGGLE PARAMETERS
expscheme Defines the EXP formula used by the Pokémon. This is used for calculating the EXP bar on the stats section. Acceptable values are 600k, 800k, 1M, 1.05M, 1.25M and 1.64M; you can find the correct value by checking the Pokémon's Bulbapedia page. It's the value named "Experience at Lv. 100". 1M
defaultimg Defines whether the template should use a specific game version sprite (Spr xx xxx.png/gif) or the default sprite (xxx.png). Acceptable values are yes (use the short default version) and no. no
statsdisp Defines how the stats section should be shown. Acceptable values are autoshow (the section is expanded by default), default (the section is collapsed by default) and hide (the section is not shown at all). default
movesdisp Same as statsdisp, only with the moveset section. default
showevs Defines whether the gained EV points should be shown under the stats. Acceptable values are show and hide. hide

Example

{{User:UltimateSephiroth/PartyPokéTemplate
|boxwidth=100%
|bgcolor={{ghost color}}
|gamecode=4p
|gameext=png
|no=425
|ball=Dusk
|level=15
|gender=♂
|type1=Ghost
|type2=Flying
|otcolor=00ff00
|otname=U.S.
|idno=08846
|catchnotes=Jun. 19, 2009<br />[[Valley Windworks]]<br />Met at Lv. 15.
|nature=Lax
|ability=Aftermath
|exp=1957
|hp=53
|hpmax=53
|attack=23
|defense=16
|spattack=27
|spdefense=18
|speed=30
|status=OK
|m1=Minimize     |m1pp=20 |m1ppmax=20 |m1type=Normal |m1cont=Cute  |m1cat=Status
|m2=Astonish     |m2pp=15 |m2ppmax=15 |m2type=Ghost  |m2cont=Smart |m2cat=Physical
|m3=Gust         |m3pp=35 |m3ppmax=35 |m3type=Flying |m3cont=Smart |m3cat=Special
|m4=Focus Energy |m4pp=30 |m4ppmax=30 |m4type=Normal |m4cont=Cool  |m4cat=Status
|expscheme=1.64M
|showevs=hide
|statsdisp=default
|movesdisp=default
}}

User:UltimateSephiroth/PartyPokéTemplate