Difference between revisions of "Template:Related images"

From Multilingual Bookbinding Dictionary
Jump to navigation Jump to search
Line 10: Line 10:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#if: [[Has image::Image]]|
 
 
{| border="0" cellpadding="4" cellspacing="4"
 
{| border="0" cellpadding="4" cellspacing="4"
 
! Binder's mark
 
! Binder's mark
| [[Has image::Image:{{{Main image|}}}| ]] [[File:{{{Main image|}}}|{{{width|200px}}}]]
+
| [[Has image::Image:{{{Main image|}}}| ]] [[File:{{{Main image|}}}|{{#if: {{{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>

Revision as of 14:33, 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.