Template:TextPageList2: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr: {{#dpl:category={{CompFromWorkTitle¦{{PAGENAME}}}}|namespace= |mode=userformat|resultsheader=%TOTALPAGES%}}=0|{{#dplvar:set|cfwt|none}}|{{#dplvar:set|cfwt|{{CompFromWorkTitle|{{PAGENAME}}}}}}
<includeonly>
{{#dplvar:cwft}}
{{#dpl:category=Works that link to text pages
}}</includeonly><noinclude>
|notcategory=Works with all editions withdrawn
|notcategory=Works with no edition
|notcategory=Works with no valid edition
|linksto={{{1|{{PAGENAME}}}}} text page
|order=ascending
|include={Language}:1,{Voicing}:2
|secseparators=&nbsp;
|{{#ifexpr: ²{#dpl:category=²{CompFromWorkTitle{{!}}%PAGE%}² compositions
{{!}}namespace=
{{!}}mode=userformat
{{!}}resultsheader=%TOTALPAGES%}²=0
{{!}}{{#dplvar:set{{!}}cfwt{{!}}none}}
{{!}}{{#dplvar:set{{!}}cfwt{{!}}²{CompFromWorkTitle{{!}}%PAGE%}²}²
²{#ifeq:{{#dplvar:cfwt}}
{{!}}none
{{!}}format=,\n*²{CompFromWorkTitle{{!}}%PAGE%}² — [[%PAGE%|%TITLE%]],
{{!}}format=,\n*[[²{CompFromWorkTitle{{!}}%PAGE%}²]] — [[%PAGE%|%TITLE%]],}²
|replaceintitle=/\([^\)]+\)$/;
|ordermethod=sortkey
|allowcachedresults=false
|noresultsheader=&nbsp;
|columns={{{cols|{{{2|2}}}}}}
|rowcolformat=width=100%}}
<!--{{#dpl:category=Works that link to text pages
|category=Works with all editions withdrawn{{!}}Works with no edition{{!}}Works with no valid edition
|linksto={{{1|{{PAGENAME}}}}} text page
|order=ascending
|format=,\n*{{CompFromWorkTitle{{!}}%PAGE%}} — [[%PAGE%|<span style="color:gray;">%TITLE%<span>]],
|replaceintitle=/\([^\)]+\)$/;
|ordermethod=sortkey
|allowcachedresults=false
|noresultsheader=&nbsp;
|rowcolformat=width=100%
|resultsheader=\n:'''Works that currently have no editions available:'''}}-->
</includeonly><noinclude>


EXPERIMENTAL TEMPLATE
EXPERIMENTAL TEMPLATE

Latest revision as of 01:19, 24 March 2024


EXPERIMENTAL TEMPLATE