แม่แบบ: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
[แก้]Odd numbered parameters provide the image in wikitext; even numbered parameters provide the captions.
ตัวอย่าง
[แก้]{{Switcher | [[ไฟล์:New Hampshire Democratic presidential primary election results by county, 2020.svg|x300px]] | Election results by county | [[ไฟล์:New Hampshire Democratic presidential primary election results by town, 2020.svg|x300px]] | Election results by town }}
Output:
TemplateData
[แก้]Creates a switchable image with caption for use in infoboxes
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
1 | 1 | Image 1 wikitext
| ข้อความวิกิที่ไม่สมดุล | เลือกได้ |
2 | 2 | Image 1 caption
| สตริง | เลือกได้ |
3 | 3 | See {{{1}}} (recursive) | ข้อความวิกิที่ไม่สมดุล | เลือกได้ |
4 | 4 | See {{{2}}} (recursive) | สตริง | เลือกได้ |