User:Boblers/switchbtn

From Bulbapedia, the community-driven Pokémon encyclopedia.
< User:Boblers
Revision as of 07:52, 23 August 2023 by Boblers (talk | contribs) (updating image template and correcting sample preformatted code)
Jump to navigationJump to search


Usage

{{User:Boblers/switchbtn
|filename=
|caption=
|color1=
|color2=
}}

Template fields

  • filename - Name of the file to be used.
  • caption - Caption to display below the file.
  • color1 - Color name to use for the background.
  • color2 (optional) - Color name to use for the border. If not provided, color1's value is used instead.

Examples

{{User:Boblers/switchbtn|filename=0052Meowth.png|caption=Meowth|color1=Normal}}
{{User:Boblers/switchbtn|filename=0052Meowth-Alola.png|caption=Alolan<br>Meowth|color1=Dark}}
{{User:Boblers/switchbtn|filename=0052Meowth-Galar.png|caption=Galarian<br>Meowth|color1=Steel}}
{{User:Boblers/switchbtn|filename=0052Meowth-Gigantamax.png|caption=[[File:Dynamax icon.png|link=]] Gigantamax<br>Meowth|color1=Normal}}
0052Meowth.png
Meowth
0052Meowth-Alola.png
Alolan
Meowth
0052Meowth-Galar.png
Galarian
Meowth
0052Meowth-Gigantamax.png
Dynamax icon.png Gigantamax
Meowth