Template:Switcher/doc
呢頁係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) | 字串 | 可選 |