Template:AbilityInfobox/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Updating link)
Line 13: Line 13:
|-
|-
| <code>colorscheme</code>
| <code>colorscheme</code>
| [[User:Tiddlywinks/Bulbapedia:Color guide|List of colors »]]
| [[Help:Color templates|List of colors »]]
| Sets the background and border colors of the template. '''Don't''' include <code>color</code>, <code>color light</code> or <code>color dark</code>.
| Sets the background and border colors of the template. '''Don't''' include <code>color</code>, <code>color light</code> or <code>color dark</code>.
|-
|-

Revision as of 20:39, 24 February 2023

This infobox template is used on Ability pages to outline their flavor text in each generation.

How to use

Infoboxes should be used at the beginning of the page, before any introductory text.

Parameters

All parameters are case sensitive.

Parameter Allowed values Notes
colorscheme List of colors » Sets the background and border colors of the template. Don't include color, color light or color dark.
Depreciated:
bordercolor
Hex code Optional. Sets the template border color. Don't include #. Overridden by colorscheme.
Depreciated:
bgcolor
Hex code Optional. Sets the template background color. Don't include #. Overridden by colorscheme.
Depreciated:
headercolor
Hex code Optional. Sets the inner background color. Don't include #. Overridden by colorscheme.
name String Name in English
jpname String Name in Japanese
jptrans String Translation of the Japanese name
jptranslit String Japanese name in rōmaji
text3 String Flavour text from Generation III. Defaults to Currently unknown.
text4 String Flavour text from Generation IV. Defaults to Currently unknown.
text5 String Flavour text from Generation V. Defaults to Currently unknown.
text6 String Flavour text from Generation VI. Defaults to Currently unknown.
text7 String Flavour text from Generation VII. Defaults to Currently unknown.
text8 String Flavour text from Generation VIII. Defaults to Currently unknown.
text9 String Flavour text from Generation IX. Defaults to Currently unknown.
gen 3456789 The Generation the Ability was introduced in.
nocat true Optional. Prevents the template from adding the page to any categories.

Example

Arena Trap ありじごく
Antlion
Flavor text
Generation III
Prevents fleeing.RSEFRLG
Prevents the foe's escape.ColoXD
Generation IV
Prevents the foe from fleeing.
Generation V
Prevents the foe from fleeing.
Generation VI
Prevents opposing Pokémon from fleeing.
Generation VII
Prevents opposing Pokémon from fleeing.
Generation VIII
Prevents opposing Pokémon from fleeing.
Generation IX
Currently unknown
{{AbilityInfobox
| colorscheme = ground
| name = Arena Trap
| jpname = ありじごく
| jptrans = Antlion
| jptranslit = Arijigoku
| text3 = Prevents fleeing.{{sup/3|RSEFRLG}} <br />Prevents the foe's escape.{{sup/ss|Colo}}{{sup/ss|XD}}
| text4 = Prevents the foe from fleeing.
| text5 = Prevents the foe from fleeing.
| text6 = Prevents opposing Pokémon from fleeing.
| text7 = Prevents opposing Pokémon from fleeing. 
| text8 = Prevents opposing Pokémon from fleeing.
| gen = 3
| nocat = true
}}