Template:MassText: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(as discussed)
(update doc)
 
(7 intermediate revisions by the same user not shown)
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; [[Requiem aeternam|Introitus]]}} <!--
:{{#sub: {{#if: {{{I|{{{i|show}}}}}} |&bull; Intr: [[Requiem aeternam|''Requiem'']]}} <!--
-->{{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |&bull; [[{{{Gr|{{{gr}}}}}}|Gradual: ''{{{Gr|{{{gr}}}}}}'']]}} <!--
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |&bull; Gr: [[{{{Gr|{{{gr}}}}}}|''{{{Gr|{{{gr}}}}}}'']]}} <!--
-->{{#if: {{{T|{{{t|show}}}}}} |&bull; [[{{{T|{{{t|Absolve, Domine}}}}}}|Tract: ''{{{T|{{{t|Absolve, Domine}}}}}}'']]}} <!--
-->{{#if: {{{T|{{{t|show}}}}}} |&bull; Tr: [[{{{T|{{{t|Absolve Domine}}}}}}|''{{{T|{{{t|Absolve Domine}}}}}}'']]}} <!--
-->{{#if: {{{Seq|{{{seq|show}}}}}} |&bull; [[Dies irae|Sequentia: ''Dies irae'']]}} <!--
-->{{#if: {{{Seq|{{{seq|show}}}}}} |&bull; [[Dies irae|''Dies irae'']]}} <!--
-->{{#if: {{{O|{{{o|show}}}}}} |&bull; [[Domine Jesu Christe|Offertorium: ''Domine Jesu Christe'']]}} <!--
-->{{#if: {{{O|{{{o|show}}}}}} |&bull; Off: [[Domine Jesu Christe|''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: {{{E|{{{e|<!--don't show-->}}}}}} |&bull; Elev: [[{{{E|{{{e}}}}}}|''{{{E|{{{e}}}}}}'']]}} <!--
-->{{#if: {{{C|{{{c|show}}}}}} |&bull; [[Lux aeterna|Communio: ''Lux aeterna'']]}} <!--
-->{{#if: {{{A|{{{a|show}}}}}} |&bull; [[Agnus Dei#Requiem variant|''Agnus&nbsp;Dei'']]}} <!--
-->{{#if: {{{C|{{{c|show}}}}}} |&bull; Comm: [[Lux aeterna|''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 16: Line 17:
|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|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
:{{#sub: {{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{G|{{{g|show}}}}}} |&bull; ''[[Gloria]]''}} <!--
-->{{#if: {{{G|{{{g|show}}}}}} |&bull; ''[[{{{G|{{{g|Gloria}}}}}}|Gloria]]''}} <!--
-->{{#if: {{{C|{{{c|show}}}}}} |&bull; ''[[Credo]]''}} <!--
-->{{#if: {{{C|{{{c|show}}}}}} |&bull; ''[[Credo]]''}} <!--
-->{{#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]]''}} }} <!--
Line 40: Line 41:
*<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|''<Gradual text>''}} to make it visible.
Notice that {{para|S}} hides ''Sanctus'' '''and''' ''Benedictus'', while {{para|B}} only hides ''Benedictus''. Also, the Gradual and Elevation are hidden by default; use {{para|Gr|''<Gradual text>''}} or {{para|E|''<Elevation text>''}} to make each visible.


Examples:
Examples:
Line 46: Line 47:
{{MassText|G=|C=}}
{{MassText|G=|C=}}


*<tt><nowiki>{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=}}</nowiki></tt>
*<tt><nowiki>{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=|E=Pie Jesu}}</nowiki></tt>
{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=}}
{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=|E=Pie Jesu}}


===Replacing default texts:===
===Replacing default texts:===
The template allows for the substitution of the default text of Introit, Tract, Sequence, Offertorium, and Communio with an alternate one:
The template allows for alternative texts for the Gloria and the Tract:


Examples:
Example 1:
*<tt><nowiki>{{MassText|G=Gloria … Spiritus et alme}}</nowiki></tt>
{{MassText|G=Gloria … Spiritus et alme}}
 
Example 2:
*<tt><nowiki>{{MassText|Requiem|T=Sicut cervus}}</nowiki></tt>
*<tt><nowiki>{{MassText|Requiem|T=Sicut cervus}}</nowiki></tt>
{{MassText|Requiem|T=Sicut cervus}}
{{MassText|Requiem|T=Sicut cervus}}

Latest revision as of 02:32, 30 August 2022

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:

Intr: RequiemKyrie • Tr: Absolve DomineDies irae • Off: Domine Jesu ChristeSanctus & BenedictusAgnus Dei • Comm: 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 and Elevation are hidden by default; use |Gr=<Gradual text> or |E=<Elevation text> to make each 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=|E=Pie Jesu}}

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

Intr: RequiemKyrie • Gr: Si ambulem • Tr: Absolve DomineSanctus • Elev: Pie JesuAgnus Dei • Comm: Lux aeterna

Replacing default texts:

The template allows for alternative texts for the Gloria and the Tract:

Example 1:

  • {{MassText|G=Gloria … Spiritus et alme}}

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

KyrieGloriaCredoSanctus & BenedictusAgnus Dei

Example 2:

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

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

Intr: RequiemKyrie • Tr: Sicut cervusDies irae • Off: Domine Jesu ChristeSanctus & BenedictusAgnus Dei • Comm: Lux aeterna