Difference between revisions of "Template:Related images"

From Multilingual Bookbinding Dictionary
Jump to navigation Jump to search
 
(73 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
 
This is the 'Image' template.
 
It should be called in the following format:
 
<pre>
 
{{Image
 
|Main image=
 
|Other images=
 
}}
 
</pre>
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
{| border="0" cellpadding="4" cellspacing="4"
 
{{#if {{{Main image|}}}
 
! Binder's mark
 
| [[Has image::Image:{{{Main image|}}}| ]] [[File:{{{Main image|}}}|{{{width|200px}}}]]
 
|-}}
 
! Other images
 
| {{#arraymap:{{{Other images|}}}|,|x|[[Has image 2::Image:x]] |[[Image:x|270px|]]}}
 
|}
 
</includeonly>
 
  
{{#arraymap:{{{Images|}}}|,|x|[[Photos::x| ]]| }} <!-- Sets the property while displaying nothing -->
+
<includeonly>==Gallery==
{{#arraymap:{{{Images|}}}|,|x|[[Image:x]]}} <!-- Displays the image -->
+
 
 +
{{#ask: [[Links to::~*{{PAGENAME}}*]] OR [[Links to::{{PAGENAME}}]] OR [[Links to::{{PAGENAME}}.Narrower]] OR [[Links to::{{PAGENAME}}.Skos:related]] or [[Links to::{{PAGENAME}}.skos:member]]
 +
|?Links to
 +
|format=gallery
 +
|limit=100
 +
|offset=0
 +
|link=all
 +
|sort=
 +
|order=asc
 +
|headers=hide
 +
|searchlabel=... further results
 +
|captionproperty=description
 +
|autocaptions=no
 +
|heights=200
 +
|widths=300
 +
}}</includeonly>

Latest revision as of 18:59, 21 July 2022