Template:GenreLanguage: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{1}}}|'''Genre:''' {{{1}}}, {{#if:{{{2}}}|{{{2}}}. {{#if:{{{3}}}|'''Language:''' {{{3}}}|'''Language:''' several.}}|mixed. }}|'''Genre:''' mixed, }}</incl...")
 
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{1}}}|'''Genre:''' {{{1}}}, {{#if:{{{2}}}|{{{2}}}. {{#if:{{{3}}}|'''Language:''' {{{3}}}|'''Language:''' several.}}|mixed. }}|'''Genre:''' mixed, }}</includeonly><noinclude><!--
<includeonly>{{#if:{{{1}}}|'''Genre:''' {{{1}}}, |'''Genre: mixed, }}{{#if:{{{2}}}|{{{2}}}. |mixed. }}<!--
-->{{#if:{{{3}}}|'''Language:''' {{{3}}}.<br>|'''Language:''' several.<br>}}</includeonly><noinclude><!--
-->{{Doc|1=
-->{{Doc|1=
This template is designed for use on a {{CiteCat|Music publications}} page; it passes the Genre, Subgenre, and Language of the works in the publication, '''only''' if the parameter applies to '''all''' of the works in the publication. Examples:
This template is designed for use on a {{CiteCat|Music publications}} page; it passes the Genre, Subgenre, and Language of the works in the publication, '''only''' if the parameter applies to '''all''' of the works in the publication. Examples:
Line 5: Line 6:
#Some works are Sacred, some Secular, mixed subgenres, all in Italian – <tt><nowiki>{{GenreLanguage||Italian}}</nowiki></tt>
#Some works are Sacred, some Secular, mixed subgenres, all in Italian – <tt><nowiki>{{GenreLanguage||Italian}}</nowiki></tt>
}}
}}
 
[[Category:Templates]]
Category:Templates
</noinclude>

Revision as of 02:36, 16 August 2017

Documentation

This template is designed for use on a Music publications page; it passes the Genre, Subgenre, and Language of the works in the publication, only if the parameter applies to all of the works in the publication. Examples:

  1. All works are Secular and in Latin, but some are hymns, some are songs – {{GenreLanguage|Secular|Latin}}
  2. Some works are Sacred, some Secular, mixed subgenres, all in Italian – {{GenreLanguage||Italian}}