Difference between revisions of "Template:Related images"

From Multilingual Bookbinding Dictionary
Jump to navigation Jump to search
Line 11: Line 11:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{| border="0" cellpadding="4" cellspacing="4"
 
{| border="0" cellpadding="4" cellspacing="4"
{{#if: {{{Main image|}}}
 
 
! Binder's mark
 
! Binder's mark
 
| [[Has image::Image:{{{Main image|}}}| ]] [[File:{{{Main image|}}}|{{{width|200px}}}]]
 
| [[Has image::Image:{{{Main image|}}}| ]] [[File:{{{Main image|}}}|{{{width|200px}}}]]
|-|}}
+
|-
 
! Other images
 
! Other images
 
| {{#arraymap:{{{Other images|}}}|,|x|[[Has image 2::Image:x]] |[[Image:x|270px|]]}}
 
| {{#arraymap:{{{Other images|}}}|,|x|[[Has image 2::Image:x]] |[[Image:x|270px|]]}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>
 
{{#arraymap:{{{Images|}}}|,|x|[[Photos::x| ]]| }} <!-- Sets the property while displaying nothing -->
 
{{#arraymap:{{{Images|}}}|,|x|[[Image:x]]}} <!-- Displays the image -->
 

Revision as of 13:32, 23 August 2020

This is the 'Image' template. It should be called in the following format:

{{Image
|Main image=
|Other images=
}}

Edit the page to see the template text.