Template:Evobox/Formes/doc

From Bulbapedia, the community-driven Pokémon encyclopedia.
< Template:Evobox‎ | Formes
Revision as of 01:22, 18 August 2023 by Boblers (talk | contribs) (documenting new behavior of itemfile(x))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This template is to be used for Pokémon that can swap between different forms.

Usage

{{Evobox/Formes
|type1-disp=
|type2-disp=
|name1=

|sprite1=
|type1-1=
|type2-1=
|forme1=
|loc1=

|item1=
|itemfile1=
|itemsize1=
|itemlink1=
|itemdisplay1=
|sprite2=
|type1-2=
|type2-2=
|forme2=
|loc2=

|item2=
|itemfile2=
|itemsize2=
|itemlink2=
|itemdisplay2=
|sprite3=
|type1-3=
|type2-3=
|forme3=
|loc3=

|item3=
|itemfile3=
|itemsize3=
|itemlink3=
|itemdisplay3=
|sprite4=
|type1-4=
|type2-4=
|forme4=
|loc4=

|item4=
|itemfile4=
|itemsize4=
|itemlink4=
|itemdisplay4=
|sprite5=
|type1-5=
|type2-5=
|forme5=
|loc5=

|item5=
|itemfile5=
|itemsize5=
|itemlink5=
|itemdisplay5=
|sprite6=
|type1-6=
|type2-6=
|forme6=
|loc6=
}}

Template fields

Fields relating to the overall display

  • type1-disp - The type to be used for the background color of the evobox.
  • type2-disp - The type to be used for the border color of the evobox. If not provided, falls back on type1-disp. If that's not provided either, falls back on the typing of the Pokémon's base form.
  • name1 - The Pokémon's species name.

Fields relating to the Pokémon's base form (form 1):

  • sprite1 - The file name of the sprite/art for form 1.
  • type1-1 - Form 1's primary type.
  • type2-1 - Form 1's secondary type.
  • forme1 - Form 1's name.
  • loc1 - Location requirement to change into form 1.

Fields relating to the Pokémon's second form (form 2):

  • item1 - Item requirement to change into form 2.
    • itemfile1 - A custom file name, if "Bag item1 Sprite.png" is not the desired file.
    • itemsize1 - A custom display size for item1's image. Defaults to 24px.
    • itemlink1 - A custom page to link to, if item1 is not the desired target page.
    • itemdisplay1 - A custom item name to display, if item1 is not the desired display name.
  • sprite2 - The file name of the sprite/art for form 2.
  • type1-2 - Form 2's primary type.
  • type2-2 - Form 2's secondary type.
  • forme2 - Form 2's name.
  • loc2 - Location requirement to change into form 2.

Fields relating to the Pokémon's third form (form 3):

  • item2 - Item requirement to change into form 3.
    • itemfile2 - A custom file name, if "Bag item2 Sprite.png" is not the desired file.
    • itemsize2 - A custom display size for item2's image. Defaults to 24px.
    • itemlink2 - A custom page to link to, if item2 is not the desired target page.
    • itemdisplay2 - A custom item name to display, if item2 is not the desired display name.
  • sprite3 - The file name of the sprite/art for form 3.
  • type1-3 - Form 3's primary type.
  • type2-3 - Form 3's secondary type.
  • forme3 - Form 3's name.
  • loc3 - Location requirement to change into form 3.

Fields relating to the Pokémon's fourth form (form 4):

  • item3 - Item requirement to change into form 4.
    • itemfile3 - A custom file name, if "Bag item3 Sprite.png" is not the desired file.
    • itemsize3 - A custom display size for item3's image. Defaults to 24px.
    • itemlink3 - A custom page to link to, if item3 is not the desired target page.
    • itemdisplay3 - A custom item name to display, if item3 is not the desired display name.
  • sprite4 - The file name of the sprite/art for form 4.
  • type1-4 - Form 4's primary type.
  • type2-4 - Form 4's secondary type.
  • forme4 - Form 4's name.
  • loc4 - Location requirement to change into form 4.

Fields relating to the Pokémon's fifth form (form 5):

  • item4 - Item requirement to change into form 5.
    • itemfile4 - A custom file name, if "Bag item4 Sprite.png" is not the desired file.
    • itemsize4 - A custom display size for item4's image. Defaults to 24px.
    • itemlink4 - A custom page to link to, if item4 is not the desired target page.
    • itemdisplay4 - A custom item name to display, if item4 is not the desired display name.
  • sprite5 - The file name of the sprite/art for form 5.
  • type1-5 - Form 5's primary type.
  • type2-5 - Form 5's secondary type.
  • forme5 - Form 5's name.
  • loc5 - Location requirement to change into form 5.

Fields relating to the Pokémon's sixth form (form 6):

  • item5 - Item requirement to change into form 6.
    • itemfile5 - A custom file name, if "Bag item5 Sprite.png" is not the desired file.
    • itemsize5 - A custom display size for item5's image. Defaults to 24px.
    • itemlink5 - A custom page to link to, if item5 is not the desired target page.
    • itemdisplay5 - A custom item name to display, if item5 is not the desired display name.
  • sprite6 - The file name of the sprite/art for form 6.
  • type1-6 - Form 6's primary type.
  • type2-6 - Form 6's secondary type.
  • forme6 - Form 6's name.
  • loc6 - Location requirement to change into form 6.

Note that the fields type1-disp, name1, sprite(x), type1-(x), type2-(x), forme(x), and loc(x) will be passed to Template:Evobox/Setup.

Examples

Deoxys (4 forms)

{{Evobox/Formes
|sprite1=0386Deoxys
|name1=Deoxys
|type1-1=Psychic
|forme1=Normal Forme
|sprite2=0386Deoxys-Attack
|forme2=Attack Forme
|sprite3=0386Deoxys-Defense
|forme3=Defense Forme
|sprite4=0386Deoxys-Speed
|forme4=Speed Forme}}
Deoxys
Normal Forme
Deoxys
 Psychic 


Deoxys
Attack Forme
Deoxys
 Psychic 


Deoxys
Defense Forme
Deoxys
 Psychic 


Deoxys
Speed Forme
Deoxys
 Psychic 

Rotom (location requirement)

{{Evobox/Formes
|type2-disp=Ghost
|loc1= 
|sprite1=0479Rotom
|name1=Rotom
|type1-1=Electric
|type2-1=Ghost
|forme=6
|forme1=Rotom
|sprite2=0479Rotom-Heat
|forme2=Heat Rotom
|type1-2=Electric
|type2-2=Fire
|loc2=Microwave oven
|sprite3=0479Rotom-Wash
|forme3=Wash Rotom
|type1-3=Electric
|type2-3=Water
|loc3=Washing machine
|sprite4=0479Rotom-Frost
|forme4=Frost Rotom
|type1-4=Electric
|type2-4=Ice
|loc4=Refrigerator
|sprite5=0479Rotom-Fan
|forme5=Fan Rotom
|type1-5=Electric
|type2-5=Flying
|loc5=Electric fan
|sprite6=0479Rotom-Mow
|forme6=Mow Rotom
|type1-6=Electric
|type2-6=Grass
|loc6=Lawnmower}}
 
Rotom
Rotom
Rotom
 Electric  Ghost 


Microwave oven
Rotom
Heat Rotom
Rotom
 Electric  Fire 


Washing machine
Rotom
Wash Rotom
Rotom
 Electric  Water 


Refrigerator
Rotom
Frost Rotom
Rotom
 Electric  Ice 


Electric fan
Rotom
Fan Rotom
Rotom
 Electric  Flying 


Lawnmower
Rotom
Mow Rotom
Rotom
 Electric  Grass 

Zamazenta (item requirement and custom item fields)

{{Evobox/Formes
|sprite1=0889Zamazenta-Hero
|name1=Zamazenta
|type1-1=Fighting
|forme1=Hero of Many Battles
|loc1=Default
|item1=Rusted Shield
|itemfile1=Bag Rusted Shield SV Sprite.png
|itemsize1=40px
|sprite2=0889Zamazenta
|type1-2=Fighting
|type2-2=Steel
|forme2=Crowned Shield
|loc2={{color2|000|Held item|Held}} Rusted Shield
}}
Default
Zamazenta
Hero of Many Battles
Zamazenta
 Fighting 

Rusted Shield
Rusted Shield


Held Rusted Shield
Zamazenta
Crowned Shield
Zamazenta
 Fighting  Steel