模板:Photo montage
此模板使用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}}