Template:LyricistSettingsList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
(added optional parameters for # of cols and title maxlen)
Line 1: Line 1:
<includeonly>{{#dpl:category={{{1}}}_settings|order=ascending|ordermethod=title|suppresserrors=true|listattr= style="font-style: italic;"}}</includeonly><noinclude>
<includeonly>{{#dpl:category={{{1|{{{name|}}}}}}_settings
{{DisplayBox|bgcolor=g|
|columns={{{2|{{{cols|1}}}}}}
|titlemaxlength={{{3|{{{maxlen|100}}}}}}
|rowcolformat=width=100%
|order=ascending
|ordermethod=title
|suppresserrors=true
|listattr= style="font-style: italic;"
}}</includeonly><noinclude>
{{DisplayBox|bgcolor=g|text=
<center><big>'''Documentation'''</big></center>
<center><big>'''Documentation'''</big></center>
Displays a list of settings by a given lyricist. Only those settings to which the template <tt>{{[[template:Lyricist|Lyricist]]|<lyricist>}}</tt> has been applied will be listed.
Displays a list of settings by a given lyricist. Only those settings to which the template <tt>{{[[template:Lyricist|Lyricist]]}}</tt> has been applied will be listed.
 
;Basic syntax: <tt><nowiki>{{LyricistSettingsList</nowiki>{{!}}''<lyricist_name>''<nowiki>}}</nowiki></tt>
 
;Usage with optional parameters: <tt><nowiki>{{</nowiki>LyricistSettingsList{{!}}''<lyricist_name>''{{!}}''<num_columns>''{{!}}''<max_title_length>''<nowiki>}}</nowiki></tt>
 
;Usage with named parameters (in any position): <tt><nowiki>{{LyricistSettingsList|</nowiki>'''maxlen'''=''<max_title_length>''{{!}}'''cols'''=''<num_columns>''{{!}}'''name'''=''<lyricist_name>''<nowiki>}}</nowiki></tt>


;Usage: <tt><nowiki>{{LyricistSettingsList|<lyricist>}}</nowiki></tt>
}}
}}
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 23:01, 18 November 2008


Documentation

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

Basic syntax
{{LyricistSettingsList|<lyricist_name>}}
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>}}