Template: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.
參數
編輯Odd numbered parameters provide the image in wikitext; even numbered parameters provide the captions. Up to 20 images are supported.
例
編輯{{Switcher
| [[File:Example.png|300px]]
| An example
| [[File:Example image not to be used in article namespace.jpg|300px]]
| A different example
}}
Output:
模數據
編輯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) | 字串 | 可選 |
上面嘅解係穿透包含咗自Template:Switcher/doc。 (改 | 史) 編者可以響呢個模嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/doc嘅細版度。 呢個模嘅細版。 |