Template:Lyricist: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Made tolerant with respect to an empty field)
(typo)
Line 8: Line 8:
|Composer(?)
|Composer(?)
|Composer?
|Composer?
|Proably the composer ='''Lyricist:''' [[Composer(?) lyricist|Probably the composer]]{{{2|}}} [[Category:Composer(?) lyricist settings|{{{sort|{{{9|?}}}}}}]]
|Probably the composer ='''Lyricist:''' [[Composer(?) lyricist|Probably the composer]]{{{2|}}} [[Category:Composer(?) lyricist settings|{{{sort|{{{9|?}}}}}}]]
|'''Lyricist:''' {{#ifexist:{{{1}}}|[[{{{1}}}]]|{{{1}}}<small><sup>[{{fullurl:{{{1}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{{2|}}} [[Category:{{{1}}} settings]]
|'''Lyricist:''' {{#ifexist:{{{1}}}|[[{{{1}}}]]|{{{1}}}<small><sup>[{{fullurl:{{{1}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{{2|}}} [[Category:{{{1}}} settings]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 18:51, 22 May 2014


Documentation
Usage
  • {{Lyricist|<lyricist_name>|<optional_text>}}
which produces the text
Lyricist: Lyricist_name optional_text
and inserts the page in category Lyricist_name settings
  • {{Lyricist|2|<lyricist1_name>|<lyricist2_name>|<optional_text>}}
which produces the text
Lyricists: Lyricist1_name and Lyricist2_name optional_text
and inserts the page in categories Lyricist1_name settings and Lyricist2_name settings
  • {{Lyricist|3|<lyricist1_name>|<lyricist2_name>|<lyricist3_name>|<optional_text>}}
which produces the text
Lyricists: Lyricist1_name, Lyricist2_name and Lyricist3_name optional_text
and inserts the page in categories Lyricist1_name settings, Lyricist2_name settings and Lyricist3_name settings