Difference between revisions of "Template:MassText"

From ChoralWiki
Jump to navigation Jump to search
m
(as discussed)
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|show}}}}}} |&bull; [[{{{I|{{{i|Requiem aeternam}}}}}}|Introitus]]}} <!--
+
:{{#sub: {{#if: {{{I|{{{i|show}}}}}} |&bull; [[Requiem aeternam|Introitus]]}} <!--
 
-->{{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
 
-->{{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |&bull; [[Requiem aeternam#Gradual|Gradual]]}} <!--
+
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |&bull; [[{{{Gr|{{{gr}}}}}}|Gradual: ''{{{Gr|{{{gr}}}}}}'']]}} <!--
 
-->{{#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'']]}} <!--
-->{{#if: {{{O|{{{o|show}}}}}} |&bull; [[{{{O|{{{o|Domine Jesu Christe}}}}}}|Offertorium: ''{{{O|{{{o|Domine Jesu Christe}}}}}}'']]}} <!--
+
-->{{#if: {{{O|{{{o|show}}}}}} |&bull; [[Domine Jesu Christe|Offertorium: ''Domine Jesu Christe'']]}} <!--
 
-->{{#if: {{{S|{{{s|show}}}}}} |&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|show}}}}}} | &amp; ''[[Benedictus qui venit|Benedictus]]''}}}} <!--
 
-->{{#if: {{{S|{{{s|show}}}}}} |&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|show}}}}}} | &amp; ''[[Benedictus qui venit|Benedictus]]''}}}} <!--
 
-->{{#if: {{{A|{{{a|show}}}}}} |&bull; ''[[Agnus Dei|Agnus&nbsp;Dei]]''}} <!--
 
-->{{#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: {{{C|{{{c|show}}}}}} |&bull; [[Lux aeterna|Communio: ''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 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''. Also, the Gradual is hidden by default; use {{para|Gr|+}} to make it visible.
+
Notice that {{para|S}} hides ''Sanctus'' '''and''' ''Benedictus'', while {{para|B}} only hides ''Benedictus''. Also, the Gradual is hidden by default; use {{para|Gr|''<Gradual text>''}} to make it visible.
  
 
Examples:
 
Examples:
Line 46: Line 46:
 
{{MassText|G=|C=}}
 
{{MassText|G=|C=}}
  
*<tt><nowiki>{{MassText|Requiem|Gr=+|Seq=|O=|B=}}</nowiki></tt>
+
*<tt><nowiki>{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=}}</nowiki></tt>
{{MassText|Requiem|Gr=+|Seq=|O=|B=}}
+
{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=}}
  
 
===Replacing default texts:===
 
===Replacing default texts:===

Revision as of 03:11, 25 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=<Gradual text> 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=Si ambulem|Seq=|O=|B=}}

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

IntroitusKyrieGradual: Si ambulemTract: Absolve, DomineSanctusAgnus DeiCommunio: Lux aeterna

Replacing default texts:

The template allows for the substitution of the default text of Introit, Tract, Sequence, Offertorium, and Communio 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