Template:MPList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Multireplace -> replaceset)
(DPL3 form of code)
Line 1: Line 1:
<noinclude>{{Prot-temp}}</noinclude><includeonly>
<includeonly>
{{#ifexpr:{{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|titlematch={{#ifeq:{{#pos:{{#dplvar:plcc}}|,}}||%{{#dplvar:plcc}}%|%{{#replaceset:{{#dplvar:plcc}}|/([^\,]*)\,+([^\,]*)/=$1}}%}}|noresultsheader=0|allowcachedresults=false}}={{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}
{{#ifexpr:{{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|titlematch={{#ifeq:{{#pos:{{#dplvar:plcc}}|,}}||%{{#dplvar:plcc}}%|%{{#replaceset:{{#dplvar:plcc}}|/([^\,]*)\,+([^\,]*)/=$1}}%}}|noresultsheader=0|allowcachedresults=false}}={{#dpl:category={{#dplvar:catn}}|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}
|{{#dpl:category={{#dplvar:catn}}|notcategory=Works with all editions withdrawn|mode=userformat|distinct=true|linksto={{PAGENAME}}|namespace=|include={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no:[[%PAGE%¦%TITLE%]]
|{{#dpl:category={{#dplvar:catn}}|notcategory=Works with all editions withdrawn|mode=userformat|distinct=true|linksto={{PAGENAME}}|namespace=|include={{#ifeq:{{#explode:{{{1|}}}|,|0}}|seq|{Pub}:no:[[%PAGE%¦%TITLE%]]

Revision as of 15:11, 4 January 2020


Documentation

THIS TEMPLATE IS CALLED BY TEMPLATE {{MultiPubList}}, WHICH SEE FOR DETAILS. PLEASE DO NOT USE THIS TEMPLATE BY ITSELF.

(Version 17 – 2019-12-03)