Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Gallery Section (Cargo)/3: Difference between revisions

Template page
(Created page with "{{#ifexpr: {{#expr:{{{displayed|0}}} < {{{count_all|0}}} }} |<div class="expandgallery" displayed="{{{displayed|}}}" count_all="{{{count_all|}}}" load_limit="{{{load_limit|...")
 
m (moves CSS to GalleryLoadInline.css)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexpr: {{#expr:{{{displayed|0}}} < {{{count_all|0}}} }}
{{#vardefine:imagesleft|{{#expr:{{{count_all|0}}} - {{{displayed|0}}} }} }}<!--
|<div class="expandgallery"
-->{{#ifexpr: {{#expr:{{{displayed|0}}} < {{{count_all|0}}} }}
displayed="{{{displayed|}}}"
|<div class="expandgallery bb2">
count_all="{{{count_all|}}}"
<div class="expandgallery-text">Load {{#ifexpr:{{#expr: {{#var:imagesleft}} > {{{load_limit|4}}} }}|{{{load_limit|4}}}|{{#var:imagesleft}} }} more...</div><!--
load_limit="{{{load_limit|4}}}"
--><div class="expandgallery-data">
character="{{{character|}}}"
<span class="expandgallery-query">Gallery Section (Cargo)/Q3</span>
cameo="{{{cameo|}}}"
<span class="expandgallery-displayed">{{{displayed|}}}</span>
location="{{{location|}}}"
<span class="expandgallery-count_all">{{{count_all|}}}</span>
weapon="{{{weapon|}}}"
<span class="expandgallery-load_limit">{{{load_limit|4}}}</span>
artist="{{{artist|}}}"
<span class="expandgallery-character">{{{character|}}}</span>
source="{{{source|}}}"
<span class="expandgallery-cameo">{{{cameo|}}}</span>
section="{{{section|}}}"
<span class="expandgallery-location">{{{location|}}}</span>
>Load {{{load_limit|4}}} more...</div>
<span class="expandgallery-weapon">{{{weapon|}}}</span>
}}<noinclude>Pseudo-button that calls [[Template:Gallery_Section_(Cargo)/Q3|Q3]] when clicked.</noinclude>
<span class="expandgallery-artist">{{{artist|}}}</span>
<span class="expandgallery-source">{{{source|}}}</span>
<span class="expandgallery-section">{{{section|}}}</span>
<span class="expandgallery-sort">{{{sort|}}}</span>
<span class="expandgallery-widths">{{{widths|250}}}</span>
</div><!--
--></div>
}}<noinclude>Pseudo-button that calls [[Template:Gallery_Section_(Cargo)/Q3|Q3]] when clicked. Used by [[MediaWiki:Gadget-GalleryLoadInline.js]]
</noinclude>

Latest revision as of 00:13, 13 June 2020

Pseudo-button that calls Q3 when clicked. Used by MediaWiki:Gadget-GalleryLoadInline.js