Перейти до вмісту

Шаблона:Photomontage

Матеріал з Вікіпедія
[edit] [purge] Документація шаблоны

Шаблона:Lua

Тота шаблона монтуе образчикы з можностьов формовати на 7 рядкы и 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 = Число, указуюче ширину монтажа (default: 200)
| position = Позиция монтажа: left, center, centre, right, none (default: left)
| spacing = Одстояня межи образчиками а пикселах (default: 1)
| color = Офарбѣня тла (default: black)
| border = Грубина рамкы в пикселах (default: 1)
| color_border = Офарбѣня рамкы (default: black)
| text = Текст под монтажом удну рамкы
| text_background = Офарбѣня тла под текстом (default: #F8F8FF)
| foot_montage = Текст под монтажом, звонка рамкы
}}

Примѣр 1: самы образчикы

[едітовати жрідло]
{{Photomontage
| photo1a = Sevilla Plaza de España 19-03-2011 13-36-19.jpg
| photo2a = Torredelorotyteatrolamaestranza.JPG
| photo2b = Sevila10.JPG
| photo3a = Alcaz archiv sev.jpg
| photo3b = Real Alcazares Sevilla Spain.JPG
| photo4a = Pont Triana.jpg
}}

Тот текст быв внесеный позад шаблонов.

Примѣр 2: необовязны параметры

[едітовати жрідло]
{{Photomontage
| photo1a = Trujillo Perú PZ.jpg{{!}}Freedom Monument, in Main Square of Trujillo city
| photo2a = Húsares.jpg{{!}}"Húsares de Junín" avenue
| photo2b = Huanchaco.jpg{{!}}"Caballitos de totora" in Huanchaco
| photo3a = Chan chan wall1.jpg{{!}}Chan Chan, capital of Kingdom Chimu
| photo3b = IndependenciaPlazaDeTrujillo.jpg{{!}}"El Libertador" Hotel in Main Square of the city
| photo4a = Huaca del Sol - Août 2007.jpg{{!}}Huaca del Sol, Political capital of Mochicas
| photo5a = Vista de Huanchaco, Perú.JPG{{!}} Huanchaco beach
| photo5b = Huaca de la Luna jt02.jpg{{!}}Huaca de La Luna, religious  capital of Mochicas
| 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{{!}}Children dancing "Marinera"
| size = 300
| position = center
| spacing = 3
| color = #FFFFFF
| border = 3
| color_border = red
| text = ''text'': [[Trujillo, Peru|Trujillo city]], From Top left to right: [[Freedom Monument (Trujillo)|The Freedom Monument]], Husares Avenue, [[Caballitos de totora]], Wall in [[Chan Chan]], El Libertador Hotel, [[Huaca del sol|Huaca or Temple of the Sun]], [[Huanchaco]], [[Huaca de la luna|Painted wall in "Temple of the Moon"]], [[Marinera|Marinera dancers]].
| text_background = #FFDEAD
| foot_montage = ''foot_montage'': [[Trujillo, Peru|Trujillo city]], From Top left to right: [[Freedom Monument (Trujillo)|The Freedom Monument]], Husares Avenue, [[Caballitos de totora]], Wall in [[Chan Chan]], El Libertador Hotel, [[Huaca del sol|Huaca or Temple of the Sun]], [[Huanchaco]], [[Huaca de la luna|Painted wall in "Temple of the Moon"]], [[Marinera|Marinera dancers]].
}}
Freedom Monument, in Main Square of Trujillo city
"Húsares de Junín" avenue"Caballitos de totora" in Huanchaco
Chan Chan, capital of Kingdom Chimu"El Libertador" Hotel in Main Square of the city
Huaca del Sol, Political capital of Mochicas
Huanchaco beachHuaca de La Luna, religious capital of MochicasChildren dancing "Marinera"
text: 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.

Тот текст быв внесеный позад шаблонов.

Примѣр 3: прозрачне тло

[едітовати жрідло]
{{Photomontage
| photo2a = PNG transparency demonstration 1.png{{!}}Four transparent dices
| photo2b = White Stars 3.svg{{!}}Three white stars with black outlines
| photo3a = White Stars 2.svg{{!}}Two white stars with black outlines
| photo3b = Beakerblue.svg{{!}}A beaker full of a blue liquid
| size = 350
| position = right
| spacing = 8
| color = transparent
| border = 0
| text = Sample images with transparent parts
| text_background = transparent
}}
Four transparent dicesThree white stars with black outlines
Two white stars with black outlinesA beaker full of a blue liquid
Sample images with transparent parts

Тот текст быв внесеный позад шаблонов.