Template:gallery image: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
 
No edit summary
 
Line 11: Line 11:
</noinclude><includeonly>{{#vardefine: text | {{#show:File:{{{2|}}}|?description}} }}{{#vardefine: text | {{#replace: {{#var: text }}|`|{{(}}{{(}}}} }}{{#vardefine: text | {{#replace: {{#var: text }}|´|]]}} }}
</noinclude><includeonly>{{#vardefine: text | {{#show:File:{{{2|}}}|?description}} }}{{#vardefine: text | {{#replace: {{#var: text }}|`|{{(}}{{(}}}} }}{{#vardefine: text | {{#replace: {{#var: text }}|´|]]}} }}
|
|
<div class="gallerybox" style="width: 155px;">
<div class="gallerybox">
<div class="thumb" style="padding:5px; width:140px; height:120px;">[[File:{{{2|}}}|center|{{#ifeq:{{#show:File:{{{2|}}}|?format}}| upright | x120px | 120px }}|alt={{#show:File:{{{2|}}}|?motif}}|{{#show:File:{{{2|}}}|?motif}}]]</div>
<div class="gallerythumb">[[File:{{{2|}}}|center|{{#ifeq:{{#show:File:{{{2|}}}|?format}}|upright|x120px|120px}}|alt={{#show:File:{{{2|}}}|?motif}}|{{#show:File:{{{2|}}}|?motif}}]]</div>
<div class="gallerytext">{{#var: text }}</div>
<div class="gallerytext">{{#var: text }}</div>
</div></includeonly>
</div></includeonly>

Latest revision as of 13:04, 22 July 2013

This support template serves to create lines of code (each corresponding to one image) in galleries of the Template:gallery.

Example