Difference between revisions of "Template:Lyricist"

From ChoralWiki
Jump to: navigation, search
m (Text replace - "Lyricist_page" to "New_lyricist")
Line 1: Line 1:
 
<includeonly>{{#switch:{{{1}}}
 
<includeonly>{{#switch:{{{1}}}
|2 ='''Lyricists:''' {{#ifexist:{{{2}}}|[[{{{2}}}]]|{{{2}}}<small><sup>[{{fullurl:{{{2}}}|action=edit&preload=Template:Lyricist_page/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{#if:{{{5|}}}|{{{4|}}}}}{{{connective|&nbsp;and}}} {{#ifexist:{{{3}}}|[[{{{3}}}]]|{{{3}}}<small><sup>[{{fullurl:{{{3}}}|action=edit&preload=Template:Lyricist_page/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{{5|{{{4|}}}}}} [[Category:{{{2}}} settings]] [[Category:{{{3}}} settings]]
+
|2 ='''Lyricists:''' {{#ifexist:{{{2}}}|[[{{{2}}}]]|{{{2}}}<small><sup>[{{fullurl:{{{2}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{#if:{{{5|}}}|{{{4|}}}}}{{{connective|&nbsp;and}}} {{#ifexist:{{{3}}}|[[{{{3}}}]]|{{{3}}}<small><sup>[{{fullurl:{{{3}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{{5|{{{4|}}}}}} [[Category:{{{2}}} settings]] [[Category:{{{3}}} settings]]
 
|3 ='''Lyricists:''' [[{{{2}}}]]{{#if:{{{6|}}}|{{{5|}}}}}, [[{{{3}}}]]{{{6|}}} and [[{{{4}}}]]{{{7|{{#if:{{{6|}}}||{{{5|}}}}}}}} [[Category:{{{2}}} settings]] [[Category:{{{3}}} settings]] [[Category:{{{4}}} settings]]
 
|3 ='''Lyricists:''' [[{{{2}}}]]{{#if:{{{6|}}}|{{{5|}}}}}, [[{{{3}}}]]{{{6|}}} and [[{{{4}}}]]{{{7|{{#if:{{{6|}}}||{{{5|}}}}}}}} [[Category:{{{2}}} settings]] [[Category:{{{3}}} settings]] [[Category:{{{4}}} settings]]
 
|Anonymous
 
|Anonymous
Line 8: Line 8:
 
|Composer?
 
|Composer?
 
|Proably the composer ='''Lyricist:''' [[Composer(?) lyricist|Probably the composer]]{{{2|}}} [[Category:Composer(?) lyricist settings|{{{sort|{{{9|?}}}}}}]]
 
|Proably 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:Lyricist_page/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>
 
{{prot-temp}}<br>
 
{{prot-temp}}<br>

Revision as of 19:30, 20 May 2013


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