Template

GalleryLine: Difference between revisions

From Warlike

No edit summary
No edit summary
Line 5: Line 5:
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{URL|{{{image}}}}}
{{#ifeq:{{#pos:{{{image}}}|File:}}||{{URL|{{{image}}}}}
|{{filepath:{{#rreplace:{{{image}}}|File:|}}|1280px}}}}
|{{filepath:{{#rreplace:{{{image}}}|File:|}}|1280px}}}}
|{{URL|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}}}
|{{Link|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}|wogga}}
<span class="gallerycaption">{{{title}}} {{#sub:{{{start}}}|1|4}}</span></div>}}}}</includeonly>
}}<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>{{#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|
{{#hsfile:gallery|200|{{#rreplace:{{{title}}}|'|`}} {{#sub:{{{start}}}|1|4}}|image|
  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}}}|
{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}}}}}|
{{filepath:{{#rreplace:{{{image}}}|.*/File:|}}|1280px}}
  {{Link|{{#if:{{{link|}}}|{{{link}}}|{{{image}}}}}}}
}}}}
|{{Link|{{#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>
<noinclude><nowiki>{{Link|link}}</nowiki>[[Category:Admin]]</noinclude><includeonly>{{#ifeq:{{#pos:{{{1}}}|:}}||{{#explode:{{fullurl:{{PAGENAME}}}}|:|0}}://files.{{#explode:{{SERVERNAME}}|.|-1|2}}/{{#explode:{{SERVERNAME}}|.|0}}/}}{{#rreplace:{{{1}}}| |%20}}</includeonly>
-->
-->

Revision as of 18:27, 19 June 2024

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