Template:LyricistSettingsList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
(notcategory=Text pages)
Line 1: Line 1:
<includeonly>{{#ifexpr: {{#dpl:category=Works with texts by known authors
<includeonly>{{#ifexpr: {{#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
|notcategory=Text pages
|distinct=false
|distinct=false
|mode=userformat
|mode=userformat
Line 9: Line 10:
|<!-- if more than 10 results, display in two columns by default
|<!-- if more than 10 results, display in two columns by default
-->{{#dpl:category=Works with texts by known authors
-->{{#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
|notcategory=Text pages
|columns={{{2|{{{cols|2}}}}}}
|columns={{{2|{{{cols|2}}}}}}
|titlemaxlength={{{3|{{{maxlen|100}}}}}}
|titlemaxlength={{{3|{{{maxlen|100}}}}}}
Line 21: Line 23:
|<!-- if else, display in one column by default
|<!-- if else, display in one column by default
-->{{#dpl:category=Works with texts by known authors
-->{{#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
|notcategory=Text pages
|columns={{{2|{{{cols|1}}}}}}
|columns={{{2|{{{cols|1}}}}}}
|titlemaxlength={{{3|{{{maxlen|100}}}}}}
|titlemaxlength={{{3|{{{maxlen|100}}}}}}

Revision as of 19:49, 9 July 2015

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}}