Template:GenreLanguage: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1}}}|{{#if:{{{2}}}|'''Genre, Subgenre:''' {{{1}}}, {{{2}}}|'''Genre:''' {{{1}}}}}|{{#if:{{{2}}}|'''Subgenre:'''  {{{2}}}|}}}}{{#if:{{{3}}}|. '''Language:''' {{{3}}}{{#ifexpr:{{{4}}}>0|, {{{4}}} voices.|.}}|{{#ifexpr:{{{4}}}>0|'''Voices:''' {{{4}}}.|}}}}</includeonly><noinclude><!--
<includeonly>{{#if:{{{1}}}|{{#if:{{{2}}}|'''Genre, Subgenre:''' {{{1}}}, {{{2}}}.|'''Genre:''' {{{1}}}.}}<!--
-->|{{#if:{{{2}}}|'''Subgenre:'''  {{{2}}}|}}}}{{#if:{{{3}}}|&nbsp;'''Language:''' {{{3}}}{{#if:{{{4}}}|, {{{4}}} voices.|.}}<!--
-->|{{#if:{{{4}}}|'''Voices:''' {{{4}}}.|}}}}</includeonly><noinclude><!--
-->{{Doc|1=
-->{{Doc|1=
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:
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:

Latest revision as of 00:54, 20 August 2017

Documentation

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:

  1. All works are Secular, in Latin, for four voices, but some are hymns, some are songs – {{GenreLanguage|Secular||Latin|4}}
  2. Some works are Sacred, some Secular, 4-6 voices, mixed subgenres, all in Italian – {{GenreLanguage|||Italian|}}