Template:MassText: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(added text for Requiem, documentation)
(this will hopefully fix the issue with extra bullets)
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1|}}}
|Requiem=Please refer to the '''''[[Requiem]]''''' page for texts and translations, or see the separate pages for the ''[[Kyrie]]'', ''[[Sanctus]]'' &amp; ''[[Benedictus qui venit|Benedictus ]]'', and ''[[Agnus Dei]]''.
|Requiem=For information, refer to the '''''[[Requiem]]''''' page.  For texts and translations, see the individual pages:
|Please refer to the '''[[Mass]]''' page for texts, or for translations see the separate pages for the ''[[Kyrie]]'', ''[[Gloria]]'', ''[[Credo]]'', ''[[Sanctus]]'' &amp; [[Benedictus qui venit|''Benedictus'']], and ''[[Agnus Dei]]''.}}</includeonly><noinclude>
:{{#sub: {{#if: {{{I|{{{i|}}}}}} ||&bull; ''[[Requiem aeternam|Introitus]]''}} <!--
-->{{#if: {{{K|{{{k|}}}}}} ||&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{T|{{{t|}}}}}} ||&bull; ''[[Sicut cervus|Tractus]]''}} <!--
-->{{#if: {{{Seq|{{{seq|}}}}}} ||&bull; ''[[Dies irae|Sequentia]]''}} <!--
-->{{#if: {{{O|{{{o|}}}}}} ||&bull; ''[[Domine Jesu Christe|Offertorium]]''}} <!--
-->{{#if: {{{S|{{{s|}}}}}} ||&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|}}}}}} || &amp; ''[[Benedictus qui venit|Benedictus]]''}}}} <!--
-->{{#if: {{{A|{{{a|}}}}}} ||&bull; ''[[Agnus Dei|Agnus&nbsp;Dei]]''}} <!--
-->{{#if: {{{C|{{{c|}}}}}} ||&bull; ''[[Lux aeterna|Communio]]''}} <!--
-->{{#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: {{{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:
:{{#sub: {{#if: {{{K|{{{k|}}}}}} ||&bull; ''[[Kyrie]]''}} <!--
-->{{#if: {{{G|{{{g|}}}}}} ||&bull; ''[[Gloria]]''}} <!--
-->{{#if: {{{C|{{{c|}}}}}} ||&bull; ''[[Credo]]''}} <!--
-->{{#if: {{{S|{{{s|}}}}}} ||&bull; ''[[Sanctus]]'' {{#if: {{{B|{{{b|}}}}}} ||&amp; ''[[Benedictus qui venit|Benedictus]]''}} }} <!--
-->{{#if: {{{A|{{{a|}}}}}} ||&bull; ''[[Agnus Dei]]''}} <!--
-->{{#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: {{{3|}}} |&bull; ''[[{{{3}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{3}}}}}}}}} text page| ]]</span> <!--
-->}} }} [[Category:Works that link to text pages|{{{sort|{{LastNameFirst|{{CompFromWorkTitle}}}} }}}]] }} | 7 <!-- remove initial &bull; -->}}
}}</includeonly><noinclude>
{{prot-temp}}
{{prot-temp}}
{{DisplayBox|bgcolor=g|text=
{{Doc|text=
;Usage:
===Usage:===
*<code><nowiki>{{MassText}}</nowiki></code> displays:
*<tt><nowiki>{{MassText}}</nowiki></tt> displays:
{{MassText}}
{{MassText}}
*<code><nowiki>{{MassText|Requiem}}</nowiki></code> displays:
*<tt><nowiki>{{MassText|Requiem}}</nowiki></tt> displays:
{{MassText|Requiem}}
{{MassText|Requiem}}
===Hiding movements:===
To hide specific movements from the list, use the following syntax:
*<tt><nowiki>{{MassText|K=-|G=-|C=-|S=-|B=-|A=-}}</nowiki></tt> or
*<tt><nowiki>{{MassText|K=no|G=no|C=no|S=no|B=no|A=no}}</nowiki></tt>
Similarly for the Requiem mass:
*<tt><nowiki>{{MassText|Requiem|I=-|K=-|T=-|Seq=-|O=-|S=-|B=-|A=-|C=-}}</nowiki></tt>
Notice that {{para|S|-}} hides ''Sanctus'' '''and''' ''Benedictus'', while {{para|B|-}} only hides ''Benedictus''.
Examples:
*<tt><nowiki>{{MassText|G=-|C=-}}</nowiki></tt> displays:
{{MassText|G=-|C=-}}
*<tt><nowiki>{{MassText|Requiem|Seq=-|O=-|B=-}}</nowiki></tt>
{{MassText|Requiem|Seq=-|O=-|B=-}}
}}
}}
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 12:04, 26 September 2018

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:

IntroitusKyrieTractusSequentiaOffertoriumSanctus & BenedictusAgnus DeiCommunio

Hiding movements:

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

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

Similarly for the Requiem mass:

  • {{MassText|Requiem|I=-|K=-|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:

IntroitusKyrieTractusSanctusAgnus DeiCommunio