Template:Lyricist: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|Error ='''Error:''' <font color="red">''Please use the syntax'' {{tl|Lyricist|''lyricist name''}}</font> | |Error ='''Error:''' <font color="red">''Please use the syntax'' {{tl|Lyricist|''lyricist name''}}</font> | ||
| ='''Lyricist:''' | | ='''Lyricist:''' | ||
|2 ='''Lyricists:''' {{#ifexist:{{alias|{{{2}}}}}|[[{{alias|{{{2}}}}}|{{{2}}}]]|{{{2}}}<small><sup>[{{fullurl:{{alias|{{{2}}}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{#if:{{{5|}}}|{{{4|}}}}}{{{connective| and}}} {{#ifexist:{{alias|{{{3}}}}}|[[{{alias|{{{3}}}}}|{{{3}}}]]|{{{3}}}<small><sup>[{{fullurl:{{alias|{{{3}}}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{{5|{{{4|}}}}}} <span style="display:none">[[{{alias|{{{2}}}}} settings| ]][[{{alias|{{{3}}}}} settings| ]]{{#dplvar | |2 ='''Lyricists:''' {{#ifexist:{{alias|{{{2}}}}}|[[{{alias|{{{2}}}}}|{{{2}}}]]|{{{2}}}<small><sup>[{{fullurl:{{alias|{{{2}}}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{#if:{{{5|}}}|{{{4|}}}}}{{{connective| and}}} {{#ifexist:{{alias|{{{3}}}}}|[[{{alias|{{{3}}}}}|{{{3}}}]]|{{{3}}}<small><sup>[{{fullurl:{{alias|{{{3}}}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{{5|{{{4|}}}}}} <span style="display:none">[[{{alias|{{{2}}}}} settings| ]][[{{alias|{{{3}}}}} settings| ]]{{#dplvar:set|lyn1|{{{2|}}}}}{{#dplvar:set|lyn2|{{{3|}}}}}</span>{{IfMain|[[Category:Works with texts by known authors]]}} | ||
|3 ='''Lyricists:''' [[{{alias|{{{2}}}}}|{{{2}}}]]{{#if:{{{6|}}}|{{{5|}}}}}, [[{{alias|{{{3}}}}}|{{{3}}}]]{{{6|}}} and [[{{alias|{{{4}}}}}|{{{4}}}]]{{{7|{{#if:{{{6|}}}||{{{5|}}}}}}}} <span style="display:none">[[{{alias|{{{2}}}}} settings| ]][[{{alias|{{{3}}}}} settings| ]][[{{alias|{{{4}}}}} settings| ]]{{#dplvar | |3 ='''Lyricists:''' [[{{alias|{{{2}}}}}|{{{2}}}]]{{#if:{{{6|}}}|{{{5|}}}}}, [[{{alias|{{{3}}}}}|{{{3}}}]]{{{6|}}} and [[{{alias|{{{4}}}}}|{{{4}}}]]{{{7|{{#if:{{{6|}}}||{{{5|}}}}}}}} <span style="display:none">[[{{alias|{{{2}}}}} settings| ]][[{{alias|{{{3}}}}} settings| ]][[{{alias|{{{4}}}}} settings| ]]{{#dplvar:set|lyn1|{{{2|}}}}}{{#dplvar:set|lyn2|{{{3|}}}}}{{#dplvar:set|lyn3|{{{4|}}}}}</span>{{IfMain|[[Category:Works with texts by known authors]]}} | ||
|Anonymous | |Anonymous | ||
|Anonymous lyricist | |Anonymous lyricist | ||
|Traditional | |Traditional | ||
|Unknown ='''Lyricist:''' [[Anonymous lyricist|{{ucfirst: {{{1}}} }}]]{{{2|}}} <span style="display:none">[[Anonymous lyricist settings| ]]{{#dplvar | |Unknown ='''Lyricist:''' [[Anonymous lyricist|{{ucfirst: {{{1}}} }}]]{{{2|}}} <span style="display:none">[[Anonymous lyricist settings| ]]{{#dplvar:set|lyn1|Anonymous}}</span>{{IfMain|[[Category:Works with texts by unknown authors]]}} | ||
|Composer(?) | |Composer(?) | ||
|Composer? | |Composer? | ||
|Probably 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|?}}}}}}]] | ||
|#default='''Lyricist:''' {{#ifexist:{{alias|{{{1}}}}}|[[{{alias|{{{1}}}}}|{{{1}}}]]|{{{1}}}<small><sup>[{{fullurl:{{alias|{{{1}}}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{{2|}}} <span style="display:none">[[{{alias|{{{1}}}}} settings| ]]{{#dplvar | |#default='''Lyricist:''' {{#ifexist:{{alias|{{{1}}}}}|[[{{alias|{{{1}}}}}|{{{1}}}]]|{{{1}}}<small><sup>[{{fullurl:{{alias|{{{1}}}}}|action=edit&preload=Template:New_lyricist/Preload}} create page]</sup></small>[[Category:Works with nonexistent lyricist page]]}}{{{2|}}} <span style="display:none">[[{{alias|{{{1}}}}} settings| ]]{{#dplvar:set|lyn1|{{{1|}}}}}</span>{{IfMain|[[Category:Works with texts by known authors]]}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{prot-temp}} | {{prot-temp}} |
Revision as of 03:38, 18 March 2020
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
Usage
- Syntax for one lyricist
- {{Lyricist|lyricist_name|optional_text}}
- which produces the text
- Lyricist: Lyricist_name optional_text
- Syntax for two lyricists
- {{Lyricist|2|lyricist1_name|lyricist2_name|optional_text}}
- which produces the text
- Lyricists: Lyricist1_name and Lyricist2_name optional_text
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
- Syntax for three lyricists
- {{Lyricist|3|lyricist1_name|lyricist2_name|lyricist3_name|optional_text}}
- which produces the text
- Lyricists: Lyricist1_name, Lyricist2_name and Lyricist3_name optional_text
- Categorization
Whenever this template is used, the page is included in category Works with texts by known authors
- See also