User:BarryJ/List of First Lines: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(50 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Script to generate first lines on composer page==
This is a list of first lines used by the following Psalm-tune composers: </big></noinclude><onlyinclude>
:'''Hidden until tested!'''
<!--{{First|{{{com|1}}}|{{{cat|2}}}}}
<includeonly>
 
</includeonly>
<noinclude>
This is a template to generate entries in the Category First lines, from all the works included on a Composer's page. Two formats for this template:<br>
#<tt><nowiki>{{First|<Composer>|<Limiting Categories>}}</nowiki><tt>
#<tt><nowiki>{{First|com=<Composer>|cat=<Limiting Categories>}}</nowiki><tt>
 
:The field "Limiting Categories" is optional; if there are more than one, delimit them with a half-pipe (<nowiki>¦</nowiki>).
::"Limiting Categories" could include items such as <tt>Sacred music</tt> or <tt>Motets</tt>.
</noinclude>
<include>
 
-->
==Template For Large Works==
<!--
<!--
<includeonly>
{{#dpl:category=Psalm-tune composers
{{#dpl:category={{{gen|{{{1|Sacred}}}}}} music
|mode=userformat
|category=Works in {{{lan|{{{2|Latin}}}}}}
|namespace=
|category={{{cat1}}}
|order=ascending
|category={{{cat2}}}
|ordermethod=sortkey
|category={{{cat3}}}
|format=,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;²{#expr:%NR%}². {{{²{#expr:%NR%+1}²{{!}}[[%PAGE%|%TITLE%]]}}},<br>,
|linksto={{{link1|{{{3}}}}}}
|resultsheader=({{{1{{!}}%PAGES%}}} composers)<br>
|linksto={{{link2|{{{4}}}}}}
|columns=3}}
|category={{{com|{{{5|{{PAGENAME}}}}}}}} compositions
|namespace=|order=ascending
|ordermethod=sortkey
|replaceintitle=/\([^\)]+\)$/,
|suppresserrors=true
|columns={{{cols|{{{6|3}}}}}}
|rowcolformat=width=100%}}
</includeonly><noinclude>
{{DisplayBox|title=Documentation|text=
Displays a list of works by a composer that belong to a larger work.<br>
Syntax alternatives:
#{{tl|LargeWork}} — Shows Sacred music in Latin belonging to the composer on this page, in three columns
#{{tl|LargeWork|«Genre»|«Language»|«Link1»|cols=4}} — Shows «Genre» music in «Language» that link to the larger-work page «Link1», in four columns
#{{tl|LargeWork|gen=«Genre»|cat1=«Genre»|link1=«Link1»}} – shows «Genre» music in the category «Cat1» that link to the larger-work page «Link1»


Parameters available are '''gen, lan, cat1, cat2, cat3, link1, link2, com''' (composer name), and '''cols'''. Defaults are:
{{#dpl:category=Sheet music|uses=Template:FirstLine
*gen — Sacred
|include={Pub}:2,{FirstLine}:1,{Lyricist}:1
*lan – Latin
|table=class="wikitable",Title,Year,First Line,Lyricist
*com – this page's name (must be a composer), when the template is used on a page other than the composer
|format=,\n[[%PAGE%|%TITLE%]]
*cols – three
|tablesortcol=3
If parameters are not given, they must be listed in the order {{tl|LargeWork|«Genre»|«Language»|«Link1»|«Link2»|«Composer»}}
 
#Syntax with optional parameters: {{tl|TextAutoList|«textpage»|cols{{=}}«columns»}}
*«textpage» is used when the template is added to a page other than the text page itself
*«cols» is an integer value. The default is {{para|cols|3}}.
}}
}}
[[Category:Templates]]</noinclude>
-->
-->

Latest revision as of 19:29, 7 April 2021

This is a list of first lines used by the following Psalm-tune composers: