Template:ComposerAutoList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(test partial list template)
 
m (DPL3 form of code)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#dpl:category=Works that link to composer pages
<includeonly>{{#dpl:category={{PAGENAME}} compositions
|linksto={{{1|{{PAGENAME}}}}} composer page
|notlinksfrom={{PAGENAME}}
|notlinksfrom={{{1|{{PAGENAME}}}}}
|order=ascending
|order=ascending
|format=,\n* [{{SERVER}}{{SCRIPTPATH}}/index.php?curid=%PAGEID% %TITLE%,
|format=,\n* [{{SERVER}}{{SCRIPTPATH}}/index.php?curid=%PAGEID% %TITLE%],
|replaceintitle=/\([^\)]+\)$/,
|replaceintitle=/\([^\)]+\)$/;
|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 in the manual list above===\n[[Category:DPL templates]]
|columns={{{cols|{{{2|1}}}}}}
[[Category:Composer pages with automated partial lists]]
|rowcolformat=width=100%
|rowcolformat=width=100%
|allowcachedresults=true
|allowcachedresults=true
|suppresserrors=true
|noresultsheader=&nbsp;
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{DisplayBox|title=Documentation|text=
{{DisplayBox|title=Documentation|text=
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 {{tl|Composer|''composer name''}} is required on each works page for it to be included in the listings.
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 {{tl|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 {{CiteCat|Composer pages with automated partial lists}}. If all works have already been included by hand to the composer page, nothing is displayed by TextAutoList.
Text pages with partial lists actively generated by ComposerAutoList will be included in the category {{CiteCat|Composer pages with automated partial lists}}. If all works have already been included by hand to the composer page, nothing is displayed by ComposerAutoList.


;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:DPL templates]]
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 03:23, 6 January 2020


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 ComposerAutoList.

Syntax
{{ComposerAutoList}}