Template:Evobox/Setup: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (...)
(hiding default with includeonly, so the page is cleaner)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="margin:auto; text-align:center; background: #{{{{{5|Unknown}}} color}}; {{roundy|10px}}"
<includeonly>{| style="margin:auto; text-align:center; background: #{{{{{5|Unknown}}} color}}; {{roundy|10px}}"
|-  
|-  
{{#if: {{{7|}}}|{{!}} <small>{{{7|}}}</small>
{{#if: {{{7|}}}|{{!}} <small>{{{7|}}}</small>
{{!}}-|}}
{{!}}-|}}
| style="width: 96px; background: #{{{{{3|Normal}}} color light}}; {{roundy|96px}} border: 2px solid #{{{{{4|{{{3|Flying}}}}}} color dark}};" | [[File:{{{1|083}}}.png|{{#if: {{{8|}}}|THIS SPRITE IS FAKE|{{{2|Farfetch'd}}}}}|x96px]]
| style="width: 96px; background: #{{{{{3|Normal}}} color light}}; {{roundy|96px}} border: 2px solid #{{{{{4|{{{3|Flying}}}}}} color dark}};" | [[File:{{{1|083}}}.png|{{#if: {{{8|}}}|{{{8|THIS SPRITE IS FAKE}}}|{{{2|Farfetch'd}}}}}|x96px]]
|-
|-
| <small>{{{6|Does not evolve}}}</small>
| <small>{{{6|Does not evolve}}}</small>
|-
|-
| style="background: #{{{{{5|Unknown}}} color light}}; {{roundy|10px}}" | [[{{{2|Farfetch'd}}} (Pokémon)|{{color|000|{{{2|Farfetch'd}}}}}]]<br><small>{{typecolor|{{{3|Normal}}}}}{{#ifeq: {{{4|{{{3|Normal}}}}}}|{{{3|Normal}}}||{{typecolor|{{{4|Flying}}}}}}}</small>
| style="background: #{{{{{5|Unknown}}} color light}}; {{roundy|10px}};" | [[{{{2|Farfetch'd}}} (Pokémon)|{{color|000|{{{2|Farfetch'd}}}}}]]{{#if:{{{form|}}}|<br><small>{{{form|Normal Form}}}</small>}}<br><small>{{typecolor|{{{3|Normal}}}}}{{#ifeq: {{{4|{{{3|Normal}}}}}}|{{{3|Normal}}}||{{typecolor|{{{4|Flying}}}}}}}</small>
|}<noinclude>[[Category:Chart Box templates]]</noinclude>
|}</includeonly><noinclude>
{{documentation}}
[[Category:Chart Box templates]]</noinclude>

Latest revision as of 03:44, 10 August 2023



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

This template generates a chart box for displaying Pokémon information.

Usage

{{Evobox/Setup
|1
|2
|3
|4
|5
|6
|7
|8
|form=
}}

Template fields

  • field 1 (image filename) - The name of the Pokémon's image file.
  • field 2 (Pokémon species name) - The Pokémon's species name.
  • field 3 (Pokémon type 1) - The Pokémon's primary type
  • field 4 (Pokémon type 2) - The Pokémon's secondary type, if it has one.
  • field 5 (Background color template name) - The name of the desired background color scheme for the box.
  • field 6 (Evolution label or lower caption) (optional) - A caption that appears below the Pokémon's name. This is often used for evolution stage labeling. Defaults to "Does not evolve".
  • field 7 (Upper caption) (optional) - A caption that appears above the Pokémon image.
  • field 8 (Image alt text) (optional) - Alt text for the image. This will display if the image is hovered over.
  • form (optional) - The name of the Pokémon's form, if it has one. This displays under the species name.

Examples

Mega Venusaur

{{Evobox/Setup|HOME0003M|Venusaur|Grass|Poison|Fire|<!--no evolution label-->|Venasaurite|Mega Venusaur|form=Mega Venusaur}}
Venasaurite
Mega Venusaur
Venusaur
Mega Venusaur
 Grass  Poison