Template:Double image:修订间差异
外观
无编辑摘要 |
小 Naughty Jeffrey 已移動頁面 Template:2images 至 Template:Double Image |
(没有差异)
|
2016年6月24日 (五) 11:47的版本
Template:Double image已停用。 |
本模板的用途是在產生一個內含有兩張圖片與圖說的的圖文框,圖文框中的圖片,是以水平方式橫向並排。
{{Double Image}}={{2images}}={{Double image}}={{双图}}
用途
參數的設定方式如下:
{{double image|left/right/center|Left image|Left image size|Right image|Right image size|Left caption|Right caption|Left alt text|Right alt text}}
or
{{double image |1=left/right/center |2=Left image |3=Left image size |4=Right image |5=Right image size |6=Left caption |7=Right caption (leave blank to combine) |8=Left image alt text |9=Right image alt text}}
範例
To the right, with one single caption:
{{double image|right|Yellow card.svg|60|Red card.svg|60|球員在被警告時會拿到一張黃卡,而在拿到紅卡時則表示被驅逐出場||Yellow cartouche|Red cartouche}}
To the left. With two captions, one beneath each image:
{{double image|left|Yellow card.svg|60|Red card.svg|60|黃卡|紅卡|Yellow cartouche|Red cartouche}}
参见
- {{Multiple image}}
上述文档嵌入自Template:Double image/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |