Template:TextPageList2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#dpl:category=Works that link to text pages|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= |{{#ifexpr: {{#dpl:category={{CompFromWorkTitle{{!}}{{PAGENAME}}}} compositions{{!}}namespace={{!}}mode=userformat{{!}}resultsheader=%TOTALPAGES%}}=0{{!}}{{#dplvar:set{{!}}cfwt{{!}}none}}{{!}}{{#dplvar:set{{!}}cfwt{{!}}{{CompFromWorkTitle{{!}}{{PAGENAME}}}}} | {{#dpl:category=Works that link to text pages | ||
|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= | |||
|{{#ifexpr: {{#dpl:category={{CompFromWorkTitle{{!}}{{PAGENAME}}}} compositions | |||
{{!}}namespace= | |||
{{!}}mode=userformat | |||
{{!}}resultsheader=%TOTALPAGES% | |||
}}=0 | |||
{{!}}{{#dplvar:set{{!}}cfwt{{!}}none}} | |||
{{!}}{{#dplvar:set{{!}}cfwt{{!}}{{CompFromWorkTitle{{!}}{{PAGENAME}}}} | |||
}] | |||
{{#ifeq:{{#dplvar:cfwt}} | |||
{{!}}none | |||
{{!}}format=,\n*{{CompFromWorkTitle{{!}}%PAGE%}} — [[%PAGE%|%TITLE%]], | |||
{{!}}format=,\n*[[{{CompFromWorkTitle{{!}}%PAGE%}}]] — [[%PAGE%|%TITLE%]], | |||
}} | |||
|replaceintitle=/\([^\)]+\)$/; | |||
|ordermethod=sortkey | |||
|allowcachedresults=false | |||
|noresultsheader= | |||
|columns={{{cols|{{{2|2}}}}}} | |||
|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 |
Revision as of 19:17, 23 March 2024
EXPERIMENTAL TEMPLATE