Template:MastersIcon/Table/doc

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

{{MastersIcon/Table}} is similar to {{MastersIcon}}, but instead generates icons + links for use in a table, such as on Sync grid, Masters EX star.png 6★ EX, or Expedition skill.

Usage

{{MastersIcon/Table
|trainer=
|displaytrainer=
|sygna=
|alt=
|ex=
|filename=
|pokemon=
|displaypokemon=
|pokemonnum=
|size=
}}

Template Fields

Trainer

  • trainer - The Trainer's name. Do not include any signifiers of an alt.
  • displaytrainer (optional) - Override the display of the trainer's name, if it does not match their file (tends to be the case with professors and The Masked Royal).
  • sygna (optional) - Set to 1 if the Trainer is wearing a sygna suit. Leave blank otherwise.
  • alt (optional) - Signifier of an alt, if it's not just a sygna suit. Do not include any parentheses. (If the trainer is not an alt, leave blank.)
    • In the case of "Sygna Suit Cynthia (Aura)" or something similar, set sygna to 1 and put "Aura" in alt.
  • ex (optional) - Set to 1 to display the Trainer image in EX colors. Otherwise, leave blank.
  • filename (optional) - Custom override to the file name of the Trainer icon.
    • Normally, The template will attempt to find the filename based on the values of sygna, alt, and ex.
    • If the correct file is not found or is named irregularly, provide the correct name in this field, without "VS" and without " Masters.png". (If the trainer is not an alt, leave blank.)

Pokémon

  • pokemon - The name of the Pokémon. Must match how the Pokémon's section is named on the Trainer's Masters article.
  • displaypokemon (optional) - Custom override to the displayed name of the Pokémon.
    • Normally, the template will display the name of the Pokémon's section.
    • This field can also be used to indicate Mega Evolutions, or to use a shorter name than the full one.
  • pokemonnum - Pokédex number of the Pokémon, to find its image file. If its file indicates a form, state that - for example 719_s for Shiny Diancie

Pair

  • size (optional) - Desired size of the images. Defaults to 32px.

Examples

Non-alt trainer

{| class="roundy sortable" style="margin:auto; background:#{{orange color}}; border:3px solid #{{gold color}};
! style="background-color:#{{gold color light}}; {{roundytl|5px}}"| Sync pair
! style="background-color:#{{gold color light}}; {{roundytr|5px}}"| misc data 1
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Piers|pokemon=Obstagoon|pokemonnum=0862}}
| data etc
|}
Sync pair misc data 1
data etc

Custom trainer name

{| class="roundy sortable" style="margin:auto; background:#{{orange color}}; border:3px solid #{{gold color}};
! style="background-color:#{{gold color light}}; {{roundytl|5px}}"| Sync pair
! style="background-color:#{{gold color light}}; {{roundytr|5px}}"| misc data 1
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Masked Royal|displaytrainer=The Masked Royal|pokemon=Incineroar|pokemonnum=0727}}
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Sycamore|displaytrainer=Professor Sycamore|pokemon=Xerneas|pokemonnum=0716}}
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Oak|displaytrainer=Professor Oak|pokemon=Mew (Pre-Sync Move → Post-Sync Move)|displaypokemon=Mew|pokemonnum=0151}}
|}
Sync pair misc data 1
data etc
data etc
data etc

Alt trainer with a custom Pokémon name

{| class="roundy sortable" style="margin:auto; background:#{{orange color}}; border:3px solid #{{gold color}};
! style="background-color:#{{gold color light}}; {{roundytl|5px}}"| Sync pair
! style="background-color:#{{gold color light}}; {{roundytr|5px}}"| misc data 1
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Diantha|alt=Special Costume|pokemon=Keldeo (Resolute Form)|displaypokemon=Keldeo|pokemonnum=0647R}}
| data etc
|}
Sync pair misc data 1
data etc

Pairs in different cells

{| class="roundy sortable" style="margin:auto; background:#{{orange color}}; border:3px solid #{{gold color}};
! style="background-color:#{{gold color light}}; {{roundytl|5px}}"| Sync pair
! style="background-color:#{{gold color light}}; {{roundytr|5px}}"| misc data 1
|- style="background:#fff"
|{{MastersIcon/Table|trainer=Diantha|alt=Special Costume|pokemon=Keldeo (Resolute Form)|displaypokemon=Keldeo|pokemonnum=0647R}}
| Diantha data etc
|- style="background:#fff"
| {{MastersIcon/Table|trainer=May|pokemon=Mudkip → Marshtomp → Swampert|pokemonnum=0260}}
| May data etc
|}
Sync pair misc data 1
Diantha data etc
May data etc