Template:ArrangementsList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
|allowcachedresults=false}}=0|
|allowcachedresults=false}}=0|
|{{#ifexpr: {{#dpl:category={{{1|{{{name|{{PAGENAME}}}}}}}} arrangements
|{{#ifexpr: {{#dpl:category={{{1|{{{name|{{PAGENAME}}}}}}}} arrangements
|notlinksto={{{1|{{{name|{{PAGENAME}}}}}}}}
|notcategory={{{1|{{{name|{{PAGENAME}}}}}}}} compositions
|notcategory=Text pages
|notcategory=Text pages
|distinct=false
|distinct=false
Line 28: Line 28:
|<!-- if else, display in one column by default
|<!-- if else, display in one column by default
--><h2>Arrangements by {{{1|{{{name|{{PAGENAME}}}}}}}}</h2>{{#dpl:category={{{1|{{{name|{{PAGENAME}}}}}}}} arrangements
--><h2>Arrangements by {{{1|{{{name|{{PAGENAME}}}}}}}}</h2>{{#dpl:category={{{1|{{{name|{{PAGENAME}}}}}}}} arrangements
|notcategory={{{1|{{{name|{{PAGENAME}}}}}}}} compositions
|notcategory=Text pages
|notcategory=Text pages
|columns={{{2|{{{cols|1}}}}}}
|columns={{{2|{{{cols|1}}}}}}
Line 36: Line 37:
|allowcachedresults=false
|allowcachedresults=false
|noresultsheader=''No results.''
|noresultsheader=''No results.''
}}}} [[Category:Lyricists]]</includeonly><noinclude><!--
}}}}}} [[Category:Lyricists]]</includeonly><noinclude><!--
-->{{DisplayBox|title=Documentation|text=
-->{{DisplayBox|title=Documentation|text=



Revision as of 14:32, 2 May 2021

Documentation

This template is intended for use on a composer page or CPDL editor page. It displays a list of arrangements by a given composer. Only those works pages to which the template {{Arranger}} has been applied will be listed.

Basic syntax
{{ArrangementsList}}
Usage with optional parameters
{{ArrangementsList|composer_name|num_columns|max_title_length}}
Usage with named parameters (in any position)
{{ArrangementsList|maxlen=max_title_length|cols=num_columns|name=composer_name}}
Examples

1.

{{ArrangementsList}} (on