Template:three-day-event/doc

From IndieWeb

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

Blank Template

Copy, paste, and fill in the information:

{{three-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 3 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

{{three-day-event
| event_name = WordCamp US
| event_wiki_page = events/2019-11-01-wordcamp-us
| event_date = 2019-11-01
| event_start_time = 09:00
| event_end_time = 18:00
| event_utc_offset =
| event_location1 = St. Louis, MO, USA
| event_description = WordCamp US is the main annual US WordCamp!
}}

Will generate:

  • 2019-11-01 09:00 – 2019-11-03 18:00 (local time):
    WordCamp US
    Where: St. Louis, MO, USA
    WordCamp US is the main annual US WordCamp!

An event with UTC offset

{{three-day-event
| event_name = WordCamp US
| event_wiki_page = events/2019-11-01-wordcamp-us
| event_date = 2019-11-01
| event_start_time = 09:00
| event_end_time = 18:00
| event_utc_offset = -05:00
| event_location1 = St. Louis, MO, USA
| event_description = WordCamp US is the main annual US WordCamp!
}}

Will generate:

  • 2019-11-01 09:00-05:00 – 2019-11-03 18:00-05:00 (-05:00 UTC):
    WordCamp US
    Where: St. Louis, MO, USA
    WordCamp US is the main annual US WordCamp!