Template

GalleryLine: Difference between revisions

From Warlike

No edit summary
No edit summary
Line 3: Line 3:
{{#ifeq:{{{image}}}|||{{#ifeq:{{{subtype}}}|image|<div id="{{{type}}} {{{subtype}}} {{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}} {{{notes}}}" class="galleryline">
{{#ifeq:{{{image}}}|||{{#ifeq:{{{subtype}}}|image|<div id="{{{type}}} {{{subtype}}} {{{title}}} {{{source}}} {{{start}}} {{{end}}} {{{keywords}}} {{{notes}}}" class="galleryline">
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}} {{#sub:{{{start}}}|1|4}}|image|
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}} {{#sub:{{{start}}}|1|4}}|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|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
}}}}
|{{Link1|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
}}<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}}}</includeonly>
}}<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}}}</includeonly>


<!--
<!--
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{URL|{{{image}}}}}
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{URL|{{{image}}}}}
|{{filepath:{{#rreplace:{{{image}}}|File:|}}|1280px}}}}
|{{filepath:{{#rreplace:{{{image}}}|File:|}}|1280px}}}}
|{{Link1|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
|{{Link1|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
<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=|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">
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}} {{#sub:{{{start}}}|1|4}}|image|
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}} {{#sub:{{{start}}}|1|4}}|image|

Revision as of 18:38, 19 June 2024

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