Template:Church: Difference between revisions

From Saintapedia
Jump to navigation Jump to search
No edit summary
(Undo revision 7139 by Tom (talk))
Tag: Undo
 
(39 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{#cargo_declare:_table=Churches
{{#cargo_declare:_table=Churches
|Dedication=Page
|Dedication=Page
|ShortName=Text
|Diocese=Page
|Diocese=Page
|MailingAddress=Searchtext
|MailingAddress=Searchtext
Line 10: Line 11:
|City=Page
|City=Page
|AdministrativeSubdivision=Page
|AdministrativeSubdivision=Page
|Country=Pages
|Country=Page
|ParishImage=File
|ParishImage=File
|ParishWebsite=URL
|ParishWebsite=URL
Line 17: Line 18:
|ParishEmailAddress=Email
|ParishEmailAddress=Email
}}
}}
</noinclude><includeonly>{{#cargo_store:_table=Churches}}
</noinclude><includeonly>{{#cargo_store:_table=Churches}}</includeonly><noinclude>
</includeonly>
<noinclude>
==Table details==
==Table details==
</noinclude>
</noinclude>
{| class="wikitable" border="1" style="float:right; width:300px"
{| class="wikitable" border="1" style="float:right; width:300px"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">{{PAGENAME}}</span>
| style="text-align: center; background-color:#f7f781;" colspan="2" | '''{{Church shortname}}'''
|-
|-
| style="text-align: center;" colspan="2" | Image
| colspan="2" | <div style="text-align: center;">
{{#cargo_query:
{{#cargo_query:
tables=Churches
tables=Churches
Line 31: Line 30:
|where=_pageName = "{{PAGENAME}}"
|where=_pageName = "{{PAGENAME}}"
|format=list
|format=list
}}
}}</div>
|-
|-
| style="background:silver; color:arsenic; width:25%" align="right" | '''[[Dedication|Saint dedication]]: '''
| style="background:#FFEBAD; color:arsenic" align="right" | '''[[City]]: '''
|
{{#cargo_query:
tables=Churches
|fields=Dedication
|where=_pageName = "{{PAGENAME}}"
|format=list
}}
|-
| style="background:silver; color:arsenic" align="right" | '''[[Diocese]]: '''
|
{{#cargo_query:
tables=Churches
|fields=Diocese
|where=_pageName = "{{PAGENAME}}"
|format=list
}}
|-
| style="background:silver; color:arsenic" align="right" | '''[[City]]: '''
|
|
{{#cargo_query:
{{#cargo_query:
Line 60: Line 41:
}}
}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''[[State]]: '''
| style="background:#FFEBAD; color:arsenic" align="right"| '''Website:'''  
|
{{#cargo_query:
tables=Churches
|fields=AdministrativeSubdivision
|where=_pageName = "{{PAGENAME}}"
|format=list
|default= No Administrative Subdivision specificed
}}
|-
| style="background:silver; color:arsenic" align="right"| '''Country:'''
|
{{#cargo_query:
tables=Churches
|fields=Country
|where=_pageName = "{{PAGENAME}}"
|format=list
|default= No country specified
}}
|-
| style="background:silver; color:arsenic" align="right"| '''Website:'''  
| {{#if: {{#cargo_query:tables=Churches|fields=ParishWebsite|where=_pageName = "{{PAGENAME}}"|format=list|default= No website specified}} > 0 |  
| {{#if: {{#cargo_query:tables=Churches|fields=ParishWebsite|where=_pageName = "{{PAGENAME}}"|format=list|default= No website specified}} > 0 |  
   {{#cargo_query:tables=Churches|fields=ParishWebsite|where=_pageName = "{{PAGENAME}}"|format=list|default= No website specified}}
   {{#cargo_query:tables=Churches|fields=ParishWebsite|where=_pageName = "{{PAGENAME}}"|format=list|default= No website specified}}
Line 86: Line 47:
}}
}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''Email:'''  
| style="background:#FFEBAD; color:arsenic" align="right"| '''Email:'''  
|  
|  
{{#cargo_query:
{{Church email}}
tables=Churches
|fields=ParishEmailAddress
|where=_pageName = "{{PAGENAME}}"
|format=list
|default= No email specified
}}
|}<noinclude>
|}<noinclude>
==Lead section==
==Lead section==
</noinclude>{{PAGENAME}} is in {{#cargo_query:tables=Churches|fields=AdministrativeSubdivision|where=_pageName = "{{PAGENAME}}"|format=list|default= No Administrative Subdivision specificed}}
</noinclude>'''{{Church shortname}}''' is in {{Church administrative subdivision}} ({{Church country}}) and is part of the {{Church diocese}}.
 
It is dedicated to {{Church dedication}}.
 
<h2>Location</h2>
It is located at {{Church address}}.
{{Church map|Church={{PAGENAME}}}}
[[Category:Churches]]
[[Category:Churches]]

Latest revision as of 23:05, 4 November 2024

This is the "Church" template.

It should be called in the following format:

{{Church
|Church=
}}

Edit the page to see the template text.

Cargo declaration

This template defines the table "Churches". View table.

Table details

Short title not found
No results
City:

No results

Website: No website specified
Email:

No email specified

Lead section

Short title not found is in No Administrative Subdivision specificed (No country specified) and is part of the No diocese entered.

It is dedicated to Saint dedication not found.

Location

It is located at No mailing address entered.

Short title not found

No results

This map created from a Cargo query (Purge)