User:Boblers/switchbtn

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


Usage

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

Template fields

  • filename - Name of the file to be used.
  • size (optional) - Size of the image to be displayed. Defaults to 100px.
  • 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.
  • group - Name or number of the clicktoggle group. Defaults to 1 (which then becomes "group1")
  • target - Name or number of the clicktoggle target. Defaults to 1 (which then becomes "target1").

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