Template:AbilityInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Gen VI update.)
(deprecated)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="roundy" width="25%" style="float:right; border: 3px solid #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color dark}}|{{{bordercolor|8888AA}}}}}; background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color}}|{{{bgcolor|CCCCFF}}}}}; margin-left: 5px; margin-bottom: 5px;"
<noinclude>
|- style="text-align:center;"
{{OldTemplate}}
</noinclude>{| class="roundy" width="25%" style="float:right; border: 3px solid #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color dark}}|{{{bordercolor|8888AA}}}}}; background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color}}|{{{bgcolor|CCCCFF}}}}}; margin-left: 5px; margin-bottom: 5px"
|- style="text-align:center"
| rowspan="2" | <big>'''{{#if: {{{name|}}}|{{{name}}}|{{{jptrans}}}}}'''</big>
| rowspan="2" | <big>'''{{#if: {{{name|}}}|{{{name}}}|{{{jptrans}}}}}'''</big>
| <span lang="ja">'''{{#if: {{{name|}}}|{{tt|{{{jpname}}}|{{{jptranslit}}}}}|{{{jpname}}}}}'''</span>
| <span lang="ja">'''{{#if: {{{name|}}}|{{tt|{{{jpname}}}|{{{jptranslit}}}}}|{{{jpname}}}}}'''</span>
|- style="text-align:center;"
|- style="text-align:center"
| <small>''{{#if: {{{name|}}}|{{{jptrans}}}|{{{jptranslit}}}}}''</small>
| <small>''{{#if: {{{name|}}}|{{{jptrans}}}|{{{jptranslit}}}}}''</small>
|-
|-
| class="roundy" colspan="2" style="background:#{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}};" | <div style="text-align:center;">'''Flavor text'''</div>
| class="roundy" colspan="2" style="background:#{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}" | <div style="text-align:center">'''Flavor text'''</div>
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 3|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse;"
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 3|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse"
|-
|-
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{hoenn color light}}|EEEEFF}}; line-height: 8pt" | <small>{{color2|000|Generation III}}</small>
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{hoenn color light}}|EEF}}; line-height: 8pt" | <small>{{color2|000|Generation III}}</small>
|  
|  
|-
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background: #FFFFFF;" | {{{text3|Currently unknown}}}
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background:#FFF" | {{{text3|Currently unknown}}}
|}
|}
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 4|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse;"
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 4|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse"
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
|-
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{sinnoh color light}}|EEEEFF}}; line-height: 8pt" | <small>{{color2|000|Generation IV}}</small>
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{sinnoh color light}}|EEF}}; line-height: 8pt" | <small>{{color2|000|Generation IV}}</small>
|  
|  
|-
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background: #FFFFFF;" | {{{text4|Currently unknown}}}
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background:#FFF" | {{{text4|Currently unknown}}}
|}
|}
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 5|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse;"
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 5|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse"
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
|-
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{unova color light}}|EEEEFF}}; line-height: 8pt" | <small>{{color2|000|Generation V}}</small>
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{unova color light}}|EEF}}; line-height: 8pt" | <small>{{color2|000|Generation V}}</small>
|  
|  
|-
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background: #FFFFFF;" | {{{text5|Currently unknown}}}
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background:#FFF" | {{{text5|Currently unknown}}}
|}
|}
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 6|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse;"
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 6|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse"
|-
|-
| colspan="2" |  
| colspan="2" |  
|-
|-
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{kalos color light}}|EEEEFF}}; line-height: 8pt" | <small>{{color2|000|Generation VI}}</small>
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{kalos color light}}|EEF}}; line-height: 8pt" | <small>{{color2|000|Generation VI}}</small>
|  
|  
|-
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background: #FFFFFF;" | {{{text6|Currently unknown}}}
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background:#FFF" | {{{text6|Currently unknown}}}
|}
|}
|}<noinclude>[[Category:Infobox templates]]</noinclude><includeonly>[[Category:Abilities]][[Category:Abilities introduced in Generation {{#switch: {{{gen|3}}}|3=III|4=IV|5=V|6=VI}}]]</includeonly><noinclude>
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 7|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse"
|-
| colspan="2" |
|-
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{alola color light}}|EEF}}; line-height: 8pt" | <small>{{color2|000|Generation VII}}</small>
|
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background:#FFF" | {{{text7|Currently unknown}}}
|}
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 8|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse"
|-
| colspan="2" |
|-
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{galar color light}}|EEF}}; line-height: 8pt" | <small>{{color2|000|Generation VIII}}</small>
|
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background:#FFF" | {{{text8|Currently unknown}}}
|}
{| class="roundy" width="100%" style="{{#ifexpr: {{{gen|3}}} > 9|display:none;}} {{#ifeq: {{{name}}}|Cacophony|display:none;}} background: #{{#if: {{{colorscheme|}}}|{{{{{colorscheme}}} color light}}|{{{headercolor|DDDDFF}}}}}; border-collapse: collapse"
|-
| colspan="2" |
|-
! class="roundytop" width="33%" style="background: #{{#if: {{{colorscheme|}}}|{{paldea color light}}|EEF}}; line-height: 8pt" | <small>{{color2|000|Generation IX}}</small>
|
|-
| colspan="2" style="{{roundyright|10px}} {{roundybl|10px}} background:#FFF" | {{{text9|Currently unknown}}}
|}
|}{{#if:{{{nocat|}}}||<includeonly>[[Category:Abilities]][[Category:Abilities introduced in Generation {{#switch: {{{gen|3}}}|3=III|4=IV|5=V|6=VI|7=VII|8=VIII|9=IX}}]]</includeonly>}}<noinclude>{{Documentation}}
[[Category:Infobox templates]]
[[fr:Modèle:Infobox Capspé]]
[[fr:Modèle:Infobox Capspé]]
</noinclude>
</noinclude>

Latest revision as of 14:49, 2 December 2022

This template is no longer used. It is being retained for archival purposes.
{{{jptrans}}} {{{jpname}}}
{{{jptranslit}}}
Flavor text
Generation III
Currently unknown
Generation IV
Currently unknown
Generation V
Currently unknown
Generation VI
Currently unknown
Generation VII
Currently unknown
Generation VIII
Currently unknown
Generation IX
Currently unknown



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

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.
Deprecated:
bordercolor
Hex code Optional. Sets the template border color. Don't include #. Overridden by colorscheme.
Deprecated:
bgcolor
Hex code Optional. Sets the template background color. Don't include #. Overridden by colorscheme.
Deprecated:
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
}}