Template:MassText: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(documentation)
(Undo revision 1261877 by Carlos (talk) not sure this is necessary)
Tag: Undo
(14 intermediate revisions by 2 users 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:
:{{#if: {{{I|{{{i|}}}}}} ||''[[Requiem aeternam|Introitus]]'' &bull;}} <!--
:{{#sub: {{#if: {{{I|{{{i|show}}}}}} |&bull; Intr: [[Requiem aeternam|''Requiem'']]}} <!--
-->{{#if: {{{K|{{{k|}}}}}} ||''[[Kyrie]]'' &bull;}} <!--
-->{{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{T|{{{t|}}}}}} ||''[[Sicut cervus|Tractus]]'' &bull;}} <!--
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |&bull; Gr: [[{{{Gr|{{{gr}}}}}}|''{{{Gr|{{{gr}}}}}}'']]}} <!--
-->{{#if: {{{Seq|{{{seq|}}}}}} ||''[[Dies irae|Sequentia]]'' &bull;}} <!--
-->{{#if: {{{T|{{{t|show}}}}}} |&bull; Tr: [[{{{T|{{{t|Absolve Domine}}}}}}|''{{{T|{{{t|Absolve Domine}}}}}}'']]}} <!--
-->{{#if: {{{O|{{{o|}}}}}} ||''[[Domine Jesu Christe|Offertorium]]'' &bull;}} <!--
-->{{#if: {{{Seq|{{{seq|show}}}}}} |&bull; [[Dies irae|''Dies irae'']]}} <!--
-->{{#if: {{{S|{{{s|}}}}}} ||''[[Sanctus]]'' {{#if: {{{B|{{{b|}}}}}} || &amp; ''[[Benedictus qui venit|Benedictus]]''}} &bull;}} <!--
-->{{#if: {{{O|{{{o|show}}}}}} |&bull; Off: [[Domine Jesu Christe|''Domine Jesu Christe'']]}} <!--
-->{{#if: {{{A|{{{a|}}}}}} ||''[[Agnus Dei|Agnus&nbsp;Dei]]'' &bull;}} <!--
-->{{#if: {{{S|{{{s|show}}}}}} |&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|show}}}}}} | &amp; ''[[Benedictus qui venit|Benedictus]]''}}}} <!--
-->{{#if: {{{C|{{{c|}}}}}} ||''[[Lux aeterna|Communio]]''}} <!--
-->{{#if: {{{E|{{{e|<!--don't show-->}}}}}} |&bull; Elev: [[{{{E|{{{e}}}}}}|''{{{E|{{{e}}}}}}'']]}} <!--
-->{{#if: {{{2|}}} | &bull; ''[[{{{2}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{2}}}}}}}}} text page| ]]</span> <!--
-->{{#if: {{{A|{{{a|show}}}}}} |&bull; [[Agnus Dei#Requiem variant|''Agnus&nbsp;Dei'']]}} <!--
-->{{#if: {{{3|}}} | &bull; ''[[{{{3}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{3}}}}}}}}} text page| ]]</span> <!--
-->{{#if: {{{C|{{{c|show}}}}}} |&bull; Comm: [[Lux aeterna|''Lux aeterna'']]}} <!--
-->{{#if: {{{4|}}} | &bull; ''[[{{{4}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{4}}}}}}}}} text page| ]]</span> <!--
-->{{#if: {{{2|}}} |&bull; ''[[{{{2}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{2}}}}}}}}} text page| ]]</span> <!--
-->}} }} [[Category:Works that link to text pages|{{{sort|{{LastNameFirst|{{CompFromWorkTitle}}}} }}}]] }}
-->{{#if: {{{3|}}} |&bull; ''[[{{{3}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{3}}}}}}}}} text page| ]]</span> <!--
-->{{#if: {{{4|}}} |&bull; ''[[{{{4}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{4}}}}}}}}} text page| ]]</span> <!--
-->}} }} [[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:
:{{#if: {{{K|{{{k|}}}}}} ||''[[Kyrie]]'' &bull;}} <!--
:{{#sub: {{#if: {{{K|{{{k|show}}}}}} |&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{G|{{{g|}}}}}} ||''[[Gloria]]'' &bull;}} <!--
-->{{#if: {{{G|{{{g|show}}}}}} |&bull; ''[[Gloria]]''}} <!--
-->{{#if: {{{C|{{{c|}}}}}} ||''[[Credo]]'' &bull;}} <!--
-->{{#if: {{{C|{{{c|show}}}}}} |&bull; ''[[Credo]]''}} <!--
-->{{#if: {{{S|{{{s|}}}}}} ||''[[Sanctus]]'' {{#if: {{{B|{{{b|}}}}}} || &amp; ''[[Benedictus qui venit|Benedictus]]''}} &bull;}} <!--
-->{{#if: {{{S|{{{s|show}}}}}} |&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|show}}}}}} |&amp; ''[[Benedictus qui venit|Benedictus]]''}} }} <!--
-->{{#if: {{{A|{{{a|}}}}}} ||''[[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> <!--
-->{{#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> <!--
-->}} }} [[Category:Works that link to text pages|{{{sort|{{LastNameFirst|{{CompFromWorkTitle}}}} }}}]] }}
-->}} }} [[Category:Works that link to text pages|{{{sort|{{LastNameFirst|{{CompFromWorkTitle}}}} }}}]] }} | 7 <!-- remove initial &bull; -->}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{prot-temp}}
{{prot-temp}}
Line 32: Line 34:
{{MassText|Requiem}}
{{MassText|Requiem}}


===Hiding movements:===
===Toggling the visibility of individual parts:===
To hide specific movements 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> 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''. 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:
*<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|Gr=Si ambulem|Seq=|O=|B=|E=Pie Jesu}}</nowiki></tt>
{{MassText|Requiem|Seq=-|O=-|B=-}}
{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=|E=Pie Jesu}}
 
===Replacing default texts:===
The template allows for alternative texts for the Tract:
 
Example:
*<tt><nowiki>{{MassText|Requiem|T=Sicut cervus}}</nowiki></tt>
{{MassText|Requiem|T=Sicut cervus}}


}}
}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 02:58, 2 December 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:

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 Tract:

Example:

  • {{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