Template:Venue: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[category:venues]]
[[category:Venue]]<noinclude>
<noinclude>
==Usage==
==Usage==
*Edit this page, copy and paste the <b><i><nowiki>{{venue ...}}</nowiki> block</i></b> in your venue page, then fill in the requested fields in your venue page.
*Edit this page, copy and paste the <b><i><nowiki>{{venue ...}}</nowiki> block</i></b> in your venue page, then fill in the requested fields in your venue page.
Line 6: Line 5:
*Note that the <b><i>status=open</i></b> field means that the venue is currently open. Other status values are: <b><i>closed</i></b> or <b><i>intermittent</i></b> or <b><i>summer</i></b>. No status means "open".  
*Note that the <b><i>status=open</i></b> field means that the venue is currently open. Other status values are: <b><i>closed</i></b> or <b><i>intermittent</i></b> or <b><i>summer</i></b>. No status means "open".  


*'''Geo-coordinates''' of venues can be found by using [http://maps.google.com GOOGLE MAP]:
*'''Geo-coordinates''' of venues can be found by using [http://maps.google.com Google Map]:
#create a map of yours
#create a map of yours
#create a marker on the venue location
#create a marker on the venue location
#click on the RSS button: this will provide an XML file, coordinates are available for each marker in the &lt;georss:point> tag.
#click on the RSS button: this will provide an XML file, coordinates are available for each marker in the &lt;georss:point> tag.
#If necessary, display the page source of the XML file to be able to read &lt;georss:point> tags.


<!-- VENUE BLOCK TO COPY AND PASTE (don't forget to remove comment tags in your page)
<!-- VENUE BLOCK TO COPY AND PASTE (don't forget to remove comment tags in your page)


{{venue
{{venue
|site=
|venue_name=
|address=
|address=
|un_locode=
|un_locode=
|kml_lat=
|geo_lat=
|kml_lon=
|geo_lon=
|practica days and hours=
|practica days and hours=
|milonga days and hours=
|milonga days and hours=
Line 29: Line 29:


-->
-->
==Presentation==
==Presentation==
The information contained in the <b><i><nowiki>{{venue ...}}</nowiki> block</i></b> will be presented by this template as follows:
The information contained in the <b><i><nowiki>{{venue ...}}</nowiki> block</i></b> will be presented by this template as follows:
</noinclude>
</noinclude>{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}]]}}<div style="background-color:#eeeeee">[[Venue]] information
<div style="background-color:#eeeeee">
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}|*]]}}
{| class="wikitable"
{| class="wikitable"
|-
|-
|'''name'''
|'''Name'''
| '''{{{venue_name}}}''' ({{{status}}})<br /><i>locate on [http://maps.google.com/?q={{urlencode:{{{kml_lat}}}, {{{kml_lon}}} }}&z=13 gmap])</i>
| '''{{{venue_name}}}''' {{#if:{{{status|}}} | ({{{status}}})}}  
|-
|-
|| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]'''  
| {{#if:{{{address|}}} | '''Address'''
}}
}}
| {{#if:{{{un_locode|}}} | [[:category:{{{un_locode}}}|{{{un_locode}}}]]
| {{#if:{{{address|}}} | {{{address}}} [http://maps.google.com/?q={{urlencode:{{{address}}}}} gmap]
}}
}}
|-
|-
| '''Address'''
|'''Geo info'''
|{{{address}}} [http://maps.google.com/?q={{urlencode:{{{address}}}}} gmap]
| {{#if:{{{un_locode|}}} | '''[[UN/LOCODE|City code]]''': [[: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>
|-
|-
| '''Geo Coordinates'''
| {{#if:{{{practica days and hours|}}} |  '''Practica'''
|Lattitude (S/N): {{{kml_lat}}} <br />Longitude (E/W): {{{kml_lon}}}
}}
| {{#if:{{{practica days and hours|}}} {{{practica days and hours}}}
}}
|-
|-
|'''Practica'''
| {{#if:{{{milonga days and hours|}}} |  '''Milonga'''
|{{{practica days and hours}}}
}}
| {{#if:{{{milonga days and hours|}}} | {{{milonga days and hours}}}
}}
|-
|-
| '''Milonga'''
| {{#if:{{{lessons by|}}} |  '''Lessons by'''
|{{{milonga days and hours}}}
}}
| {{#if:{{{lessons by|}}} |  {{{lessons by}}}
}}
|-
|-
| '''Lessons by'''
| {{#if:{{{music by|}}} |  '''Music by'''
|{{{lessons by}}}
}}
| {{#if:{{{music by|}}} |  {{{music by}}}
}}
 
|-
|-
| '''Music by'''
| {{#if:{{{phone|}}} | '''Phone'''
|{{{music by}}}
}}
| {{#if:{{{phone|}}} | {{{phone}}}
}}
 
|-
|-
| '''Phone'''
| {{#if:{{{website info|}}} | '''Website'''
| {{{phone}}}
}}
|-
| {{#if:{{{website info|}}} | [{{{website info}}} {{{website info}}}]
| '''Website'''
}}
|[{{{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>

Latest revision as of 2023-01-03T18:32:39

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.
  4. If necessary, display the page source of the XML file to be able to read <georss:point> tags.


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
Presented by Template:Venue (under construction)