|
|
| Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| {{#template_params:Name | | {{#template_params:SaintName (label=Saint) |
| |Text | | |SaintStage (label=Stage) |
| |Author (default=Unknown)
| | |FeastDay (label=Feast Day, e.g., "May 25" or "June 07", use leading zero for single-digit days) |
| |Purpose (values=Adoration,Petition,Thanksgiving,Repentance,Intercession,Consecration) | | |Profession (label=Profession) |
| |Recipient (values=God,Jesus Christ,Holy Spirit,Virgin Mary,Saints,Angels,General) | | |ReligiousAffiliation (label=Religious Affiliation) |
| |LiturgicalContext (values=Mass,Liturgy of the Hours,Rosary,Sacramental,Seasonal,General Devotion) | | |Patronage (label=Patronage) |
| |PrayerType (values=Traditional,Litany,Novena,Hymn,Spontaneous) | | |Attributes (label=Attributes) |
| |Theme (values=Faith,Hope,Charity,Penitential,Eschatological) | | |SaintBirthDate (label=Birthdate) |
| |FeastDay | | |SaintBirthPlace (label=Birthplace) |
| |CanonizationStatus (values=Saint,Blessed,Venerable,N/A|default=N/A) | | |SaintBirthCoordinates (label=Birth Coordinates) |
| |Origin (values=Biblical,Patristic,Medieval,Modern,Cultural) | | |SaintDeathDate (label=Deathdate) |
| |Usage (values=Personal,Communal,Occasional) | | |DeathPlace (label=Death Place) |
| |Length (values=Short,Medium,Long) | | |SaintDeathCoordinates (label=Death Coordinates) |
| |Season (values=Advent,Lent,Easter,Ordinary Time,General) | | |SaintCauseOfDeath (label=Cause of Death) |
| |Language (default=English) | | |BeatificationDate (label=Beatification Date) |
| |Approval (default=None) | | |Beatifier (label=Beatified by) |
| |Tags (values=healing,protection,Marian,penitential,devotional,eschatological)}} | | |BeatificationLocation (label=Beatification Location) |
| | |Canonized (label=Canonized) |
| | |CanonizationDate (label=Canonization Date) |
| | |Canonizer (label=Canonized by) |
| | |CanonizationLocation (label=Canonization Location) |
| | |PrimaryShrine (label=Primary Shrine) |
| | |AdditionalVeneration (label=Additional Veneration) |
| | |SaintMiracle1 (label=Miracle 1) |
| | |SaintMiracle2 (label=Miracle 2) |
| | |SaintMiracle3 (label=Miracle 3) |
| | |NotableAddress1 (label=Notable Location 1) |
| | |NotableLabel1 (label=Notable Location 1 Label) |
| | |NotableCoordinates1 (label=Notable Location 1 Coordinates) |
| | |NotableAddress2 (label=Notable Location 2) |
| | |NotableLabel2 (label=Notable Location 2 Label) |
| | |NotableCoordinates2 (label=Notable Location 2 Coordinates) |
| | |NotableAddress3 (label=Notable Location 3) |
| | |NotableLabel3 (label=Notable Location 3 Label) |
| | |NotableCoordinates3 (label=Notable Location 3 Coordinates) |
| | |NotableAddress4 (label=Notable Location 4) |
| | |NotableLabel4 (label=Notable Location 4 Label) |
| | |NotableCoordinates4 (label=Notable Location 4 Coordinates) |
| | |NotableAddress5 (label=Notable Location 5) |
| | |NotableLabel5 (label=Notable Location 5 Label) |
| | |NotableCoordinates5 (label=Notable Location 5 Coordinates) |
| | |AssociatedCountries (label=Associated Countries) |
| | |AssociatedDioceses (label=Associated Dioceses) |
| | |ReviewLevel (label=Review Level, 0=AI-Generated, 1=Minimal Human Review, 2=Moderate Human Review, 3=Substantial Human Review, 4=Extensive Human Review, 5=Fully Human-Validated)}} |
|
| |
|
| {{#cargo_declare:_table=Prayers | | {{#cargo_declare:_table=Saints |
| |Name=String (INDEX) | | |SaintName=Page |
| |Text=Text | | |SaintStage=Page |
| |Author=String (INDEX) | | |SaintBirthDate=Date |
| |Purpose=List (Adoration,Petition,Thanksgiving,Repentance,Intercession,Consecration|delimiter=,) | | |SaintBirthPlace=String |
| |Recipient=List (God,Jesus Christ,Holy Spirit,Virgin Mary,Saints,Angels,General|delimiter=,) | | |SaintBirthCoordinates=Coordinates |
| |LiturgicalContext=List (Mass,Liturgy of the Hours,Rosary,Sacramental,Seasonal,General Devotion|delimiter=,) | | |SaintDeathDate=Date |
| |PrayerType=List (Traditional,Litany,Novena,Hymn,Spontaneous|delimiter=,) | | |DeathPlace=String |
| |Theme=List (Faith,Hope,Charity,Penitential,Eschatological|delimiter=,) | | |SaintDeathCoordinates=Coordinates |
| | |SaintCauseOfDeath=String |
| | |NotableAddress1=String |
| | |NotableLabel1=String |
| | |NotableCoordinates1=Coordinates |
| | |NotableAddress2=String |
| | |NotableLabel2=String |
| | |NotableCoordinates2=Coordinates |
| | |NotableAddress3=String |
| | |NotableLabel3=String |
| | |NotableCoordinates3=Coordinates |
| | |NotableAddress4=String |
| | |NotableLabel4=String |
| | |NotableCoordinates4=Coordinates |
| | |NotableAddress5=String |
| | |NotableLabel5=String |
| | |NotableCoordinates5=Coordinates |
| | |AssociatedCountries=String |
| | |AssociatedDioceses=String |
| | |ReviewLevel=Integer |
| | |BeatificationDate=Date |
| | |Beatifier=Page |
| | |BeatificationLocation=String |
| | |Canonized=Boolean |
| | |CanonizationDate=Date |
| | |Canonizer=Page |
| | |CanonizationLocation=String |
| | |SaintMiracle1=String |
| | |SaintMiracle2=String |
| | |SaintMiracle3=String |
| |FeastDay=String | | |FeastDay=String |
| |CanonizationStatus=List (Saint,Blessed,Venerable,N/A|delimiter=,) | | |Profession=Page |
| |Origin=List (Biblical,Patristic,Medieval,Modern,Cultural|delimiter=,)
| | |ReligiousAffiliation=Page |
| |Usage=List (Personal,Communal,Occasional|delimiter=,)
| | |Patronage=String |
| |Length=List (Short,Medium,Long|delimiter=,)
| | |Attributes=String |
| |Season=List (Advent,Lent,Easter,Ordinary Time,General|delimiter=,) | | |PrimaryShrine=Page |
| |Language=String | | |AdditionalVeneration=String}} |
| |Approval=String | | </noinclude><includeonly>{{#cargo_store:_table=Saints}} |
| |Tags=List (healing,protection,Marian,penitential,devotional,eschatological|delimiter=,) | |
| |DateAdded=Date | |
| }} | |
| </noinclude> | |
| <includeonly> | |
| {{#cargo_store:_table=Prayers | |
| |Name={{{Name|{{PAGENAME}}}}}
| |
| |Text={{{Text|}}}
| |
| |Author={{{Author|}}}
| |
| |Purpose={{{Purpose|}}}
| |
| |Recipient={{{Recipient|}}}
| |
| |LiturgicalContext={{{LiturgicalContext|}}}
| |
| |PrayerType={{{PrayerType|}}}
| |
| |Theme={{{Theme|}}}
| |
| |FeastDay={{{FeastDay|}}}
| |
| |CanonizationStatus={{{CanonizationStatus|}}}
| |
| |Origin={{{Origin|}}}
| |
| |Usage={{{Usage|}}}
| |
| |Length={{{Length|}}}
| |
| |Season={{{Season|}}}
| |
| |Language={{{Language|}}}
| |
| |Approval={{{Approval|}}}
| |
| |Tags={{{Tags|}}}
| |
| |DateAdded={{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}
| |
| }}
| |
| | |
| {| style="float:right; width:350px; background-color:#FFF8DC; border:1px solid #6B7280" | | {| style="float:right; width:350px; background-color:#FFF8DC; border:1px solid #6B7280" |
| |- | | |- |
| | '''Stored in Cargo:''' {{#cargo_query:tables=Prayers|fields=Name|where=Name="{{{Name|{{PAGENAME}}}}}"|format=list}} | | | '''Stored in Cargo:''' {{#cargo_query:|tables=Saints|fields=SaintName|where=SaintName="{{{SaintName|{{PAGENAME}}}}}"|format=list}} |
| |- | | |- |
| |} | | |} |
| == {{{Name|{{PAGENAME}}}}} ==
| | {{#if: {{{FeastDay|}}} |
| {{#if: {{{Text|}}} | '''Text:''' <blockquote>{{{Text}}}</blockquote> }} | | | {{#iferror: {{#time: F d | {{{FeastDay}}} }} |
| {{#if: {{{Author|}}} | '''Author:''' {{{Author}}} }}
| | | {{{FeastDay}}} |
| {{#if: {{{Purpose|}}} | '''Purpose:''' {{{Purpose}}} }} | | | {{#time: F d | {{{FeastDay}}} }} |
| {{#if: {{{Recipient|}}} | '''Recipient:''' {{{Recipient}}} }} | | }} |
| {{#if: {{{LiturgicalContext|}}} | '''Liturgical Context:''' {{{LiturgicalContext}}} }}
| | | <!-- No FeastDay provided --> |
| {{#if: {{{PrayerType|}}} | '''Prayer Type:''' {{{PrayerType}}} }}
| | }} |
| {{#if: {{{Theme|}}} | '''Theme:''' {{{Theme}}} }} | | {{#template_display:_format=infobox}} |
| {{#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]] | | [[Category:Saints]] |
| | {{#switch: {{{ReviewLevel|0}}} |
| | | 0 = [[Category:AI-Generated]] |
| | | 1 = [[Category:Human-Reviewed-Level1]] |
| | | 2 = [[Category:Human-Reviewed-Level2]] |
| | | 3 = [[Category:Human-Reviewed-Level3]] |
| | | 4 = [[Category:Human-Reviewed-Level4]] |
| | | 5 = [[Category:Human-Validated]] |
| | | #default = [[Category:AI-Generated]]}} |
| </includeonly> | | </includeonly> |
| <noinclude>
| |
| == Usage ==
| |
| This template defines the Cargo table `Prayers` and stores/displays information about Catholic prayers. It is typically used via the [[Form:Prayer]] form or directly on prayer pages. The table is defined when the template is first saved, and subsequent uses store data.
| |
|
| |
| === Parameters ===
| |
| * '''Name''': The title of the prayer (defaults to page name).
| |
| * '''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 ===
| |
| <pre>
| |
| {{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>
| |
|
| |
| === 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.
| |
| - Use [[Form:Prayer]] for easy data entry.
| |
| - Query the table using {{#cargo_query:tables=Prayers}} for lists or filters.
| |
|
| |
| [[Category:Templates]]
| |
| </noinclude>
| |