Template:Location

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (manual coordinates taking precedence)
m (hmm...?)
Line 31: Line 31:
 
! Events upcoming at this location
 
! Events upcoming at this location
 
|
 
|
{{
+
{{#ask:
#Ask: [[Category:Event]] [[Has location::{{PAGENAME}}]]
+
[[Category:Event]] [[Has location::{{PAGENAME}}]]
[[EndDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 00:00]]  
+
[[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.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools