Template:Location

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (hmm...?)
m (why is it doing this?)
Line 20: Line 20:
 
! Map display
 
! Map display
 
| colspan="3" |
 
| colspan="3" |
{{
+
{{#display_point:
#display_point:
+
 
{{{address|}}} {{{city|}}} {{{country|}}}
 
{{{address|}}} {{{city|}}} {{{country|}}}
 
|zoom=10
 
|zoom=10
Line 45: Line 44:
 
! Events held at this location
 
! Events held at this location
 
| colspan="3" |
 
| colspan="3" |
{{
+
{{#ask:
#Ask: [[Category:Event]] [[Has location::{{PAGENAME}}]]  
+
[[Category:Event]] [[Has location::{{PAGENAME}}]]  
 
[[EndDate::<{{#timel: Y-m-d }}]]
 
[[EndDate::<{{#timel: Y-m-d }}]]
 
| format=list
 
| format=list
Line 60: Line 59:
 
|}
 
|}
 
[[Category:Location]]
 
[[Category:Location]]
<!-- 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:58, 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