Template:TextPageList2: Difference between revisions

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


EXPERIMENTAL TEMPLATE
EXPERIMENTAL TEMPLATE

Latest revision as of 01:19, 24 March 2024


EXPERIMENTAL TEMPLATE