Template:Switch
From Pika Fanon
Jump to navigation
Jump to search
Template documentation (for the above template, sometimes hidden or invisible)
- Description
This template is used to do create a switch between two images, useful for Template:CharInfobox (Pokémon).
- Dependencies
This template uses Template:Toggle and its related JavaSripts.
- Syntax
{{Switch |option1 = Text image 1 <!-- Default --> |image1 = Image 1 <!-- Default --> |option2 = Text image 2 |image2 = Image 2 }}
- Parameters
- opotion1= the text associated with image 1 (this is the default text) - optional, default:
Post Timeskip
. - image1/1= the default image to be displayed, can be given as first free parameter.
- opotion2= the text associated with image 2 - optional, default:
Pre Timeskip
. - image2/2= the secondary image, can be given as second free parameter.
Visit Template:Switch/doc to edit this text! (How does this work?)