Bureaucrats, Moderators (CommentStreams), Interface administrators, Push subscription managers, Suppressors, Administrators
11,987
edits
No edit summary |
(streamline table) |
||
| Line 2: | Line 2: | ||
{{#template_params:Name | {{#template_params:Name | ||
|Author (default=Unknown) | |Author (default=Unknown) | ||
|Purpose (placeholder=Adoration,Petition,Thanksgiving,Repentance,Intercession,Consecration) | |Purpose (placeholder=Adoration,Blessing,Praise,Petition,Thanksgiving,Repentance,Intercession,Consecration,Contrition) | ||
|Recipient (placeholder=God,Jesus Christ,Holy Spirit,Virgin Mary,Saints,Angels,General) | |Recipient (placeholder=God,Jesus Christ,Holy Spirit,Virgin Mary,Saints,Angels,General) | ||
|LiturgicalContext (placeholder=Mass,Liturgy of the Hours,Rosary,Sacramental,Seasonal,General Devotion) | |LiturgicalContext (placeholder=Mass,Liturgy of the Hours,Rosary,Sacramental,Seasonal,General Devotion,Personal,Communal,Devotional) | ||
|PrayerType (placeholder=Traditional,Litany,Novena,Hymn,Spontaneous | |PrayerType (placeholder=Traditional,Litany,Novena,Hymn,Spontaneous,Vocal,Meditative,Contemplative) | ||
|Origin (placeholder=Biblical,Patristic,Medieval,Modern,Cultural) | |Origin (placeholder=Biblical,Patristic,Medieval,Modern,Cultural) | ||
|Length (placeholder=Short,Medium,Long) | |Length (placeholder=Short,Medium,Long) | ||
|Season (placeholder=Advent,Lent,Easter,Ordinary Time,General) | |Season (placeholder=Advent,Lent,Easter,Ordinary Time,General) | ||
|Language (default=English) | |Language (default=English) | ||
|Approval (default=None) | |Approval (default=None) | ||
|Tags (placeholder=healing,protection,Marian,penitential,devotional,eschatological)}} | |Tags (placeholder=healing,protection,Marian,penitential,devotional,eschatological,faith,hope,charity)}} | ||
{{#cargo_declare:_table=Prayers | {{#cargo_declare:_table=Prayers | ||
|Name=String (INDEX) | |Name=String (INDEX) | ||
|Author=String (INDEX) | |Author=String (INDEX) | ||
|Purpose= | |Purpose=List (delimiter=,) of String | ||
|Recipient= | |Recipient=List (delimiter=,) of String | ||
|LiturgicalContext= | |LiturgicalContext=List (delimiter=,) of String | ||
|PrayerType= | |PrayerType=List (delimiter=,) of String | ||
|Origin=List (delimiter=,) of String | |||
|Length=String | |||
|Season=List (delimiter=,) of String | |||
|Origin= | |||
|Length= | |||
|Season= | |||
|Language=String | |Language=String | ||
|Approval=String | |Approval=String | ||
|Tags= | |Tags=List (delimiter=,) of String | ||
|DateAdded=Date | |DateAdded=Date | ||
}} | }} | ||
| Line 45: | Line 37: | ||
|LiturgicalContext={{{LiturgicalContext|}}} | |LiturgicalContext={{{LiturgicalContext|}}} | ||
|PrayerType={{{PrayerType|}}} | |PrayerType={{{PrayerType|}}} | ||
|Origin={{{Origin|}}} | |Origin={{{Origin|}}} | ||
|Length={{{Length|}}} | |Length={{{Length|}}} | ||
|Season={{{Season|}}} | |Season={{{Season|}}} | ||
| Line 75: | Line 63: | ||
|label6 = Prayer Type | |label6 = Prayer Type | ||
|data6 = {{{PrayerType|}}} | |data6 = {{{PrayerType|}}} | ||
|label7 = | |label7 = Origin | ||
|data7 = {{{ | |data7 = {{{Origin|}}} | ||
|label8 = | |label8 = Length | ||
|data8 = {{{ | |data8 = {{{Length|}}} | ||
|label9 = | |label9 = Season | ||
|data9 = {{{ | |data9 = {{{Season|}}} | ||
|label10 = | |label10 = Language | ||
|data10 | |data10 = {{{Language|English}}} | ||
|label11 = Approval | |||
|data11 = {{{Approval|None}}} | |||
|label12 = Tags | |||
|data12 = {{{Tags|}}} | |||
|label13 = Added on | |||
|data13 = {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
| Line 110: | Line 90: | ||
* '''Purpose''': The intention (e.g., Adoration, Petition, or comma-separated like Adoration,Petition). | * '''Purpose''': The intention (e.g., Adoration, Petition, or comma-separated like Adoration,Petition). | ||
* '''Recipient''': The addressee (e.g., God, Virgin Mary, or God,Virgin Mary). | * '''Recipient''': The addressee (e.g., God, Virgin Mary, or God,Virgin Mary). | ||
* '''LiturgicalContext''': Context like Mass, Rosary, or Mass, | * '''LiturgicalContext''': Context like Mass, Rosary, or Mass,Personal,Communal. | ||
* '''PrayerType''': Form like Traditional, Litany, or Traditional,Novena. | * '''PrayerType''': Form like Traditional, Litany, or Traditional,Novena. | ||
* '''Origin''': Historical origin (e.g., Biblical, Medieval, or Biblical,Modern). | * '''Origin''': Historical origin (e.g., Biblical, Medieval, or Biblical,Modern). | ||
* '''Length''': Short (<100 words), Medium (100–300 words), or Long (>300 words). | * '''Length''': Short (<100 words), Medium (100–300 words), or Long (>300 words). | ||
* '''Season''': Liturgical season like Advent, Lent, or Advent,General. | * '''Season''': Liturgical season like Advent, Lent, or Advent,General. | ||
* '''Language''': Original language (e.g., "Latin", "English"). | * '''Language''': Original language (e.g., "Latin", "English"). | ||
* '''Approval''': Ecclesiastical approval (e.g., "Imprimatur", "None"). | * '''Approval''': Ecclesiastical approval (e.g., "Imprimatur", "None"). | ||
* '''Tags''': Keywords for searching (e.g., "healing", "Marian", comma-separated). | * '''Tags''': Keywords for searching (e.g., "healing", "Marian", "faith", comma-separated). | ||
* '''DateAdded''': Automatically set to the current date. | * '''DateAdded''': Automatically set to the current date. | ||
| Line 129: | Line 105: | ||
|Name=Memorare | |Name=Memorare | ||
|Author=St. Bernard of Clairvaux | |Author=St. Bernard of Clairvaux | ||
|Purpose=Petition | |Purpose=Petition,Intercession | ||
|Recipient=Virgin Mary | |Recipient=Virgin Mary | ||
|LiturgicalContext=Rosary | |LiturgicalContext=Rosary,Personal | ||
|PrayerType=Traditional | |PrayerType=Traditional | ||
|Origin=Medieval | |Origin=Medieval | ||
|Length=Short | |Length=Short | ||
|Season=General | |Season=General | ||
|Language=Latin | |Language=Latin | ||
|Approval=None | |Approval=None | ||
|Tags=Marian,intercession,devotional | |Tags=Marian,intercession,devotional,hope | ||
}} | }} | ||
</pre> | </pre> | ||
=== Notes === | === Notes === | ||
* | * The Cargo table `Prayers` is defined when this template is saved. If the table doesn’t appear in Special:CargoTables, use Special:CreateCargoTable with the #cargo_declare code or transclude on a setup page (e.g., PrayersSetup). | ||
* | * Use [[Form:Prayer]] for easy data entry. | ||
* - Query | * For multi-valued fields (e.g., Purpose, Tags), use comma-separated values. Query with exact matches (e.g., {{#cargo_query:tables=Prayers|where=Purpose HOLDS 'Petition'}}). | ||
* | * The template displays only an infobox with metadata, without a section heading or prayer text. | ||
* | * The infobox uses the `{{Infobox}}` template for a standardized appearance. | ||
* | * If errors persist, check Cargo version (3.0+ recommended) and permissions in LocalSettings.php. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||