Template:LyricistSettingsList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
|allowcachedresults=false}} > 10
|allowcachedresults=false}} > 10
|<!-- if more than 10 results, display in two columns by default
|<!-- if more than 10 results, display in two columns by default
--><h2>Settings of text by {{{1|{{{name|{{PAGENAME}}}}}}}}</h2><br>{{#dpl:category=Works with texts by known authors
--><h2>Settings of text by {{{1|{{{name|{{PAGENAME}}}}}}}}</h2>{{#dpl:category=Works with texts by known authors
|linksto={{{1|{{{name|{{PAGENAME}}}}}}}} settings
|linksto={{{1|{{{name|{{PAGENAME}}}}}}}} settings
|notcategory={{{1|{{{name|{{PAGENAME}}}}}}}} compositions
|notcategory={{{1|{{{name|{{PAGENAME}}}}}}}} compositions
Line 21: Line 21:
}}
}}
|<!-- if else, display in one column by default
|<!-- if else, display in one column by default
-->{{#dpl:category=Works with texts by known authors
--><h2>Settings of text by {{{1|{{{name|{{PAGENAME}}}}}}}}</h2>{{#dpl:category=Works with texts by known authors
|linksto={{{1|{{{name|{{PAGENAME}}}}}}}} settings
|linksto={{{1|{{{name|{{PAGENAME}}}}}}}} settings
|notcategory={{{1|{{{name|{{PAGENAME}}}}}}}} compositions
|notcategory={{{1|{{{name|{{PAGENAME}}}}}}}} compositions

Revision as of 15:54, 3 March 2020

Documentation

Displays a list of settings by a given lyricist. Only those works pages to which the template {{Lyricist}} has been applied will be listed.

Basic syntax
{{LyricistSettingsList}}
Usage with optional parameters
{{LyricistSettingsList|lyricist_name|num_columns|max_title_length}}
Usage with named parameters (in any position)
{{LyricistSettingsList|maxlen=max_title_length|cols=num_columns|name=lyricist_name}}