Template:Prayer: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#cargo_declare:
{{#cargo_store:
_table=Prayers
_table=Prayers
|Name=String
|Name={{{Name|}}}
|Text=Text
|Text={{{Text|}}}
|Author=String
|Author={{{Author|}}}
|Purpose=List (Adoration,Petition,Thanksgiving,Repentance,Intercession,Consecration)
|Purpose={{{Purpose|}}}
|Recipient=List (God,Jesus Christ,Holy Spirit,Virgin Mary,Saints,Angels,General)
|Recipient={{{Recipient|}}}
|LiturgicalContext=List (Mass,Liturgy of the Hours,Rosary,Sacramental,Seasonal,General Devotion)
|LiturgicalContext={{{LiturgicalContext|}}}
|PrayerType=List (Traditional,Litany,Novena,Hymn,Spontaneous)
|PrayerType={{{PrayerType|}}}
|Theme=List (Faith,Hope,Charity,Penitential,Eschatological)
|Theme={{{Theme|}}}
|FeastDay=String
|FeastDay={{{FeastDay|}}}
|CanonizationStatus=List (Saint,Blessed,Venerable,N/A)
|CanonizationStatus={{{CanonizationStatus|}}}
|Origin=List (Biblical,Patristic,Medieval,Modern,Cultural)
|Origin={{{Origin|}}}
|Usage=List (Personal,Communal,Occasional)
|Usage={{{Usage|}}}
|Length=List (Short,Medium,Long)
|Length={{{Length|}}}
|Season=List (Advent,Lent,Easter,Ordinary Time,General)
|Season={{{Season|}}}
|Language=String
|Language={{{Language|}}}
|Approval=String
|Approval={{{Approval|}}}
|Tags=List (healing,protection,Marian,penitential,devotional,eschatological)
|Tags={{{Tags|}}}
|DateAdded=Date
|DateAdded={{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}
}}
}}
== {{{Name|}}} ==
{{#if: {{{Text|}}} | '''Text:''' <blockquote>{{{Text}}}</blockquote> }}
{{#if: {{{Author|}}} | '''Author:''' {{{Author}}} }}
{{#if: {{{Purpose|}}} | '''Purpose:''' {{{Purpose}}} }}
{{#if: {{{Recipient|}}} | '''Recipient:''' {{{Recipient}}} }}
{{#if: {{{LiturgicalContext|}}} | '''Liturgical Context:''' {{{LiturgicalContext}}} }}
{{#if: {{{PrayerType|}}} | '''Prayer Type:''' {{{PrayerType}}} }}
{{#if: {{{Theme|}}} | '''Theme:''' {{{Theme}}} }}
{{#if: {{{FeastDay|}}} | '''Feast Day:''' {{{FeastDay}}} }}
{{#if: {{{CanonizationStatus|}}} | '''Canonization Status:''' {{{CanonizationStatus}}} }}
{{#if: {{{Origin|}}} | '''Origin:''' {{{Origin}}} }}
{{#if: {{{Usage|}}} | '''Usage:''' {{{Usage}}} }}
{{#if: {{{Length|}}} | '''Length:''' {{{Length}}} }}
{{#if: {{{Season|}}} | '''Season:''' {{{Season}}} }}
{{#if: {{{Language|}}} | '''Language:''' {{{Language}}} }}
{{#if: {{{Approval|}}} | '''Approval:''' {{{Approval}}} }}
{{#if: {{{Tags|}}} | '''Tags:''' {{{Tags}}} }}
{{#if: {{{DateAdded|}}} | '''Added on:''' {{{DateAdded}}} }}
[[Category:Catholic Prayers]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
This template defines the Cargo table `Prayers` for storing data about Catholic prayers. Transclude it once on a setup page (e.g., `PrayersSetup`) to create the table. Do not edit unless you intend to modify the table structure.
This template stores and displays information about Catholic prayers in the Prayers Cargo table. It is typically used via the [[Form:Prayer]] form.
 
=== Parameters ===
* '''Name''': The title of the prayer.
* '''Text''': The full text of the prayer.
* '''Author''': The composer (e.g., "St. Francis of Assisi", "Unknown").
* '''Purpose''': The intention (e.g., Adoration, Petition, Thanksgiving).
* '''Recipient''': The addressee (e.g., God, Virgin Mary, Saints).
* '''LiturgicalContext''': Context like Mass, Rosary, or Seasonal.
* '''PrayerType''': Form like Traditional, Litany, or Novena.
* '''Theme''': Theological theme like Faith, Hope, or Penitential.
* '''FeastDay''': Associated feast day (e.g., "October 4").
* '''CanonizationStatus''': Author’s status (e.g., Saint, Blessed, N/A).
* '''Origin''': Historical origin (e.g., Biblical, Medieval, Modern).
* '''Usage''': Context like Personal, Communal, or Occasional.
* '''Length''': Short (<100 words), Medium (100–300 words), or Long (>300 words).
* '''Season''': Liturgical season like Advent, Lent, or General.
* '''Language''': Original language (e.g., "Latin", "English").
* '''Approval''': Ecclesiastical approval (e.g., "Imprimatur", "None").
* '''Tags''': Keywords for searching (e.g., "healing", "Marian").
* '''DateAdded''': Automatically set to the current date.


=== Example ===
=== Example ===
<pre>
<pre>
{{PrayerTable}}
{{Prayer
|Name=Memorare
|Text=Remember, O most gracious Virgin Mary, that never was it known...
|Author=St. Bernard of Clairvaux
|Purpose=Petition
|Recipient=Virgin Mary
|LiturgicalContext=Rosary
|PrayerType=Traditional
|Theme=Hope
|FeastDay=August 20
|CanonizationStatus=Saint
|Origin=Medieval
|Usage=Personal
|Length=Short
|Season=General
|Language=Latin
|Approval=None
|Tags=Marian,intercession,devotional
}}
</pre>
</pre>


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

Navigation menu