Template:MassText: Difference between revisions
m (Initial test) |
(update doc) |
||
(44 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
= | <includeonly>{{#switch: {{{1|}}} | ||
|Requiem=For information, refer to the '''''[[Requiem]]''''' page. For texts and translations, see the individual pages: | |||
:{{#sub: {{#if: {{{I|{{{i|show}}}}}} |• Intr: [[Requiem aeternam|''Requiem'']]}} <!-- | |||
-->{{#if: {{{K|{{{k|show}}}}}} |• ''[[Kyrie]]''}} <!-- | |||
-->{{#if: {{{Gr|{{{gr|<!--don't show-->}}}}}} |• Gr: [[{{{Gr|{{{gr}}}}}}|''{{{Gr|{{{gr}}}}}}'']]}} <!-- | |||
-->{{#if: {{{T|{{{t|show}}}}}} |• Tr: [[{{{T|{{{t|Absolve Domine}}}}}}|''{{{T|{{{t|Absolve Domine}}}}}}'']]}} <!-- | |||
-->{{#if: {{{Seq|{{{seq|show}}}}}} |• [[Dies irae|''Dies irae'']]}} <!-- | |||
-->{{#if: {{{O|{{{o|show}}}}}} |• Off: [[Domine Jesu Christe|''Domine Jesu Christe'']]}} <!-- | |||
-->{{#if: {{{S|{{{s|show}}}}}} |• ''[[Sanctus]]'' {{#if: {{{B|{{{b|show}}}}}} | & ''[[Benedictus qui venit|Benedictus]]''}}}} <!-- | |||
-->{{#if: {{{E|{{{e|<!--don't show-->}}}}}} |• Elev: [[{{{E|{{{e}}}}}}|''{{{E|{{{e}}}}}}'']]}} <!-- | |||
-->{{#if: {{{A|{{{a|show}}}}}} |• [[Agnus Dei#Requiem variant|''Agnus Dei'']]}} <!-- | |||
-->{{#if: {{{C|{{{c|show}}}}}} |• Comm: [[Lux aeterna|''Lux aeterna'']]}} <!-- | |||
-->{{#if: {{{2|}}} |• ''[[{{{2}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{2}}}}}}}}} text page| ]]</span> <!-- | |||
-->{{#if: {{{3|}}} |• ''[[{{{3}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{3}}}}}}}}} text page| ]]</span> <!-- | |||
-->{{#if: {{{4|}}} |• ''[[{{{4}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{4}}}}}}}}} text page| ]]</span> <!-- | |||
-->}} }} [[Category:Works that link to text pages|{{{sort|{{LastNameFirst|{{CompFromWorkTitle}}}} }}}]] }} | 7 <!-- remove initial • -->}} | |||
|For information, refer to the '''[[Mass]]''' page. For texts and translations, see the individual pages: | |||
:{{#sub: {{#if: {{{K|{{{k|show}}}}}} |• ''[[Kyrie]]''}} <!-- | |||
-->{{#if: {{{G|{{{g|show}}}}}} |• ''[[{{{G|{{{g|Gloria}}}}}}|Gloria]]''}} <!-- | |||
-->{{#if: {{{C|{{{c|show}}}}}} |• ''[[Credo]]''}} <!-- | |||
-->{{#if: {{{S|{{{s|show}}}}}} |• ''[[Sanctus]]'' {{#if: {{{B|{{{b|show}}}}}} |& ''[[Benedictus qui venit|Benedictus]]''}} }} <!-- | |||
-->{{#if: {{{A|{{{a|show}}}}}} |• ''[[Agnus Dei]]''}} <!-- | |||
-->{{#if: {{{1|}}} |• ''[[{{{1}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{1}}}}}}}}} text page| ]]</span> <!-- | |||
-->{{#if: {{{2|}}} |• ''[[{{{2}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{2}}}}}}}}} text page| ]]</span> <!-- | |||
-->{{#if: {{{3|}}} |• ''[[{{{3}}}]]''<span style="display:none">[[{{{list|{{{cat|{{{3}}}}}}}}} text page| ]]</span> <!-- | |||
-->}} }} [[Category:Works that link to text pages|{{{sort|{{LastNameFirst|{{CompFromWorkTitle}}}} }}}]] }} | 7 <!-- remove initial • -->}} | |||
}}</includeonly><noinclude> | |||
{{prot-temp}} | |||
{{Doc|text= | |||
===Usage:=== | |||
*<tt><nowiki>{{MassText}}</nowiki></tt> displays: | |||
{{MassText}} | |||
*<tt><nowiki>{{MassText|Requiem}}</nowiki></tt> displays: | |||
{{MassText|Requiem}} | |||
===Toggling the visibility of individual parts:=== | |||
To hide specific parts from the list, use the following syntax: | |||
*<tt><nowiki>{{MassText|K=|G=|C=|S=|B=|A=}}</nowiki></tt> | |||
Similarly for the Requiem mass: | |||
*<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 and Elevation are hidden by default; use {{para|Gr|''<Gradual text>''}} or {{para|E|''<Elevation text>''}} to make each visible. | |||
Examples: | |||
*<tt><nowiki>{{MassText|G=|C=}}</nowiki></tt> displays: | |||
{{MassText|G=|C=}} | |||
*<tt><nowiki>{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=|E=Pie Jesu}}</nowiki></tt> | |||
{{MassText|Requiem|Gr=Si ambulem|Seq=|O=|B=|E=Pie Jesu}} | |||
===Replacing default texts:=== | |||
The template allows for alternative texts for the Gloria and the Tract: | |||
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> | |||
{{MassText|Requiem|T=Sicut cervus}} | |||
}} | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 02:32, 30 August 2022
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
Usage:
- {{MassText}} displays:
For information, refer to the Mass page. For texts and translations, see the individual pages:
- {{MassText|Requiem}} displays:
For information, refer to the Requiem page. For texts and translations, see the individual pages:
- Intr: Requiem • Kyrie • Tr: Absolve Domine • Dies irae • Off: Domine Jesu Christe • Sanctus & Benedictus • Agnus 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:
- Kyrie • Sanctus & Benedictus • Agnus 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: Requiem • Kyrie • Gr: Si ambulem • Tr: Absolve Domine • Sanctus • Elev: Pie Jesu • Agnus 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:
Example 2:
- {{MassText|Requiem|T=Sicut cervus}}
For information, refer to the Requiem page. For texts and translations, see the individual pages:
- Intr: Requiem • Kyrie • Tr: Sicut cervus • Dies irae • Off: Domine Jesu Christe • Sanctus & Benedictus • Agnus Dei • Comm: Lux aeterna