Difference between revisions of "Template:MultiPubList5"

From ChoralWiki
Jump to: navigation, search
 
(34 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{#ifeq:{{#pos:{{PAGENAME}}|#39;}}||{{#dplvar:set|pnc|{{PAGENAME}}}}|{{#dplvar:set|pnc|{{#multireplace:{{PAGENAME}}|/^([^#39;]*)(#39;)(.*)$/=$1$3|&=,}}}}}}
 
{{#ifeq:{{#pos:{{PAGENAME}}|#39;}}||{{#dplvar:set|pnc|{{PAGENAME}}}}|{{#dplvar:set|pnc|{{#multireplace:{{PAGENAME}}|/^([^#39;]*)(#39;)(.*)$/=$1$3|&=,}}}}}}
 
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/[!"$&*+-.:;<>?`~„…†‡‹‘’“”•–—›¡§¨«°±·º»¿×÷ʹʺ#%]/ui=,}}}}
 
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/[!"$&*+-.:;<>?`~„…†‡‹‘’“”•–—›¡§¨«°±·º»¿×÷ʹʺ#%]/ui=,}}}}
{{#if:{{{2|}}}|{{#dplvar:set|pnc|{{{2|}}} {{#dplvar:pnc}}}}}}
 
 
{{#ifexpr:{{#dpl:category=sheet music|category={{#dplvar:plc}}  compositions|distinct=false|mode=userformat|namespace=|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}>0|
 
{{#ifexpr:{{#dpl:category=sheet music|category={{#dplvar:plc}}  compositions|distinct=false|mode=userformat|namespace=|resultsheader=%PAGES%|noresultsheader=0|allowcachedresults=false}}>0|
 
{{#dplvar:set|plcc|{{CompFromWorkTitle|{{#dplvar:pnc}}}}}}|{{#dplvar:set|plcc|zzzz}}}}
 
{{#dplvar:set|plcc|{{CompFromWorkTitle|{{#dplvar:pnc}}}}}}|{{#dplvar:set|plcc|zzzz}}}}
Line 9: Line 8:
 
{{#ifeq:{{#dplvar:plcc}}|zzzz|{{#ifeq:{{#pos:{{#dplvar:pnc}}|)}}|||{{#ifeq:{{#sub:{{#dplvar:pnc}}|-1}}|)|{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|(=,|)=}}}}|{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|(=,|)=,}}}}}}}}}}
 
{{#ifeq:{{#dplvar:plcc}}|zzzz|{{#ifeq:{{#pos:{{#dplvar:pnc}}|)}}|||{{#ifeq:{{#sub:{{#dplvar:pnc}}|-1}}|)|{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|(=,|)=}}}}|{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|(=,|)=,}}}}}}}}}}
 
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|,,=,}}}}
 
{{#dplvar:set|pnc|{{#multireplace:{{#dplvar:pnc}}|/^(.*)$/=$1|,,=,}}}}
{{#ifeq:{{#dpl:category=sheet music|distinct=false|mode=userformat|namespace=|linksto={{PAGENAME}}|includematch={{#multireplace:{{#dplvar:pnc}}|/(\d*)\s([^\s^\,]*).*/=/$1/}}|resultsheader=%PAGES%|noresultsheader=&nbsp;|allowcachedresults=false}}|
+
{{#if:{{#dplvar:vn}}|{{#if:{{#dplvar:y1}}|==={{#dplvar:vname}} 1 ({{#dplvar:y1}})===
 +
{{#dplvar:set|pncx
 
</includeonly><noinclude>
 
</includeonly><noinclude>
  
 
{{Doc|1=
 
{{Doc|1=
 +
THIS TEMPLATE calls template {{tl|MPList}}; the description below includes both.
  
 
TEST TEMPLATE
 
TEST TEMPLATE
  
Version 14
+
Version 15
  
 
}}
 
}}
 
[[Category:Experimental templates]]
 
[[Category:Experimental templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:30, 1 July 2019


Documentation

THIS TEMPLATE calls template {{MPList}}; the description below includes both.

TEST TEMPLATE

Version 15