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

Template page
(Created page with "<includeonly>{{#vardefine:CHARACTER|{{#replace:{{{1|}}}|'|}}}}{{#cargo_query: tables=Files, BBRadio_Cuts |fields=Files._pageName, Files.Caption |join on=Files._pageName=BBRadi...")
 
m (Undo revision 60186 by Chao (talk))
Tag: Undo
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:CHARACTER|{{#replace:{{{1|}}}|'|}}}}{{#cargo_query:
<includeonly>{{#vardefine:CHARACTER|{{#replace:{{{character|}}}|'|}}}}
{{#cargo_query:
tables=Files, BBRadio_Cuts
tables=Files, BBRadio_Cuts
|fields=Files._pageName, Files.Caption
|fields=Files._pageName, Files.Caption
|join on=Files._pageName=BBRadio_Cuts._pageName  
|join on=Files._pageName=BBRadio_Cuts._pageName  
|where=Files.Characters HOLDS "{{#var:CHARACTER}}" AND BBRadio_Cuts.Season="{{{season|}}}" {{#if:{{{episode|}}}|AND BBRadio_Cuts.Episode="{{{episode|}}}"
|where=Files.Characters HOLDS "{{#var:CHARACTER}}" AND BBRadio_Cuts.Season="{{{season|}}}" {{#if:{{{episode|}}}|AND BBRadio_Cuts.Episode="{{{episode|}}}"}}
|order by={{{sort|}}}
|order by={{{sort|}}}
|limit={{{limit|4}}}
|limit={{{limit|4}}}
|offset={{{offset|0}}}
|default=
|default=
|more results text=
|more results text=
Line 15: Line 17:
|caption field=Caption
|caption field=Caption
|image width={{{widths|250}}}
|image width={{{widths|250}}}
}}</includeonly><noinclude>Used by [[Mediawiki:Gadget-GalleryLoadInline.js]]</noinclude>
}}
</includeonly><noinclude>Used by [[Mediawiki:Gadget-GalleryLoadInline.js]]</noinclude>

Latest revision as of 00:24, 10 March 2021