Template:four-day-event

From IndieWeb

This template is used to generate a four-day event with the appropriate h-event microformats.

Blank Template

Copy, paste, and fill in the information:

{{four-day-event
| event_name = 
| event_wiki_page =
| event_external_url =
| event_date = 
| event_start_time = 
| event_end_time = 
| event_utc_offset =
| event_location1 = 
| event_description = 
}}

Parameters

event_name
The name of the event.
event_wiki_page
The event's wiki page. Must not include the wiki bracket syntax.
event_external_url
The event's external URL. Typically used for events that don't have a wiki page.
event_date
The event's start date in YYYY-MM-DD format.
event_start_time
The event's start time in HH:MM format.
event_end_time
The event's day 4 end time in HH:MM format.
event_utc_offset
The timezone offset from UTC in +/-HH:MM format. If not supplied, the event's times will indicate "local time." (optional)
event_location1
The event's location. This value will be wrapped in the p-location microformat.
additional event locations can be added using parameters event_location2 through event_location10
event_description
The event's short description.

Examples

An event with no UTC offset

{{four-day-event
| event_name = XOXO 2019
| event_wiki_page = events/2019-09-05-xoxo
| event_date = 2019-09-05
| event_start_time = 19:00
| event_end_time = 23:59
| event_utc_offset =
| event_location1 = Portland, OR, USA
| event_description = XOXO is an experimental festival for independent artists and creators who work on the internet.
}}

Will generate:

  • 2019-09-05 19:002019-09-08 23:59 (local time):
    XOXO 2019
    Where: Portland, OR, USA
    XOXO is an experimental festival for independent artists and creators who work on the internet.

An event with UTC offset

{{four-day-event
| event_name = XOXO 2019
| event_wiki_page = events/2019-09-05-xoxo
| event_date = 2019-09-05
| event_start_time = 19:00
| event_end_time = 23:59
| event_utc_offset = -07:00
| event_location1 = Portland, OR, USA
| event_description = XOXO is an experimental festival for independent artists and creators who work on the internet.
}}

Will generate:

  • 2019-09-05 19:00-07:002019-09-08 23:59-07:00 (-07:00 UTC):
    XOXO 2019
    Where: Portland, OR, USA
    XOXO is an experimental festival for independent artists and creators who work on the internet.