User:Tiddlywinks/MultiForms/doc

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search

This template shows how a Pokémon change forms, if: any form can change into any other and it can change among three or more forms. If it only has two forms or if two forms can only change with another and not each other (branching), then User:Tiddlywinks/EvoBox/v2 should be used.

Parameters

Unnamed
  • 1: the number of forms the Pokémon has
  • 2: text to be placed in the header, describing the general method by which the Pokémon changes forms
  • 3: the primary color for this evobox (usually the first type of the Pokémon whose page this is on)
  • 4 (optional): the secondary color for this evobox (usually the second type of the Pokémon whose page this is on, if it has two types)
Named
  • header (optional): a replacement of the entire header, including formatting; this makes it easier to insert any custom code for the header if so desired
  • halign (optional): how elements in the method are horizontally aligned; this sets the "justify-content" property of the grid and has the options "center", "space-evenly", "space-around", "space-between", "start", and "end". Defaults to "space-around".
  • valign (optional): how elements in the method are vertically aligned; this sets the "align-content" property of the grid and has the same options as halign. Defaults to "center".
  • talign (optional): how all text in the method is aligned (may also affect things like images); this sets the "text-align" property of the grid and has the options "center", "left", "right", and "justify". Defaults to "center".

Usage

After {{Tiddlywinks/MultiForms/doc}}, you must add User:Tiddlywinks/EvoMon and User:Tiddlywinks/EvoMethod calls for each form and form change method (their order does not matter). At the end, the original call must be closed with </div>

To show a form, call User:Tiddlywinks/EvoMon and User:Tiddlywinks/EvoMethod with parameters ranging from e=0 to e=5 (depending on the number of forms required).

Six forms is probably the limit for form changes that will be spelled out in this manner. Currently, Pikachu and Rotom reach the maximum of six. Furfrou has ten forms and only shows each form, not explicit methods (and Arceus and Silvally have more).

It is also possible to replace any User:Tiddlywinks/EvoMon or User:Tiddlywinks/EvoMethod with User:Tiddlywinks/EvoFree.