模板:Photo montage
(重定向自Template:Photomontage)
此模板使用Lua语言: |
说明
本模板使用之后能生成矩形图像阵列,最多可以显示“7横排”,而且每一横排的图像显示数量没有限制。本模板一般放置在“城市”类条目中使用,显示城市的景点。
详细使用方法请见下面的“示例”。
代码
{{Photomontage | photo1a = <!-- 可以使用“{{!}}”,在图像后面加注释文字。 --> | photo1b = | photo1c = | photo1d = | photo1e = | photo2a = | photo2b = | photo2c = | photo2d = | photo2e = | photo3a = | photo3b = | photo3c = | photo3d = | photo3e = | photo4a = | photo4b = | photo4c = | photo4d = | photo4e = | photo5a = | photo5b = | photo5c = | photo5d = | photo5e = | photo6a = | photo6b = | photo6c = | photo6d = | photo6e = | photo7a = | photo7b = | photo7c = | photo7d = | photo7e = | size = 图像大小,请使用单位“px”。 | border = 宽度。 | spacing= 宽度之间的间距线的粗细,默认是“1”。 | color_border = 边框的颜色,默认是“黑色”。 | color = 照片之间颜色,默认是“黑色”。 | foot_montage = 脚注文字,对图像矩形阵列进行简要描述文字。 }}
示例
{{Photomontage | photo1a = Sevilla Plaza de España 19-03-2011 13-36-19.jpg{{!}}Plaza de España. | photo2a = Torredelorotyteatrolamaestranza.JPG{{!}}Torre del oro. | photo2b = Sevila10.JPG{{!}}Catedral de Sevilla Y Giralda. | photo3a = Alcaz archiv sev.jpg{{!}}Murallas del Alcázar y Archivo de Indias en la Plaza del Triunfo. | photo3b = Real Alcazares Sevilla Spain.JPG{{!}}Real Alcazares. | photo4a = Pont Triana.jpg{{!}}Puente de Triana | spacing = 2 | size = 266 | foot_montage = 塞尔维亚 }}
塞尔维亚
另外的示例
{{Photomontage |border=1 |color_border=black |color=#000000 |spacing=2 |size=266 |photo1a=Trujillo Perú PZ.jpg{{!}}Monumento a la Libertad, Plaza de Armas de Trujillo | photo1b=Trujillo Perú PZ.jpg |photo2a=Húsares.jpg{{!}}Avenida Húsares de Junín |photo2b=Huanchaco.jpg{{!}}Caballitos de totora en Huanchaco |photo3a=Chan chan wall1.jpg{{!}}Chan Chan, capital of Kingdom Chimu |photo3b=IndependenciaPlazaDeTrujillo.jpg{{!}}Hotel El Libertador |photo4a=Huaca del Sol - Août 2007.jpg{{!}}Huaca del Sol, capital política Mochica |photo5a=Vista de Huanchaco, Perú.JPG{{!}} Balneario de Huanchaco |photo5b=Huaca de la Luna jt02.jpg{{!}}Huaca de La Luna, capital religiosa Mochica |photo5c= US Navy 070812-N-8704K-272 Alvako Coello and Lupita Carrion perform a dance during a closing ceremony for the Military Sealift Command (MSC) hospital ship USNS Comfort (T-AH 20).jpg{{!}}Pareja de niños bailando Marinera |foot_montage = Trujillo city, From Top left to right: The Freedom Monument,<br/>Husares Avenue, Caballitos de totora, Wall in Chan Chan,<br/> El Libertador Hotel, Huaca or Temple of the Sun, Huanchaco,<br/> Painted wall in "Temple of the Moon", Marinera dancers. }}
Trujillo city, From Top left to right: The Freedom Monument,
Husares Avenue, Caballitos de totora, Wall in Chan Chan,
El Libertador Hotel, Huaca or Temple of the Sun, Huanchaco,
Painted wall in "Temple of the Moon", Marinera dancers.
Husares Avenue, Caballitos de totora, Wall in Chan Chan,
El Libertador Hotel, Huaca or Temple of the Sun, Huanchaco,
Painted wall in "Temple of the Moon", Marinera dancers.
参见
- {{Image array}}