User:Boblers/switchbtn

From Bulbapedia, the community-driven Pokémon encyclopedia.
< User:Boblers
Revision as of 12:48, 23 August 2023 by Boblers (talk | contribs) (putting clicktoggle into the button 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|target=1}}
{{User:Boblers/switchbtn|filename=0052Meowth-Alola.png|caption=Alolan<br>Meowth|color1=Dark|target=2}}
{{User:Boblers/switchbtn|filename=0052Meowth-Galar.png|caption=Galarian<br>Meowth|color1=Steel|target=3}}
{{User:Boblers/switchbtn|filename=0052Meowth-Gigantamax.png|caption=[[File:Dynamax icon.png|link=]] Gigantamax<br>Meowth|color1=Normal|target=4}}
0052Meowth.png
Meowth
0052Meowth-Alola.png
Alolan
Meowth
0052Meowth-Galar.png
Galarian
Meowth
0052Meowth-Gigantamax.png
Dynamax icon.png Gigantamax
Meowth