Difference between revisions of "Template:MassText"

From ChoralWiki
Jump to navigation Jump to search
(giving up)
(changed the way parts are hidden, added Graduale - changed Tractus to Absolve)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1|}}}
 
<includeonly>{{#switch: {{{1|}}}
 
|Requiem=For information, refer to the '''''[[Requiem]]''''' page.  For texts and translations, see the individual pages:
 
|Requiem=For information, refer to the '''''[[Requiem]]''''' page.  For texts and translations, see the individual pages:
:{{#sub: {{#if: {{{I|{{{i|}}}}}} ||&bull; [[Requiem aeternam|Introitus]]}} <!--
+
:{{#sub: {{#if: {{{I|{{{i|show}}}}}} |&bull; [[{{{I|{{{i|Requiem aeternam}}}}}}|Introitus]]}} <!--
-->{{#if: {{{K|{{{k|}}}}}} ||&bull; ''[[Kyrie]]''}} <!--
+
-->{{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{T|{{{t|}}}}}} ||&bull; [[Sicut cervus|Tract: ''Sicut cervus'']]}} <!--
+
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |&bull; [[{{{Gr|{{{gr|Requiem aeternam#Gradual}}}}}}|Gradual]]}} <!--
-->{{#if: {{{Seq|{{{seq|}}}}}} ||&bull; [[Dies irae|Sequentia: ''Dies irae'']]}} <!--
+
-->{{#if: {{{T|{{{t|show}}}}}} |&bull; [[{{{T|{{{t|Absolve, Domine}}}}}}|Tract: ''{{{T|{{{t|Absolve, Domine}}}}}}'']]}} <!--
-->{{#if: {{{O|{{{o|}}}}}} ||&bull; [[Domine Jesu Christe|Offertorium: ''Domine Jesu Christe'']]}} <!--
+
-->{{#if: {{{Seq|{{{seq|show}}}}}} |&bull; [[Dies irae|Sequentia: ''Dies irae'']]}} <!--
-->{{#if: {{{S|{{{s|}}}}}} ||&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|}}}}}} || &amp; ''[[Benedictus qui venit|Benedictus]]''}}}} <!--
+
-->{{#if: {{{O|{{{o|show}}}}}} |&bull; [[{{{O|{{{o|Domine Jesu Christe}}}}}}|Offertorium: ''{{{O|{{{o|Domine Jesu Christe}}}}}}'']]}} <!--
-->{{#if: {{{A|{{{a|}}}}}} ||&bull; ''[[Agnus Dei|Agnus&nbsp;Dei]]''}} <!--
+
-->{{#if: {{{S|{{{s|show}}}}}} |&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|show}}}}}} | &amp; ''[[Benedictus qui venit|Benedictus]]''}}}} <!--
-->{{#if: {{{C|{{{c|}}}}}} ||&bull; [[Lux aeterna|Communio: ''Lux aeterna'']]}} <!--
+
-->{{#if: {{{A|{{{a|show}}}}}} |&bull; ''[[Agnus Dei|Agnus&nbsp;Dei]]''}} <!--
 +
-->{{#if: {{{C|{{{c|show}}}}}} |&bull; [[{{{C|{{{c|Lux aeterna}}}}}}|Communio: ''{{{C|{{{c|Lux aeterna}}}}}}'']]}} <!--
 
-->{{#if: {{{2|}}} |&bull; ''[[{{{2}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{2}}}}}}}}} text page| ]]</span> <!--
 
-->{{#if: {{{2|}}} |&bull; ''[[{{{2}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{2}}}}}}}}} text page| ]]</span> <!--
 
-->{{#if: {{{3|}}} |&bull; ''[[{{{3}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{3}}}}}}}}} text page| ]]</span> <!--
 
-->{{#if: {{{3|}}} |&bull; ''[[{{{3}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{3}}}}}}}}} text page| ]]</span> <!--
Line 14: Line 15:
 
-->}} }} [[Category:Works that link to text pages|{{{sort|{{LastNameFirst|{{CompFromWorkTitle}}}} }}}]] }} | 7 <!-- remove initial &bull; -->}}
 
-->}} }} [[Category:Works that link to text pages|{{{sort|{{LastNameFirst|{{CompFromWorkTitle}}}} }}}]] }} | 7 <!-- remove initial &bull; -->}}
 
|For information, refer to the '''[[Mass]]''' page.  For texts and translations, see the individual pages:
 
|For information, refer to the '''[[Mass]]''' page.  For texts and translations, see the individual pages:
:{{#sub: {{#if: {{{K|{{{k|}}}}}} ||&bull; ''[[Kyrie]]''}} <!--
+
:{{#sub: {{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{G|{{{g|}}}}}} ||&bull; ''[[Gloria]]''}} <!--
+
-->{{#if: {{{G|{{{g|show}}}}}} |&bull; ''[[Gloria]]''}} <!--
-->{{#if: {{{C|{{{c|}}}}}} ||&bull; ''[[Credo]]''}} <!--
+
-->{{#if: {{{C|{{{c|show}}}}}} |&bull; ''[[Credo]]''}} <!--
-->{{#if: {{{S|{{{s|}}}}}} ||&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|}}}}}} ||&amp; ''[[Benedictus qui venit|Benedictus]]''}} }} <!--
+
-->{{#if: {{{S|{{{s|show}}}}}} |&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|show}}}}}} |&amp; ''[[Benedictus qui venit|Benedictus]]''}} }} <!--
-->{{#if: {{{A|{{{a|}}}}}} ||&bull; ''[[Agnus Dei]]''}} <!--
+
-->{{#if: {{{A|{{{a|show}}}}}} |&bull; ''[[Agnus Dei]]''}} <!--
 
-->{{#if: {{{1|}}} |&bull; ''[[{{{1}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{1}}}}}}}}} text page| ]]</span> <!--
 
-->{{#if: {{{1|}}} |&bull; ''[[{{{1}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{1}}}}}}}}} text page| ]]</span> <!--
 
-->{{#if: {{{2|}}} |&bull; ''[[{{{2}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{2}}}}}}}}} text page| ]]</span> <!--
 
-->{{#if: {{{2|}}} |&bull; ''[[{{{2}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{2}}}}}}}}} text page| ]]</span> <!--
Line 32: Line 33:
 
{{MassText|Requiem}}
 
{{MassText|Requiem}}
  
===Hiding movements:===
+
===Hiding parts:===
To hide specific movements from the list, use the following syntax:
+
To hide specific partss from the list, use the following syntax:
*<tt><nowiki>{{MassText|K=-|G=-|C=-|S=-|B=-|A=-}}</nowiki></tt> or
+
*<tt><nowiki>{{MassText|K=|G=|C=|S=|B=|A=}}</nowiki></tt>
*<tt><nowiki>{{MassText|K=no|G=no|C=no|S=no|B=no|A=no}}</nowiki></tt>
 
  
 
Similarly for the Requiem mass:
 
Similarly for the Requiem mass:
*<tt><nowiki>{{MassText|Requiem|I=-|K=-|T=-|Seq=-|O=-|S=-|B=-|A=-|C=-}}</nowiki></tt>
+
*<tt><nowiki>{{MassText|Requiem|I=|K=|Gr=|T=|Seq=|O=|S=|B=|A=|C=}}</nowiki></tt>
  
 
Notice that {{para|S|-}} hides ''Sanctus'' '''and''' ''Benedictus'', while {{para|B|-}} only hides ''Benedictus''.
 
Notice that {{para|S|-}} hides ''Sanctus'' '''and''' ''Benedictus'', while {{para|B|-}} only hides ''Benedictus''.
  
 
Examples:
 
Examples:
*<tt><nowiki>{{MassText|G=-|C=-}}</nowiki></tt> displays:
+
*<tt><nowiki>{{MassText|G=|C=}}</nowiki></tt> displays:
{{MassText|G=-|C=-}}
+
{{MassText|G=|C=}}
  
*<tt><nowiki>{{MassText|Requiem|Seq=-|O=-|B=-}}</nowiki></tt>
+
*<tt><nowiki>{{MassText|Requiem|Seq=|O=|B=}}</nowiki></tt>
{{MassText|Requiem|Seq=-|O=-|B=-}}
+
{{MassText|Requiem|Seq=|O=|B=}}
  
 
}}
 
}}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 04:16, 24 November 2020

Documentation

Usage:

  • {{MassText}} displays:

For information, refer to the Mass page. For texts and translations, see the individual pages:

KyrieGloriaCredoSanctus & BenedictusAgnus Dei
  • {{MassText|Requiem}} displays:

For information, refer to the Requiem page. For texts and translations, see the individual pages:

IntroitusKyrieTract: Absolve, DomineSequentia: Dies iraeOffertorium: Domine Jesu ChristeSanctus & BenedictusAgnus DeiCommunio: Lux aeterna

Hiding parts:

To hide specific partss from the list, use the following syntax:

  • {{MassText|K=|G=|C=|S=|B=|A=}}

Similarly for the Requiem mass:

  • {{MassText|Requiem|I=|K=|Gr=|T=|Seq=|O=|S=|B=|A=|C=}}

Notice that |S=- hides Sanctus and Benedictus, while |B=- only hides Benedictus.

Examples:

  • {{MassText|G=|C=}} displays:

For information, refer to the Mass page. For texts and translations, see the individual pages:

KyrieSanctus & BenedictusAgnus Dei
  • {{MassText|Requiem|Seq=|O=|B=}}

For information, refer to the Requiem page. For texts and translations, see the individual pages:

IntroitusKyrieTract: Absolve, DomineSanctusAgnus DeiCommunio: Lux aeterna