Templat:Switcher
This template is used to create a switchable image with caption, for use in infoboxes. Note that this template does not work in the editing preview.
Parameters[bulö’ö kode]
Odd numbered parameters provide the image in wikitext; even numbered parameters provide the captions.
Example[bulö’ö kode]
{{Switcher | [[File:Example.png|300px]] | An example | [[File:Example image not to be used in article namespace.jpg|300px]] | A different example }}
Output:
TemplateData[bulö’ö kode]
Creates a switchable image with caption for use in infoboxes
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
1 | 1 | Image 1 wikitext
| Teks wiki tak seimbang | opsional |
2 | 2 | Image 1 caption
| Kata | opsional |
3 | 3 | See {{{1}}} (recursive) | Teks wiki tak seimbang | opsional |
4 | 4 | See {{{2}}} (recursive) | Kata | opsional |
The above documentation is transcluded from Templat:Switcher/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |