Template:Parish: Difference between revisions

Jump to navigation Jump to search
switch to Template:Church format
(Country to page)
(switch to Template:Church format)
Line 17: Line 17:
|ParishEmailAddress=Email
|ParishEmailAddress=Email
}}
}}
 
</noinclude><includeonly>{{#cargo_store:_table=Parishes}}</includeonly><noinclude>
[[Category:Parishes]]
==Table details==
----</noinclude>
</noinclude>
<noinclude>
{| class="wikitable" border="1" style="float:right; width:300px"
{{#template_params:
| style="text-align: center; background-color:#f7f781;" colspan="2" | '''{{Church shortname}}'''
Dedication (label=Saint dedication)
|Diocese
|MailingAddress (label=Mailing address)
|ParishLocation (label=Location)
|City
|AdministrativeSubdivision (label=Administrative subdivision (such as U.S. States))
|Country
|ParishImage (label=ParishImage;namespace=File)
|ParishWebsite (label=Website)
|ParishFounded (label=Founded)
|ParishSchool (label=School)
|ParishEmailAddress (label=Email address)
}}
 
</noinclude><includeonly>{{#cargo_store:_table=Parishes}}
{{#template_display:_format=infobox}}
[[Category:Parishes]]
</includeonly>
<!--{| class="wikitable" border="1" style="float:right; width:300px"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Parishes]]</span>
|-
|-
| style="text-align: center;" colspan="2" | Image
| colspan="2" | <div style="text-align: center;">
{{#cargo_query:
{{#cargo_query:
tables=Parishes
tables=Parishes
Line 49: Line 29:
|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=Parishes
|fields=Dedication
|where=_pageName = "{{PAGENAME}}"
|format=list
}}
|-
| style="background:silver; color:arsenic" align="right" | '''[[Diocese]]: '''
|
{{#cargo_query:
tables=Parishes
|fields=Diocese
|where=_pageName = "{{PAGENAME}}"
|format=list
}}
|-
| style="background:silver; color:arsenic" align="right" | '''[[City]]: '''
|
|
{{#cargo_query:
{{#cargo_query:
Line 78: Line 40:
}}
}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''[[State]]: '''
| style="background:#FFEBAD; color:arsenic" align="right"| '''Website:'''  
| <!-- direct parameter list won't display as links
| {{#if: {{#cargo_query:tables=Parishes|fields=ParishWebsite|where=_pageName = "{{PAGENAME}}"|format=list|default= No website specified}} > 0 |
{{#cargo_query:
  {{#cargo_query:tables=Parishes|fields=ParishWebsite|where=_pageName = "{{PAGENAME}}"|format=list|default= No website specified}}
tables=Parishes
| No results found
|fields=AdministrativeSubdivision
|where=_pageName = "{{PAGENAME}}"
|format=list
|default= No Administrative Subdivision specificed
}}
}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''Country:'''  
| style="background:#FFEBAD; color:arsenic" align="right"| '''Email:'''  
| <!-- direct parameter list won't display as links
|  
{{#cargo_query:
{{Church email}}
tables=Parishes
|}<noinclude>
|fields=Country
==Lead section==
|where=_pageName = "{{PAGENAME}}"
</noinclude>'''{{Church shortname}}''' is in {{Church administrative subdivision}} ({{Church country}}) and is part of the {{Church diocese}}.
|format=list
 
|default= No country specified
It is dedicated to {{Church dedication}}.
}}
 
|}-->
<h2>Location</h2>
It is located at {{Church address}}.
{{Church map|Church={{PAGENAME}}}}
[[Category:Parishes]]

Navigation menu