Difference between revisions of "Template:Lyricist"

From ChoralWiki
Jump to: navigation, search
(removed #ifs: not really necessary)
(add link to facilitate the creation of lyricist pages)
Line 5: Line 5:
 
|Traditional
 
|Traditional
 
|Unknown ='''Lyricist:''' [[Anonymous lyricist|{{{1}}}]]{{{2|}}} [[Category:Anonymous lyricist settings]]
 
|Unknown ='''Lyricist:''' [[Anonymous lyricist|{{{1}}}]]{{{2|}}} [[Category:Anonymous lyricist settings]]
|'''Lyricist:''' [[{{{1}}}]]{{{2|}}} [[Category:{{{1}}} settings]]
+
|'''Lyricist:''' {{#ifexist:{{{1}}}|[[{{{1}}}]]|{{{1}}}<small><sup>[{{fullurl:{{{1}}}|action=edit&preload=Template:Lyricist_page/Preload}} create page]</sup></small>[[Category:Editions with nonexistent lyricist page]]}}{{{2|}}} [[Category:{{{1}}} settings]]
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{prot-temp}}<br>
 
{{prot-temp}}<br>

Revision as of 03:29, 8 March 2010


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