Jump to content

Template:Eventlisting/doc

From Wikivoyage

Here is some example code showing all parameters:

* {{eventlisting
| wikidata = WIKIDATA
| type = event
| name = NAME
| lat = LATITUDE
| long = LONGITUDE
| image = IMAGE
| url = URL
| alt = ALTERNATE NAME

| frequency = DESCRIPTION OF EVENT'S FREQUENCY

or parameters to describe the event's dates

| year = annual
or
| year = STARTING OR OCCURRING YEAR
plus other parameters as needed
| endyear = ENDING YEAR
| month = STARTING OR OCCURRING MONTH
| endmonth = ENDING MONTH
| date = STARTING OR OCCURRING DAY
| enddate = ENDING DATE

| location = WIKIVOYAGE ARTICLE OF THE EVENT'S LOCATION
| address = ADDRESS
| directions = DIRECTIONS
| phone = TELEPHONE NUMBER
| tollfree = TOLL-FREE TELEPHONE NUMBER
| fax = FAX NUMBER
| email = EMAIL ADDRESS
| hours = HOURS
| checkin = CHECK-IN TIME
| checkout = CHECK-OUT TIME
| content = DESCRIPTION
| wikipedia = WIKIPEDIA ARTICLE OF THE EVENT
| price = PRICE
}}

Here are sample event listings. You can look at their code to see what parameters are available.

  • 1 Name (Alt): Frequency EarthAddress (Directions),  555-5555, toll-free: 800-555-5555fax: 555-5555. Hours. Check-in: Checkin, check-out: Checkout. Content Price. Wikipedia on Wikipedia Q1 on Wikidata
  • 2 New Year's Day (Alt): 1 January annually EarthAddress (Directions),  555-5555, toll-free: 800-555-5555fax: 555-5555. Hours. Check-in: Checkin, check-out: Checkout. Content Price. Wikipedia on Wikipedia Q1 on Wikidata
  • 3 Name (Alt): 1 January – 31 December 2020/2099 EarthAddress (Directions),  555-5555, toll-free: 800-555-5555fax: 555-5555. Hours. Check-in: Checkin, check-out: Checkout. Content Price. Wikipedia on Wikipedia Q1 on Wikidata