Template:one-day-event

From IndieWeb

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

Blank Template

Copy, paste, and fill in the information:

{{one-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 date in YYYY-MM-DD format.
event_start_time
The event's start time in HH:MM format.
event_end_time
The event's 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

{{one-day-event
| event_name = Homebrew Website Club meetup
| event_wiki_page = events/2016-02-24-homebrew-website-club
| event_date = 2016-02-24
| event_start_time = 18:30
| event_end_time = 19:30
| event_utc_offset =
| event_location1 = Portland
| event_location2 = San Francisco
| event_location3 = Los Angeles
| event_description = Are you building your own website? Indie reader? Personal publishing web app? Or some other digital magic-cloud proxy? If so, come on by and join a gathering of people with likeminded interests. Bring your friends that want to start a personal web site. Exchange information, swap ideas, talk shop, help work on a project...
}}

Will generate:

  • 2016-02-24 18:30–19:30 (local time):
    Homebrew Website Club meetup
    Where: Portland, San Francisco, Los Angeles
    Are you building your own website? Indie reader? Personal publishing web app? Or some other digital magic-cloud proxy? If so, come on by and join a gathering of people with likeminded interests. Bring your friends that want to start a personal web site. Exchange information, swap ideas, talk shop, help work on a project...

An event with UTC offset

{{one-day-event
| event_name = Homebrew Website Club meetup
| event_wiki_page = events/2016-02-24-homebrew-website-club
| event_date = 2016-02-24
| event_start_time = 18:30
| event_end_time = 19:30
| event_utc_offset = -08:00
| event_location1 = Portland
| event_location2 = San Francisco
| event_location3 = Los Angeles
| event_description = Are you building your own website? Indie reader? Personal publishing web app? Or some other digital magic-cloud proxy? If so, come on by and join a gathering of people with likeminded interests. Bring your friends that want to start a personal web site. Exchange information, swap ideas, talk shop, help work on a project...
}}

Will generate:

  • 2016-02-24 18:30-08:00–19:30-08:00 (-08:00 UTC):
    Homebrew Website Club meetup
    Where: Portland, San Francisco, Los Angeles
    Are you building your own website? Indie reader? Personal publishing web app? Or some other digital magic-cloud proxy? If so, come on by and join a gathering of people with likeminded interests. Bring your friends that want to start a personal web site. Exchange information, swap ideas, talk shop, help work on a project...