Template:Venue: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
(Venue information)
(hide fields if not existend)
Line 40: Line 40:
| '''{{{venue_name}}}''' ({{{status}}})<br /><i>locate on [http://maps.google.com/?q={{urlencode:{{{kml_lat}}}, {{{kml_lon}}} }}&z=13 gmap])</i>
| '''{{{venue_name}}}''' ({{{status}}})<br /><i>locate on [http://maps.google.com/?q={{urlencode:{{{kml_lat}}}, {{{kml_lon}}} }}&z=13 gmap])</i>
|-
|-
|| {{#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}}}]]
Line 46: Line 46:


|-
|-
| '''Address'''
| {{#if:{{{address|}}} | '''Address'''
|{{{address}}} [http://maps.google.com/?q={{urlencode:{{{address}}}}} gmap]
}}
 
| {{#if:{{{address|}}} | {{{address}}} [http://maps.google.com/?q={{urlencode:{{{address}}}}} gmap]
}}
|-
|-
| '''Geo Coordinates'''
| '''Geo Coordinates'''
|Latitude (S/N): {{{kml_lat}}} <br />Longitude (E/W): {{{kml_lon}}}
| Latitude (S/N): {{{kml_lat}}} <br />Longitude (E/W): {{{kml_lon}}}
|-
|-
|'''Practica'''
| '''Practica'''
|{{{practica days and hours}}}
| {{{practica days and hours}}}
|-
|-
| '''Milonga'''
| '''Milonga'''
|{{{milonga days and hours}}}
| {{{milonga days and hours}}}
|-
|-
| '''Lessons by'''
| {{#if:{{{lessons by|}}} |  '''Lessons by'''
|{{{lessons by}}}
}}
| {{#if:{{{lessons by|}}} |  {{{lessons by}}}
}}
|-
|-
| '''Music by'''
| {{#if:{{{music by|}}} |  '''Music by'''
|{{{music by}}}
}}
| {{#if:{{{music by|}}} |  {{{music by}}}
}}
 
|-
|-
| '''Phone'''
| {{#if:{{{phone|}}} | '''Phone'''
| {{{phone}}}
}}
| {{#if:{{{phone|}}} | {{{phone}}}
}}
 
|-
|-
| '''Website'''
| {{#if:{{{website info|}}} | '''Website'''
|[{{{website info}}} {{{website info}}}]
}}
| {{#if:{{{website info|}}} | [{{{website info}}} {{{website info}}}]
}}
 
|}
|}
<div align="right"><small>Presented by [[Template:venue]] (under construction)</small></div>
<div align="right"><small>Presented by [[Template:venue]] (under construction)</small></div>
</div>
</div>

Revision as of 2008-10-29T22:14:25


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}}} ({{{status}}})
locate on gmap)
Geo Coordinates Latitude (S/N): {{{kml_lat}}}
Longitude (E/W): {{{kml_lon}}}
Practica {{{practica days and hours}}}
Milonga {{{milonga days and hours}}}
Presented by Template:venue (under construction)