Template:Prayer: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 3: Line 3:
|Text
|Text
|Author (default=Unknown)
|Author (default=Unknown)
|Purpose (values=Adoration,Petition,Thanksgiving,Repentance,Intercession,Consecration)
|Purpose (placeholder=Adoration,Petition,Thanksgiving,Repentance,Intercession,Consecration)
|Recipient (values=God,Jesus Christ,Holy Spirit,Virgin Mary,Saints,Angels,General)
|Recipient (placeholder=God,Jesus Christ,Holy Spirit,Virgin Mary,Saints,Angels,General)
|LiturgicalContext (values=Mass,Liturgy of the Hours,Rosary,Sacramental,Seasonal,General Devotion)
|LiturgicalContext (placeholder=Mass,Liturgy of the Hours,Rosary,Sacramental,Seasonal,General Devotion)
|PrayerType (values=Traditional,Litany,Novena,Hymn,Spontaneous)
|PrayerType (placeholder=Traditional,Litany,Novena,Hymn,Spontaneous)
|Theme (values=Faith,Hope,Charity,Penitential,Eschatological)
|Theme (placeholder=Faith,Hope,Charity,Penitential,Eschatological)
|FeastDay
|FeastDay
|CanonizationStatus (values=Saint,Blessed,Venerable,N/A|default=N/A)
|CanonizationStatus (placeholder=Saint,Blessed,Venerable,N/A|default=N/A)
|Origin (values=Biblical,Patristic,Medieval,Modern,Cultural)
|Origin (placeholder=Biblical,Patristic,Medieval,Modern,Cultural)
|Usage (values=Personal,Communal,Occasional)
|Usage (placeholder=Personal,Communal,Occasional)
|Length (values=Short,Medium,Long)
|Length (placeholder=Short,Medium,Long)
|Season (values=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 (values=healing,protection,Marian,penitential,devotional,eschatological)}}
|Tags (placeholder=healing,protection,Marian,penitential,devotional,eschatological)}}


{{#cargo_declare:_table=Prayers
{{#cargo_declare:_table=Prayers
Line 22: Line 22:
|Text=Text
|Text=Text
|Author=String (INDEX)
|Author=String (INDEX)
|Purpose=List (Adoration,Petition,Thanksgiving,Repentance,Intercession,Consecration|delimiter=,)
|Purpose=Text
|Recipient=List (God,Jesus Christ,Holy Spirit,Virgin Mary,Saints,Angels,General|delimiter=,)
|Recipient=Text
|LiturgicalContext=List (Mass,Liturgy of the Hours,Rosary,Sacramental,Seasonal,General Devotion|delimiter=,)
|LiturgicalContext=Text
|PrayerType=List (Traditional,Litany,Novena,Hymn,Spontaneous|delimiter=,)
|PrayerType=Text
|Theme=List (Faith,Hope,Charity,Penitential,Eschatological|delimiter=,)
|Theme=Text
|FeastDay=String
|FeastDay=String
|CanonizationStatus=List (Saint,Blessed,Venerable,N/A|delimiter=,)
|CanonizationStatus=Text
|Origin=List (Biblical,Patristic,Medieval,Modern,Cultural|delimiter=,)
|Origin=Text
|Usage=List (Personal,Communal,Occasional|delimiter=,)
|Usage=Text
|Length=List (Short,Medium,Long|delimiter=,)
|Length=Text
|Season=List (Advent,Lent,Easter,Ordinary Time,General|delimiter=,)
|Season=Text
|Language=String
|Language=String
|Approval=String
|Approval=String
|Tags=List (healing,protection,Marian,penitential,devotional,eschatological|delimiter=,)
|Tags=Text
|DateAdded=Date
|DateAdded=Date
}}
}}
Line 95: Line 95:
* '''Text''': The full text of the prayer.
* '''Text''': The full text of the prayer.
* '''Author''': The composer (e.g., "St. Francis of Assisi", "Unknown").
* '''Author''': The composer (e.g., "St. Francis of Assisi", "Unknown").
* '''Purpose''': The intention (e.g., Adoration, Petition, Thanksgiving).
* '''Purpose''': The intention (e.g., Adoration, Petition, Thanksgiving, or multiple as comma-separated).
* '''Recipient''': The addressee (e.g., God, Virgin Mary, Saints).
* '''Recipient''': The addressee (e.g., God, Virgin Mary, Saints, or multiple).
* '''LiturgicalContext''': Context like Mass, Rosary, or Seasonal.
* '''LiturgicalContext''': Context like Mass, Rosary, or Seasonal (or multiple).
* '''PrayerType''': Form like Traditional, Litany, or Novena.
* '''PrayerType''': Form like Traditional, Litany, or Novena (or multiple).
* '''Theme''': Theological theme like Faith, Hope, or Penitential.
* '''Theme''': Theological theme like Faith, Hope, or Penitential (or multiple).
* '''FeastDay''': Associated feast day (e.g., "October 4").
* '''FeastDay''': Associated feast day (e.g., "October 4").
* '''CanonizationStatus''': Author’s status (e.g., Saint, Blessed, N/A).
* '''CanonizationStatus''': Author’s status (e.g., Saint, Blessed, N/A).
* '''Origin''': Historical origin (e.g., Biblical, Medieval, Modern).
* '''Origin''': Historical origin (e.g., Biblical, Medieval, Modern, or multiple).
* '''Usage''': Context like Personal, Communal, or Occasional.
* '''Usage''': Context like Personal, Communal, or Occasional (or multiple).
* '''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 General.
* '''Season''': Liturgical season like Advent, Lent, or General (or multiple).
* '''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").
* '''Tags''': Keywords for searching (e.g., "healing", "Marian", comma-separated).
* '''DateAdded''': Automatically set to the current date.
* '''DateAdded''': Automatically set to the current date.


Line 135: Line 135:


=== Notes ===
=== Notes ===
- The Cargo table `Prayers` is defined when this template is saved. If the table doesn’t appear in Special:CargoTables, try recreating it via Special:CreateCargoTable or transcluding on a setup page.
- 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.
- Use [[Form:Prayer]] for easy data entry.
- Query the table using {{#cargo_query:tables=Prayers}} for lists or filters.
- Query the table using {{#cargo_query:tables=Prayers}} for lists or filters (e.g., where=Purpose LIKE '%Petition%' for prayers with Petition purpose).
- If errors persist, check Cargo version (requires 3.0+ for complex types) and permissions in LocalSettings.php.


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

Navigation menu