Template:Location
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (manual coordinates taking precedence) |
m (hmm...?) |
||
Line 31: | Line 31: | ||
! Events upcoming at this location | ! Events upcoming at this location | ||
| | | | ||
− | {{ | + | {{#ask: |
− | # | + | [[Category:Event]] [[Has location::{{PAGENAME}}]] |
− | [[EndDate::>{{ | + | [[EndDate::>{{#timel: Y-m-d }} 00:00]] |
| format=list | | format=list | ||
| sort=EndDate | | sort=EndDate | ||
Line 61: | Line 61: | ||
[[Category:Location]] | [[Category:Location]] | ||
<!-- set coordinates --> | <!-- set coordinates --> | ||
− | {{#set: Has coordinates = {{#if: {{{coordinates|}}} | {{{coordinates|}}} | {{#geocode:{{{address|}}} {{{city|}}} {{{country|}}} }} }} | + | {{#set: Has coordinates={{#if: {{{coordinates|}}} | {{{coordinates|}}} | {{#geocode:{{{address|}}} {{{city|}}} {{{country|}}} }} }} |
</includeonly> | </includeonly> |
Revision as of 10:56, 16 August 2011
This is the 'Location' template. It should be called in the following format:
{{Location |address= |city= |state= |country= |coordinates=<optional> |type=<optional, i.e. hackerspace, agglomeration; highschool> }}
Edit the page to see the template text.