FANDOM

2,279 Pages

Pre Timeskip - Post Timeskip NoPicAvailable

Template documentation (for the above template, sometimes hidden or invisible) (view - edit - history)
Description

This template is used to do create a switch between two images, useful for {{Char box}}.

Dependencies

This template uses {{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.
Samples

The basic way

{{Switch
 |[[File:Timeskip Luffy.png|250px|Monkey D. Luffy]] <!-- Default -->
 |[[File:Luffy.png|250px|Monkey D. Luffy]]
}}

placed in {{Char box}} like

{{Char box
|colorscheme	= StrawHatPiratesColors
|name		= Monkey D. Luffy
|image		= {{Switch
		    |[[File:Timeskip Luffy.png|250px|Monkey D. Luffy]] <!-- Default -->
		    |[[File:Luffy.png|250px|Monkey D. Luffy]]
		    }}
|jname		= モンキー・D・ルフィ
|rname		= ''Monkī D. Rufi''
|ename		= Monkey D. Luffy
|first		= [[Chapter 1]]; [[Episode 1]]
|affltion	= [[Straw Hat Pirates]];<br/>[[Dadan Family]] (former);<br/>[[Bluejam Pirates]] (former)
|ocupation	= [[Pirate]]; [[Captain]]
|epithet	= {{Char box epithet|epithet={{Nihongo|Straw Hat Luffy|麦わらのルフィ|Mugiwara no Rufi}} }}
|jva		= [[Wikipedia:Mayumi Tanaka|Mayumi Tanaka]];<br/>[[Wikipedia:Urara Takano|Urara Takano]] ([[One Piece - Defeat Him! The Pirate Ganzack|OVA]])
}}

gives:


With custom options:

{{Switch
 |option1 = Second part <!-- Default -->
 |image1  = [[File:Timeskip Luffy.png|250px|Monkey D. Luffy]] <!-- Default -->
 |option2 = First part
 |image2  = [[File:Luffy.png|250px|Monkey D. Luffy]]
}}

placed in {{Char box}} like

{{Char box
|colorscheme	= StrawHatPiratesColors
|name		= Monkey D. Luffy
|image		= {{Switch
                    |option1 = Second part <!-- Default -->
                    |image1  = [[File:Timeskip Luffy.png|250px|Monkey D. Luffy]] <!-- Default -->
                    |option2 = First part
                    |image2  = [[File:Luffy.png|250px|Monkey D. Luffy]]
                  }}
|jname		= モンキー・D・ルフィ
|rname		= ''Monkī D. Rufi''
|ename		= Monkey D. Luffy
|first		= [[Chapter 1]]; [[Episode 1]]
|affltion	= [[Straw Hat Pirates]];<br/>[[Dadan Family]] (former);<br/>[[Bluejam Pirates]] (former)
|ocupation	= [[Pirate]]; [[Captain]]
|epithet	= {{Char box epithet|epithet={{Nihongo|Straw Hat Luffy|麦わらのルフィ|Mugiwara no Rufi}} }}
|jva		= [[Wikipedia:Mayumi Tanaka|Mayumi Tanaka]];<br/>[[Wikipedia:Urara Takano|Urara Takano]] ([[One Piece - Defeat Him! The Pirate Ganzack|OVA]])
}}

gives:


See Also

- {{Toggle}}.

Visit Template:Switch/doc to edit this text! (How does this work?) (Refresh this text - why?)
Community content is available under CC-BY-SA unless otherwise noted.