Template:SaintsByCountry: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{#cargo_query:
===Birthplace===
tables=Saints
{{SaintsByBirthPlace|Location={{{Location}}}}}
|fields=SaintName,SaintBirthPlace,DeathPlace,NotableAddress1,NotableAddress2,NotableAddress3,NotableAddress4,NotableAddress5
===Death place ===
|where=LOWER(SaintBirthPlace) LIKE LOWER('%{{{1|{{PAGENAME}}}}%') OR LOWER(DeathPlace) LIKE LOWER('%{{{1|{{PAGENAME}}}}%') OR LOWER(NotableAddress1) LIKE LOWER('%{{{1|{{PAGENAME}}}}%') OR LOWER(NotableAddress2) LIKE LOWER('%{{{1|{{PAGENAME}}}}%') OR LOWER(NotableAddress3) LIKE LOWER('%{{{1|{{PAGENAME}}}}%') OR LOWER(NotableAddress4) LIKE LOWER('%{{{1|{{PAGENAME}}}}%') OR LOWER(NotableAddress5) LIKE LOWER('%{{{1|{{PAGENAME}}}}%')
{{SaintsByDeathPlace|Location={{{Location}}}}}
|format=table
=== Notable locations ===
|order by=SaintName
{{SaintsByNotableAddress1|Location={{{Location}}}}}
|default=No saints found for {{{1|{{PAGENAME|Unknown}}}}.
{{SaintsByNotableAddress2|Location={{{Location}}}}}
}}
{{SaintsByNotableAddress3|Location={{{Location}}}}}
{{SaintsByNotableAddress4|Location={{{Location}}}}}
{{SaintsByNotableAddress5|Location={{{Location}}}}}