Template

GalleryLine: Difference between revisions

From SFnal Expounder

No edit summary
m (1 revision imported)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--<noinclude><nowiki>{{GalleryLine|type=|title=|source=|start=|end=|keywords=|notes=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#switch:{{{type}}}|doc|image=<div id{{=}}"{{{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">
{{#ifeq:{{#pos:{{{image}}}|http}}|| {{Hs|{{{title}}}|{{{start}}}|{{{link}}}|{{LocalFile|{{{image}}}}}}}|
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}}|image|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{Hs|{{{title}}}|{{{start}}}|{{{link}}}|{{{image}}}}}|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{URL|{{{image}}}}}
{{Hs|{{{title}}}|{{{start}}}|{{{link}}}|{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}}}
|{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}}}
}}}}
|{{URL|{{#ifeq:{{{link}}}||{{{image}}}|{{{link}}}}}}}
<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}</includeonly>--><noinclude><nowiki>{{GalleryLine|type=|title=|source=|start=|end=|keywords=|notes=|link=|image=}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#switch:{{{type}}}|doc|image=<div id{{=}}"{{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}} {{{notes}}}" class="galleryline">
}}<span class="gallerycaption">{{{title}}}</span></div>}}</includeonly>
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}} {{#sub:{{{start}}}|1|4}}|image|
{{#ifeq:{{#pos:{{{image}}}|http}}||{{LocalFile|{{{image}}}}}|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{{image}}}|
{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}
}}}}
|{{Link|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
}}<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}</includeonly>

Latest revision as of 04:29, 15 July 2024

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