Template:Lyricist: Difference between revisions
Jump to navigation
Jump to search
Documentation
(simplified logic a bit) |
(people are using various synonyms for "Anonymous lyricist", better go with them and add Anonymous/Traditional/Unknown) |
||
Line 1: | Line 1: | ||
{{switch | {{#switch:{{{1}}} | ||
| | |2 ='''Lyricists:''' [[{{{2}}}]]{{#if:{{{5|}}}|{{{4|}}}}} and [[{{{3}}}]]{{{5|{{{4|}}}}}}<includeonly>[[Category:{{{2}}} settings]][[Category:{{{3}}} settings]]</includeonly> | ||
| | |3 ='''Lyricists:''' [[{{{2}}}]]{{#if:{{{6|}}}|{{{5|}}}}}, [[{{{3}}}]]{{{6|}}} and [[{{{4}}}]]{{{7|{{#if:{{{6|}}}||{{{5|}}}}}}}}<includeonly>[[Category:{{{2}}} settings]][[Category:{{{3}}} settings]][[Category:{{{4}}} settings]]</includeonly> | ||
| | |Anonymous | ||
|Traditional | |||
|Unknown ='''Lyricist:''' [[Anonymous lyricist|Anonymous]]{{{2|}}}<includeonly>[[Category:Anonymous lyricist settings]]</includeonly> | |||
|'''Lyricist:''' [[{{{1}}}]]{{{2|}}}<includeonly>[[Category:{{{1}}} settings]]</includeonly> | |||
}}<noinclude> | }}<noinclude> | ||
{{prot-temp}}<br> | {{prot-temp}}<br> |
Revision as of 08:01, 1 May 2009
Lyricist: [[{{{1}}}]]
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
- {{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 [[Category:lyricist1_name settings]] and [[Category: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 [[Category:lyricist1_name settings]], [[Category:lyricist2_name settings]] and [[Category:lyricist3_name settings]]