User:BarryJ/List of First Lines: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
--> | --> | ||
== | ==Template For Large Works== | ||
<!-- | <!-- | ||
{{ | <includeonly> | ||
{{#dpl:category={{{gen|{{{1|Sacred}}}}}} music | |||
|category=Works in {{{lan|{{{2|Latin}}}}}} | |||
{{ | |category={{{cat1}}} | ||
{{ | |category={{{cat2}}} | ||
|category={{{cat3}}} | |||
|linksto={{{link1|{{{3}}}}}} | |||
{{ | |linksto={{{link2|{{{4}}}}}} | ||
{{ | |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: | |||
*gen — Sacred | |||
*lan – Latin | |||
{{ | *com – this page's name (must be a composer), when the template is used on a page other than the composer | ||
{{ | *cols – three | ||
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> | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
--> | --> |
Revision as of 16:12, 15 June 2016
Script to generate first lines on composer page
- Hidden until tested!