Template

GalleryLine: Difference between revisions

From SFnal Expounder

m (1 revision imported)
en-gb>John
m (1 revision imported)
Line 1: Line 1:
<noinclude><nowiki>{{GalleryLine|type=|title=|source=|start=|end=|keywords=|notes=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#ifeq:{{{image}}}|||{{#ifeq:{{{type}}}|image|<div id="{{{type}}} {{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}} {{{notes}}}" class="galleryline">
<noinclude><nowiki>{{GalleryLine|type=|subtype=|title=|source=|start=|end=|keywords=|notes=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#ifeq:{{{subtype}}}|image|<div id="{{{type}}} {{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}} {{{notes}}}" class="galleryline">
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}} {{#sub:{{{start}}}|1|4}}|image|
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}}|image|
{{#ifeq:{{#pos:{{{image}}}|http}}||{{LocalFile|{{{image}}}}}|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{URL|{{{image}}}}}
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{{image}}}|
|{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}}}
{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}
|{{URL|{{#ifeq:{{{link}}}||{{{image}}}|{{{link}}}}}}}
}}}}
}}<span class="gallerycaption">{{{title}}}</span></div>}}</includeonly>
|{{Link|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
}}<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}}}</includeonly>

Revision as of 13:35, 6 July 2024

{{GalleryLine|type=|subtype=|title=|source=|start=|end=|keywords=|notes=|link=|image=}}