Template:ComposerAutoList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(test partial list template)
 
(tweaked template)
Line 1: Line 1:
<includeonly>{{#dpl:category=Works that link to composer pages
<includeonly>{{#dpl:category=Works that link to composer pages
|linksto={{{1|{{PAGENAME}}}}} composer page
|category={{PAGENAME}} compositions
|notlinksfrom={{{1|{{PAGENAME}}}}}
|notlinksfrom={{PAGENAME}}
|order=ascending
|order=ascending
|format=,\n* [{{SERVER}}{{SCRIPTPATH}}/index.php?curid=%PAGEID% %TITLE%,
|format=,\n* [{{SERVER}}{{SCRIPTPATH}}/index.php?curid=%PAGEID% %TITLE%,
Line 7: Line 7:
|ordermethod=sortkey
|ordermethod=sortkey
|resultsheader= ===Other settings possibly not included to the manual list above===\n[[Category:Composer pages with automated partial lists]]
|resultsheader= ===Other settings possibly not included to the manual list above===\n[[Category:Composer pages with automated partial lists]]
|columns={{{cols|{{{2|1}}}}}}
|rowcolformat=width=100%
|rowcolformat=width=100%
|allowcachedresults=true
|allowcachedresults=true
Line 18: Line 17:


;Syntax: {{tl|ComposerAutoList}}
;Syntax: {{tl|ComposerAutoList}}
;Syntax with optional parameters: {{tl|ComposerAutoList|«composerpage»|cols{{=}}«columns»}}
*«composerpage» is used when the template is added to a page other than the composer page itself
*«columns» is an integer value. The default is {{para|cols|1}}.
}}
}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 20:09, 3 May 2016


Documentation

Displays a partial list of settings that share a composer. This template excludes from the list those works that have already been added by hand to the page. A line of the kind {{Composer|composer name}} is required on each works page for it to be included in the listings.

Text pages with partial lists actively generated by ComposerAutoList will be included in the category Composer pages with automated partial lists. If all works have already been included by hand to the composer page, nothing is displayed by TextAutoList.

Syntax
{{ComposerAutoList}}