Template:SaintMapSimple: Difference between revisions

Jump to navigation Jump to search
try to add birth and death locations to working template
No edit summary
(try to add birth and death locations to working template)
Line 2: Line 2:
{{#cargo_query:
{{#cargo_query:
|tables=Saints
|tables=Saints
|fields=SaintBirthCoordinates__full=Coordinates,SaintBirthPlace=Label
|fields=SaintBirthCoordinates__full=Coordinates,CONCAT('Birth location: ', SaintBirthPlace)=Label
|where=SaintName='{{PAGENAME}}' AND SaintBirthCoordinates__full IS NOT NULL AND SaintBirthPlace IS NOT NULL
|where=SaintName='{{PAGENAME}}' AND SaintBirthCoordinates__full IS NOT NULL AND SaintBirthPlace IS NOT NULL
|format=template
|format=template
Line 10: Line 10:
}};{{#cargo_query:
}};{{#cargo_query:
|tables=Saints
|tables=Saints
|fields=SaintDeathCoordinates__full=Coordinates,DeathPlace=Label
|fields=SaintDeathCoordinates__full=Coordinates,CONCAT('Death location: ', DeathPlace)=Label
|where=SaintName='{{PAGENAME}}' AND SaintDeathCoordinates__full IS NOT NULL AND DeathPlace IS NOT NULL
|where=SaintName='{{PAGENAME}}' AND SaintDeathCoordinates__full IS NOT NULL AND DeathPlace IS NOT NULL
|format=template
|format=template

Navigation menu