Template:GenreLanguage: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1}}}|{{#if:{{{2}}}|'''Genre, Subgenre:''' {{{1}}}, {{{2}}}|'''Genre:''' {{{1}}}}}|{{#if:{{{2}}}|'''Subgenre:''' {{{2}}}|}}}}<!-- | <includeonly>{{#if:{{{1}}}|{{#if:{{{2}}}|'''Genre, Subgenre:''' {{{1}}}, {{{2}}}|'''Genre:''' {{{1}}}}}|{{#if:{{{2}}}|'''Subgenre:''' {{{2}}}|}}}}<!-- | ||
-->{{#if:{{{3}}}|. '''Language:''' {{{3}}}.|.}}</includeonly><noinclude><!-- | -->{{#if:{{{3}}}|. '''Language:''' {{{3}}}|}}{{#if:{{{4}}}|, {{{4}}} voices.|.}}</includeonly><noinclude><!-- | ||
-->{{Doc|1= | -->{{Doc|1= | ||
This template is designed for use on a {{CiteCat|Music publications}} page; it passes the Genre, Subgenre, and | This template is designed for use on a {{CiteCat|Music publications}} page; it passes the Genre, Subgenre, Language, and number of voices of the works in the publication, '''only''' if the parameter applies to '''all''' of the works in the publication. Examples: | ||
#All works are Secular | #All works are Secular, in Latin, for four voices, but some are hymns, some are songs – <tt><nowiki>{{GenreLanguage|Secular||Latin|4}}</nowiki></tt> | ||
#Some works are Sacred, some Secular, mixed subgenres, all in Italian – <tt><nowiki>{{GenreLanguage||Italian}}</nowiki></tt> | #Some works are Sacred, some Secular, 4-6 voices, mixed subgenres, all in Italian – <tt><nowiki>{{GenreLanguage|||Italian|}}</nowiki></tt> | ||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:57, 19 August 2017
This template is designed for use on a Music publications page; it passes the Genre, Subgenre, Language, and number of voices of the works in the publication, only if the parameter applies to all of the works in the publication. Examples:
- All works are Secular, in Latin, for four voices, but some are hymns, some are songs – {{GenreLanguage|Secular||Latin|4}}
- Some works are Sacred, some Secular, 4-6 voices, mixed subgenres, all in Italian – {{GenreLanguage|||Italian|}}