Template:Venue: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(48 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. | |||
< | |||
{{ | *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 | |||
|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 13: | Line 25: | ||
|phone= | |phone= | ||
|website info= | |website info= | ||
|status= | |status=open | ||
}} | }} | ||
</nowiki> | |||
</noinclude> | --> | ||
==Presentation== | |||
'''Practica''': {{{practica days and hours}}} | The information contained in the <b><i><nowiki>{{venue ...}}</nowiki> block</i></b> will be presented by this template as follows: | ||
'''Milonga''': {{{milonga days and hours}}} | </noinclude>{{#if: {{{un_locode|}}}|[[category:{{{un_locode}}}]]}}<div style="background-color:#eeeeee">[[Venue]] information | ||
'''Lessons by''': {{{lessons by}}} | {| class="wikitable" | ||
'''Music by''': {{{music by}}} | |- | ||
|'''Name''' | |||
| '''{{{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]]''': [[: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:
- 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)