Template

GalleryLine: Difference between revisions

From SFnal Expounder

No edit summary
No edit summary
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=|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">
{{#hsfile:gallery|200|{{{title}}} {{#sub:{{{start}}}|1|4}}|image|
{{#ifeq:{{#pos:{{{image}}}|http}}|| {{Hs|{{{title}}}|{{{start}}}|{{{link}}}|{{LocalFile|{{{image}}}}}}}|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{Hs|{{{title}}}|{{{start}}}|{{{link}}}|{{{image}}}}}|
{{Hs|{{{title}}}|{{{start}}}|{{{link}}}|{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}}}
}}}}
<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">
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}} {{#sub:{{{start}}}|1|4}}|image|
{{#ifeq:{{#pos:{{{image}}}|http}}||{{LocalFile|{{{image}}}}}|
{{#ifeq:{{#pos:{{{image}}}|http}}||{{LocalFile|{{{image}}}}}|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{{image}}}|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{{image}}}|
Line 6: Line 11:
}}}}
}}}}
|{{Link|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
|{{Link|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
}}<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}
}}<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}</includeonly>
</includeonly>

Revision as of 11:37, 17 February 2024

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