模板:Double image/doc

来自Local Chinese Wikipedia
imported>A1Cafel2021年10月12日 (二) 10:50的版本 参见
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

页面Module:Message box/mbox.css没有内容。页面Template:Ombox/style.css没有内容。

本模板的用途是在产生一个内含有两张图片与图说的的图文框,图文框中的图片,是以水平方式横向并排。

{{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}}

范例[编辑]

页面Template:Multiple image/styles.css没有内容。

球员在被警告时会拿到一张黄卡,而在拿到红卡时则表示被驱逐出场

To the right, with one single caption:

{{double image|right|Yellow card.svg|60|Red card.svg|60|球員在被警告時會拿到一張黃卡,而在拿到紅卡時則表示被驅逐出場||Yellow cartouche|Red cartouche}}


页面Template:Multiple image/styles.css没有内容。

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}}

参见[编辑]