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

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

Template page
(Created page with "<includeonly>{{#cargo_query: tables=Files |fields=_pageName, Caption, Date |where={{#if:{{{character|}}}|Files.Characters HOLDS '{{#var:CHARACTER}}'}} {{#if:{{{location|}}}|AN...")
 
m (Undo revision 60184 by Chao (talk))
Tag: Undo
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query:
<includeonly>
{{#cargo_query:
tables=Files
tables=Files
|fields=_pageName, Caption, Date
|fields=_pageName, Caption, Date
|where={{#if:{{{character|}}}|Files.Characters HOLDS '{{#var:CHARACTER}}'}} {{#if:{{{location|}}}|AND Files.Locations HOLDS '{{{location|}}}'}} {{#if:{{{weapon|}}}|AND Files.Weapons HOLDS '{{{weapons|}}}'}} {{#if:{{{artist|}}}|AND Files.Artists HOLDS '{{{artist|}}}'}} {{#if:{{{section|}}}|AND Files.Gallery_Sections HOLDS '{{{section|}}}'}} {{#if:{{{source|}}}|AND Files.Source HOLDS '{{{source|}}}'}}
|where={{#if:{{{character|}}}|Files.Characters HOLDS '{{#var:CHARACTER}}'}} {{#if:{{{cameo|}}}|{{#if:{{{character|}}}|AND}} Files.Cameos HOLDS '{{#var:CHARACTER}}'}} {{#if:{{{location|}}}|{{#if:{{{character|}}}{{{cameo|}}}|AND}} Files.Locations HOLDS '{{{location|}}}'}} {{#if:{{{weapon|}}}|AND Files.Weapons HOLDS '{{{weapon|}}}'}} {{#if:{{{artist|}}}|AND Files.Artists HOLDS '{{{artist|}}}'}} {{#if:{{{section|}}}|AND Files.Gallery_Sections HOLDS '{{{section|}}}'}} {{#if:{{{source|}}}|AND Files.Source HOLDS '{{{source|}}}'}}
|order by={{#var:sort}}
|order by={{#var:sort}}
|limit={{{limit|4}}}
|limit={{{limit|4}}}
|intro={{#var:intro}}
|intro=
|default={{#var:default}}
|default=
|more results text=
|more results text=
|format=gallery
|format=gallery

Latest revision as of 00:23, 10 March 2021

Main query