Difference between revisions of "Template:MassText"

From ChoralWiki
Jump to navigation Jump to search
(changed the way parts are hidden, added Graduale - changed Tractus to Absolve)
(more examples)
Line 3: Line 3:
 
:{{#sub: {{#if: {{{I|{{{i|show}}}}}} |&bull; [[{{{I|{{{i|Requiem aeternam}}}}}}|Introitus]]}} <!--
 
:{{#sub: {{#if: {{{I|{{{i|show}}}}}} |&bull; [[{{{I|{{{i|Requiem aeternam}}}}}}|Introitus]]}} <!--
 
-->{{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
 
-->{{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |&bull; [[{{{Gr|{{{gr|Requiem aeternam#Gradual}}}}}}|Gradual]]}} <!--
+
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |&bull; [[Requiem aeternam#Gradual|Gradual]]}} <!--
 
-->{{#if: {{{T|{{{t|show}}}}}} |&bull; [[{{{T|{{{t|Absolve, Domine}}}}}}|Tract: ''{{{T|{{{t|Absolve, Domine}}}}}}'']]}} <!--
 
-->{{#if: {{{T|{{{t|show}}}}}} |&bull; [[{{{T|{{{t|Absolve, Domine}}}}}}|Tract: ''{{{T|{{{t|Absolve, Domine}}}}}}'']]}} <!--
 
-->{{#if: {{{Seq|{{{seq|show}}}}}} |&bull; [[Dies irae|Sequentia: ''Dies irae'']]}} <!--
 
-->{{#if: {{{Seq|{{{seq|show}}}}}} |&bull; [[Dies irae|Sequentia: ''Dies irae'']]}} <!--
Line 33: Line 33:
 
{{MassText|Requiem}}
 
{{MassText|Requiem}}
  
===Hiding parts:===
+
===Toggling the visibility of individual parts:===
To hide specific partss from the list, use the following syntax:
+
To hide specific parts from the list, use the following syntax:
 
*<tt><nowiki>{{MassText|K=|G=|C=|S=|B=|A=}}</nowiki></tt>
 
*<tt><nowiki>{{MassText|K=|G=|C=|S=|B=|A=}}</nowiki></tt>
  
Line 40: Line 40:
 
*<tt><nowiki>{{MassText|Requiem|I=|K=|Gr=|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''. Also, the Gradual is hidden by default; use {{para|Gr|+}} to make it visible.
  
 
Examples:
 
Examples:
Line 46: Line 46:
 
{{MassText|G=|C=}}
 
{{MassText|G=|C=}}
  
*<tt><nowiki>{{MassText|Requiem|Seq=|O=|B=}}</nowiki></tt>
+
*<tt><nowiki>{{MassText|Requiem|Gr=+|Seq=|O=|B=}}</nowiki></tt>
{{MassText|Requiem|Seq=|O=|B=}}
+
{{MassText|Requiem|Gr=+|Seq=|O=|B=}}
 +
 
 +
===Replacing default texts:===
 +
The Introit, Tract, Sequence, Offertorium, and Communio allow the substitution of the default text with an alternate one:
 +
 
 +
Examples:
 +
*<tt><nowiki>{{MassText|Requiem|T=Sicut cervus}}</nowiki></tt>
 +
{{MassText|Requiem|T=Sicut cervus}}
  
 
}}
 
}}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 04:54, 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

Toggling the visibility of individual parts:

To hide specific parts 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. Also, the Gradual is hidden by default; use |Gr=+ to make it visible.

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|Gr=+|Seq=|O=|B=}}

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

IntroitusKyrieGradualTract: Absolve, DomineSanctusAgnus DeiCommunio: Lux aeterna

Replacing default texts:

The Introit, Tract, Sequence, Offertorium, and Communio allow the substitution of the default text with an alternate one:

Examples:

  • {{MassText|Requiem|T=Sicut cervus}}

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

IntroitusKyrieTract: Sicut cervusSequentia: Dies iraeOffertorium: Domine Jesu ChristeSanctus & BenedictusAgnus DeiCommunio: Lux aeterna