Template:LyricistSettingsList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (rmv 1 line break)
m (another try)
Line 8: Line 8:
|allowcachedresults=true  
|allowcachedresults=true  
|suppresserrors=true
|suppresserrors=true
|listattr= style="font-style: italic;"
|listattr= style="font-style: italic;"}}</includeonly><noinclude><!--
}}</includeonly><noinclude><!--
-->{{DisplayBox|bgcolor=g|text=
-->{{DisplayBox|bgcolor=g|text=
<center><big>'''Documentation'''</big></center>
<center><big>'''Documentation'''</big></center>
Line 19: Line 18:


;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 with named parameters (in any position): <tt><nowiki>{{LyricistSettingsList|</nowiki>'''maxlen'''=''<max_title_length>''{{!}}'''cols'''=''<num_columns>''{{!}}'''name'''=''<lyricist_name>''<nowiki>}}</nowiki></tt>
In any case the lyricist informed in <tt>''<lyricist_name>''</tt> (or the article name by default) will be included in category {{CiteCat|Lyricists}}
}}
}}
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 00:24, 29 May 2009

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