Template:Church: Difference between revisions
Jump to navigation
Jump to search
(add ParishEmailAddress) |
Tag: Undo |
||
(43 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= | |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:# | | style="text-align: center; background-color:#f7f781;" colspan="2" | '''{{Church shortname}}''' | ||
|- | |- | ||
| style="text-align: center;" | | 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: | | style="background:#FFEBAD; color:arsenic" align="right" | '''[[City]]: ''' | ||
| | | | ||
{{#cargo_query: | {{#cargo_query: | ||
Line 60: | Line 41: | ||
}} | }} | ||
|- | |- | ||
| style="background: | | style="background:#FFEBAD; color:arsenic" align="right"| '''Website:''' | ||
| | | {{#if: {{#cargo_query:tables=Churches|fields=ParishWebsite|where=_pageName = "{{PAGENAME}}"|format=list|default= No website specified}} > 0 | | ||
{{#cargo_query: | {{#cargo_query:tables=Churches|fields=ParishWebsite|where=_pageName = "{{PAGENAME}}"|format=list|default= No website specified}} | ||
tables=Churches | | No results found | ||
|fields= | |||
|where=_pageName = "{{PAGENAME}}" | |||
|format=list | |||
|default= No | |||
}} | |||
| | |||
{{#cargo_query: | |||
tables=Churches | |||
|fields= | |||
|where=_pageName = "{{PAGENAME}}" | |||
|format=list | |||
|default= No | |||
}} | }} | ||
|- | |- | ||
| style="background: | | style="background:#FFEBAD; color:arsenic" align="right"| '''Email:''' | ||
| | | | ||
{{ | {{Church email}} | ||
|}<noinclude> | |||
==Lead section== | |||
</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 ( ) |