Template:Lyricist: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Anonymous lyricist settings)
(don't understand {{tl yet, but this seems to work)
Line 25: Line 25:
:which produces the text
:which produces the text
::'''Lyricists:''' <font color=blue>Lyricist1_name</font> and <font color=blue>Lyricist2_name</font> optional_text
::'''Lyricists:''' <font color=blue>Lyricist1_name</font> and <font color=blue>Lyricist2_name</font> optional_text
:and inserts the page in category {{CiteCat|Works with texts by known authors}}
:and inserts the page in category {{CiteCat|Works with texts by known authors}}  
The conjunction "and" may be replaced by inserting another parameter:
<nowiki>{{Lyricist|2|Johann Gottfried Herder|connective=, after|Ossian}} </nowiki>
:produces the text
::'''Lyricists:''' <font color=blue>Johann Gottfried Herder</font>, after <font color=blue>Ossian</font>


*{{tl|Lyricist|3|''lyricist1_name''|''lyricist2_name''|''lyricist3_name''|''optional_text''}}
*{{tl|Lyricist|3|''lyricist1_name''|''lyricist2_name''|''lyricist3_name''|''optional_text''}}

Revision as of 22:46, 16 October 2018

Documentation
Usage
  • {{Lyricist|lyricist_name|optional_text}}
which produces the text
Lyricist: Lyricist_name optional_text
and inserts the page in category Works with texts by known authors
  • {{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 category Works with texts by known authors

The conjunction "and" may be replaced by inserting another parameter: {{Lyricist|2|Johann Gottfried Herder|connective=, after|Ossian}}

produces the text
Lyricists: Johann Gottfried Herder, after Ossian
  • {{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 category Works with texts by known authors
See also