Template:Venue: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
m (replace tangosite by venue)
No edit summary
 
(44 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.


*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]:
#create a map of yours
#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.
#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
{{venue
|site=
|venue_name=
|address=
|address=
|un_locode=
|geo_lat=
|geo_lon=
|practica days and hours=
|practica days and hours=
|milonga days and hours=
|milonga days and hours=
Line 22: Line 31:


==Presentation==
==Presentation==
The information contained in the <b><i><nowiki>{{tangosite ...}}</nowiki> block</i></b> will 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
'''{{{site}}}'''
{| class="wikitable"
'''Address''': {{{address}}}
|-
  '''Practica''': {{{practica days and hours}}}
|'''Name'''
  '''Milonga''': {{{milonga days and hours}}}
| '''{{{venue_name}}}''' {{#if:{{{status|}}} | ({{{status}}})}}
  '''Lessons by''': {{{lessons by}}}
|-
  '''Music by''': {{{music by}}}
| {{#if:{{{address|}}} | '''Address'''
'''Phone''': {{{phone}}}
}}
'''Website''': [{{{website info}}} {{{website info}}}]
| {{#if:{{{address|}}} | {{{address}}} [http://maps.google.com/?q={{urlencode:{{{address}}}}} gmap]
'''status''': {{{status}}}
}}
|-
|'''Geo info'''
| {{#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>
|-
| {{#if:{{{practica days and hours|}}} | '''Practica'''
}}
| {{#if:{{{practica days and hours|}}} |  {{{practica days and hours}}}
}}
|-
| {{#if:{{{milonga days and hours|}}} | '''Milonga'''
}}
| {{#if:{{{milonga days and hours|}}} |  {{{milonga days and hours}}}
}}
|-
| {{#if:{{{lessons by|}}} | '''Lessons by'''
}}
| {{#if:{{{lessons by|}}} |  {{{lessons by}}}
}}
|-
| {{#if:{{{music by|}}} | '''Music by'''
}}
| {{#if:{{{music by|}}} |  {{{music by}}}
}}
 
|-
| {{#if:{{{phone|}}} | '''Phone'''
}}
| {{#if:{{{phone|}}} | {{{phone}}}
}}
 
|-
| {{#if:{{{website info|}}} | '''Website'''
}}
| {{#if:{{{website info|}}} | [{{{website info}}} {{{website info}}}]
}}
 
|}
<div align="right"><small>Presented by [[Template:Venue]] (under construction)</small></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)