Template

GalleryLine: Difference between revisions

From SFnal Expounder

No edit summary
m (1 revision imported)
 
(20 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>AAAA{{#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}}||{{#hsfile:gallery|200|{{{title}}} {{#sub:{{{start}}}|1|4}}|image|{{LocalFile|{{{image}}}}}|{{#if:{{{link|}}}|{{{link|}}}|{{{image}}}}}}}|
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}}|image|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{#hsfile:gallery|200|{{{title}}} {{#sub:{{{start}}}|1|4}}|image|{{{image}}}|{{#if:{{{link|}}}|{{{link|}}}|{{{image}}}}}}}|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{URL|{{{image}}}}}
{{#hsfile:gallery|200|{{{title}}} {{#sub:{{{start}}}|1|4}}|image|{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}|{{#if:{{{link|}}}|{{{link|}}}|{{{image}}}}}}}
|{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}}}
}}}}
|{{URL|{{#ifeq:{{{link}}}||{{{image}}}|{{{link}}}}}}}
<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}
}}<span class="gallerycaption">{{{title}}}</span></div>}}</includeonly>
BBBB{{#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}}||{{LocalFile|{{{image}}}}}|
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{{image}}}|
{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}
}}}}
|{{#if:{{{link|}}}|{{#ifeq:{{#pos:{{{link}}}|http}}||{{LocalFile|{{{link}}}}}|{{{link}}}}}|{{{image}}}}}
}}CCC
<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=}}