Template:Venue: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[category: | [[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 <georss:point> tag. | |||
#If necessary, display the page source of the XML file to be able to read <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 | ||
| | |venue_name= | ||
|address= | |address= | ||
|un_locode= | |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 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 | ||
{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}} | |||
< | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
|''' | |'''Name''' | ||
| '''{{{venue_name}}}''' ({{{status}}}) | | '''{{{venue_name}}}''' {{#if:{{{status|}}} | ({{{status}}})}} | ||
|- | |- | ||
| {{#if:{{{address|}}} | '''Address''' | |||
}} | }} | ||
| {{#if:{{{ | | {{#if:{{{address|}}} | {{{address}}} [http://maps.google.com/?q={{urlencode:{{{address}}}}} gmap] | ||
}} | }} | ||
|- | |- | ||
| ''' | |'''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> | |||
|- | |- | ||
|'''Practica''' | | {{#if:{{{practica days and hours|}}} | '''Practica''' | ||
|{{{practica days and hours}}} | }} | ||
| {{#if:{{{practica days and hours|}}} | {{{practica days and hours}}} | |||
}} | |||
|- | |- | ||
| '''Milonga''' | | {{#if:{{{milonga days and hours|}}} | '''Milonga''' | ||
|{{{milonga days and hours}}} | }} | ||
| {{#if:{{{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> |
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:
- 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 <georss:point> tag.
- 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)