Template:CompWorksList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(DPL3 form of code)
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#dpl:category={{{1|Orlando di Lasso}}} compositions|namespace=|ordermethod=sortkey|mode=userformat<!--
<includeonly>{{#dpl:category={{{1|Oliver Holden}}} compositions¦{{{1|Oliver Holden}}} arrangements|namespace=|ordermethod=sortkey|mode=userformat|format=,\n*[[%PAGE%|%TITLE%]]|titlemaxlength={{{len|40}}}|replaceintitle=/\(.*\)$/;  
-->|format=,\n*[[%PAGE%|%TITLE%]]|titlemaxlength={{{len|40}}}|replaceintitle=/\(.*\)$/;
|columns={{{cols|3}}}|linksto={{{pub|}}}|rowcolformat=width=100%|noresultsheader=&nbsp;}}</includeonly><noinclude>
|columns={{{cols|3}}}|linksto={{{pub|}}}|rowcolformat=width=100%|noresultsheader=&nbsp;}}</includeonly><noinclude>
{{Doc|1=
{{Doc|1=
This template produces a list of the compositions of the composer specified in the first parameter (defaults to ''Orlando di Lasso''). The composer's name is omitted, and the work title is limited to 40 characters. There are three other parameters, both optional:
This template produces a list of the compositions of the composer specified in the first parameter (defaults to ''Oliver Holden''). The composer's name is omitted, and the work title is limited to 40 characters. There are three other parameters, both optional:
# <tt>cols=</tt> the number of columns in the output, defaults to 3.
# <tt>cols=</tt> the number of columns in the output, defaults to 3.
# <tt>pub=</tt> the full name of a publication, to limit the output.
# <tt>pub=</tt> the full name of a publication, to limit the output.
Line 10: Line 9:
No header is produced. If there are no works in the range, output is blank.
No header is produced. If there are no works in the range, output is blank.
}}
}}
[[Category:Experimental templates]]
[[Category:DPL templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 04:13, 1 September 2021


Documentation

This template produces a list of the compositions of the composer specified in the first parameter (defaults to Oliver Holden). The composer's name is omitted, and the work title is limited to 40 characters. There are three other parameters, both optional:

  1. cols= the number of columns in the output, defaults to 3.
  2. pub= the full name of a publication, to limit the output.
  3. len= an integer, limiting the number of characters in a work title, defaults to 40.

No header is produced. If there are no works in the range, output is blank.