Template:Venue: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
(-<div align="right"><small>Presented by Template:venue (under construction)</small></div>)
No edit summary
Line 36: Line 36:
| '''{{{venue_name}}}''' {{#if:{{{status|}}} | ({{{status}}})}}  
| '''{{{venue_name}}}''' {{#if:{{{status|}}} | ({{{status}}})}}  
|-
|-
| {{#if:{{{address|}}} | '''Address'''
}}
| {{#if:{{{address|}}} | {{{address}}} [http://maps.google.com/?q={{urlencode:{{{address}}}}} gmap]
}}
|-
|'''Geo info'''
| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]'''  
| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]'''  
}}
}}
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]]
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]]
}}
}}
 
Latitude (S/N): {{{geo_lat}}} - Longitude (E/W): {{{geo_lon}}} - <i>locate on [http://maps.google.com/?q={{urlencode:{{{geo_lat}}}, {{{geo_lon}}} }}&z=13 gmap]</i>
|-
|-
| {{#if:{{{address|}}} | '''Address'''
| {{#if:{{{practica days and hours|}}} | '''Practica'''
}}
}}
| {{#if:{{{address|}}} | {{{address}}} [http://maps.google.com/?q={{urlencode:{{{address}}}}} gmap]
}}
|-
| '''Geo Coordinates'''
| Latitude (S/N): {{{geo_lat}}} - Longitude (E/W): {{{geo_lon}}} - <i>locate on [http://maps.google.com/?q={{urlencode:{{{geo_lat}}}, {{{geo_lon}}} }}&z=13 gmap]</i>
|-
| '''Practica'''
| {{{practica days and hours}}}
| {{{practica days and hours}}}
|-
|-

Revision as of 2009-01-08T21:59:33

Usage

  • Edit this page, copy and paste the {{venue ...}} block in your venue page, then fill in the requested fields in your venue page.
  • Note that the status=open field means that the venue is currently open. Other status values are: closed or intermittent or summer. No status means "open".
  • Geo-coordinates of venues can be found by using Google Map:
  1. create a map of yours
  2. create a marker on the venue location
  3. click on the RSS button: this will provide an XML file, coordinates are available for each marker in the <georss:point> tag.

Presentation

The information contained in the {{venue ...}} block will be presented by this template as follows:

Venue information
name {{{venue_name}}}
Geo info
Latitude (S/N): {{{geo_lat}}} - Longitude (E/W): {{{geo_lon}}} - locate on gmap
{{{practica days and hours}}}
Milonga {{{milonga days and hours}}}