Template:Photo montage/doc View history

m (Kentsmith9 moved page Template:Montage/doc to Template:Photo montage/doc without leaving a redirect: Matches Wikipedia template name)
(Fixed template links)
 
Line 5: Line 5:
The number of photos in a row as number of rows is optional.
The number of photos in a row as number of rows is optional.
<pre style="overflow:auto"><nowiki>
<pre style="overflow:auto"><nowiki>
{{Photomontage
{{Photo montage
| photo1a =  
| photo1a =  
| photo1b =  
| photo1b =  
Line 57: Line 57:
=== Example 1: images only ===
=== Example 1: images only ===
<pre style="overflow:auto"><nowiki>
<pre style="overflow:auto"><nowiki>
{{Photomontage
{{Photo montage
| photo1a = Sevilla Plaza de España 19-03-2011 13-36-19.jpg
| photo1a = Sevilla Plaza de España 19-03-2011 13-36-19.jpg
| photo2a = Torredelorotyteatrolamaestranza.JPG
| photo2a = Torredelorotyteatrolamaestranza.JPG
Line 66: Line 66:
}}
}}
</nowiki></pre>
</nowiki></pre>
{{Photomontage
{{Photo montage
| photo1a = Sevilla Plaza de España 19-03-2011 13-36-19.jpg
| photo1a = Sevilla Plaza de España 19-03-2011 13-36-19.jpg
| photo2a = Torredelorotyteatrolamaestranza.JPG
| photo2a = Torredelorotyteatrolamaestranza.JPG
Line 78: Line 78:


=== Example 2: optional parameters ===
=== Example 2: optional parameters ===
{{Photomontage
{{Photo montage
| photo1a = Trujillo Perú PZ.jpg{{!}}Freedom Monument, in Main Square of Trujillo city
| photo1a = Trujillo Perú PZ.jpg{{!}}Freedom Monument, in Main Square of Trujillo city
| photo2a = Húsares.jpg{{!}}"Húsares de Junín" avenue
| photo2a = Húsares.jpg{{!}}"Húsares de Junín" avenue
Line 99: Line 99:
}}
}}


{{Photomontage
{{Photo montage
| photo1a = Trujillo Perú PZ.jpg{{!}}Freedom Monument, in Main Square of Trujillo city
| photo1a = Trujillo Perú PZ.jpg{{!}}Freedom Monument, in Main Square of Trujillo city
| photo2a = Húsares.jpg{{!}}"Húsares de Junín" avenue
| photo2a = Húsares.jpg{{!}}"Húsares de Junín" avenue
Line 124: Line 124:
=== Example 3: transparent background ===
=== Example 3: transparent background ===
<pre style="overflow:auto"><nowiki>
<pre style="overflow:auto"><nowiki>
{{Photomontage
{{Photo montage
| photo2a = PNG transparency demonstration 1.png{{!}}Four transparent dices
| photo2a = PNG transparency demonstration 1.png{{!}}Four transparent dices
| photo2b = White Stars 3.svg{{!}}Three white stars with black outlines
| photo2b = White Stars 3.svg{{!}}Three white stars with black outlines
Line 138: Line 138:
}}
}}
</nowiki></pre>
</nowiki></pre>
{{Photomontage
{{Photo montage
| photo2a = PNG transparency demonstration 1.png{{!}}Four transparent dices
| photo2a = PNG transparency demonstration 1.png{{!}}Four transparent dices
| photo2b = White Stars 3.svg{{!}}Three white stars with black outlines
| photo2b = White Stars 3.svg{{!}}Three white stars with black outlines
Line 161: Line 161:
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Templates not transcluded as of 2016-08]]
[[Category:Graphic templates]]
[[Category:Graphic templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->


</includeonly>
</includeonly>

Latest revision as of 21:32, 24 August 2022

This is a documentation subpage for Template:Photo montage.
It contains usage information, categories and other content that is not part of the original template page.

Usage

This template is for grouping several images with possibility of lining them in 7 rows and 7 columns. The number of photos in a row as number of rows is optional.

{{Photo montage
| 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 = Number indicating width of the montage (default: 200)
| position = Position of montage: left, center, centre, right, none (default: left)
| spacing = Number indicating width of spacing between the images (default: 1)
| color = Color of spacing between the images (default: black)
| border = Number indicating width of border surrounding the montage (default: 1)
| color_border = Color of border surrounding the montage (default: black)
| text = Text displayed below montage but within border, wrapped to montage width
| text_background = Color of background behind text (default: #F8F8FF)
| foot_montage = Footer displayed under montage beneath border, not wrapped
}}

Examples

Example 1: images only

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

Template:Photo montage This text was entered below the template.

Example 2: optional parameters

Template:Photo montage

Template:Photo montage This text was entered below the template.

Example 3: transparent background

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

Template:Photo montage This text was entered below the template.