Difference between revisions of "Skritzer: Event test"
(Created page with "__NOTOC__ <div style="display:none;"> <!--Declare Event template names here--> {{#vardefine: event_startDate | 2020-05-29T19:00 }} {{#vardefine: event_endDate | 2020-05-29 }}...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | <div style="display:none;"> <!--Declare Event | + | <div style="display:none;"> <!--Declare Event variable names here--> |
− | {{#vardefine: event_startDate | 2020- | + | {{#vardefine: event_startDate | 2020-12-29T19:00-7:00}} |
− | {{#vardefine: event_endDate | 2020- | + | {{#vardefine: event_endDate | 2020-12-29 }} |
{{#vardefine: event_validFrom | 2019-12-22 }} | {{#vardefine: event_validFrom | 2019-12-22 }} | ||
− | {{#vardefine: event_AttendanceMode | | + | {{#vardefine: event_AttendanceMode | OnlineEventAttendanceMode }} <!--MixedEventAttendanceMode OfflineEventAttendanceMode OnlineEventAttendanceMode--> |
{{#vardefine: event_Status | EventPostponed }} <!--EventCancelled EventMovedOnline EventPostponed EventRescheduled EventScheduled--> | {{#vardefine: event_Status | EventPostponed }} <!--EventCancelled EventMovedOnline EventPostponed EventRescheduled EventScheduled--> | ||
{{#vardefine: event_offerAvailability | InStock }} <!-- Discontinued InStock InStoreOnly LimitedAvailability OnlineOnly OutOfStock PreOrder PreSale SoldOut --> | {{#vardefine: event_offerAvailability | InStock }} <!-- Discontinued InStock InStoreOnly LimitedAvailability OnlineOnly OutOfStock PreOrder PreSale SoldOut --> | ||
+ | {{#vardefine: event_virtualvendorurl | https://example.com}} | ||
{{#vardefine: event_description | Sara Niemietz is a sonic storyteller. Influenced by the heart of jazz and the soul of blues, she writes songs with a modern edge. Composer and guitar-virtuoso, W.G. Snuffy Walden, paints musical landscapes over which Sara’s powerful vocals take flight. At their shows, the duo plays original music and reinterpreted classics with a full band for a night full of energy and music!}} | {{#vardefine: event_description | Sara Niemietz is a sonic storyteller. Influenced by the heart of jazz and the soul of blues, she writes songs with a modern edge. Composer and guitar-virtuoso, W.G. Snuffy Walden, paints musical landscapes over which Sara’s powerful vocals take flight. At their shows, the duo plays original music and reinterpreted classics with a full band for a night full of energy and music!}} | ||
{{#vardefine: event_place | Myron's Cabaret Jazz At The Smith Center}} | {{#vardefine: event_place | Myron's Cabaret Jazz At The Smith Center}} | ||
− | {{#vardefine: | + | {{#vardefine: event_streetAddress | 361 W Symphony Park Ave }} |
{{#vardefine: event_locality | Las Vegas }} | {{#vardefine: event_locality | Las Vegas }} | ||
{{#vardefine: event_region | NV}} | {{#vardefine: event_region | NV}} | ||
− | {{#vardefine: | + | {{#vardefine: event_postalCode | 89106 }} |
{{#vardefine: event_country | US }} | {{#vardefine: event_country | US }} | ||
Line 25: | Line 26: | ||
{{#vardefine: featArtist_sameAs | https://en.wikipedia.org/wiki/W._G._Snuffy_Walden}} | {{#vardefine: featArtist_sameAs | https://en.wikipedia.org/wiki/W._G._Snuffy_Walden}} | ||
{{#vardefine: featArtist_award| Emmy - \"Theme to The West Wing\" }} | {{#vardefine: featArtist_award| Emmy - \"Theme to The West Wing\" }} | ||
+ | |||
+ | {{#vardefine: organizer_name| ACME }} | ||
+ | {{#vardefine: organizer_url| https://example.com }} | ||
+ | |||
{{#vardefine: event_offerPrice | 40 }} | {{#vardefine: event_offerPrice | 40 }} | ||
Line 32: | Line 37: | ||
{{#vardefine: event_doortime | 6:00 PM }} | {{#vardefine: event_doortime | 6:00 PM }} | ||
{{#vardefine: event_offer_notes | Stylish, 240-seat music venue showcasing cabaret-style jazz performances, plus a bar & tapas menu. }} | {{#vardefine: event_offer_notes | Stylish, 240-seat music venue showcasing cabaret-style jazz performances, plus a bar & tapas menu. }} | ||
+ | |||
<!-- Dependent upon uploads or other variables --> | <!-- Dependent upon uploads or other variables --> | ||
− | {{#vardefine: event_image | Sara Niemietz 09 02 2016 -5 (29296553950).jpg}} <!-- The event image, uploaded to | + | {{#vardefine: event_image | Sara Niemietz 09 02 2016 -5 (29296553950).jpg}} <!-- The event image artwork, uploaded to this wiki --> |
{{#vardefine: event_image_url| {{filepath:{{#var: event_image | error}} }}}} <!-- The event image URL --> | {{#vardefine: event_image_url| {{filepath:{{#var: event_image | error}} }}}} <!-- The event image URL --> | ||
{{#vardefine: event_name | {{#var: event_performer | error}}, {{#var: event_place | error}}, {{#var: event_locality | error}}, {{#var: event_region | error}}}} | {{#vardefine: event_name | {{#var: event_performer | error}}, {{#var: event_place | error}}, {{#var: event_locality | error}}, {{#var: event_region | error}}}} | ||
+ | </div> | ||
+ | the first line of text | ||
+ | |||
+ | |||
+ | <!--Description: sending page variables from the page to the event template for processing into JSON-LD --> | ||
+ | <!-- If event_startDate is Greater than NOW, then broadcast JSON-LD --> | ||
+ | {{#ifexpr: {{#time:xNU|{{#var: event_startDate | none}}}} > {{#time: xNU}} | | ||
+ | |||
+ | {{Template: Event | ||
+ | |name={{#var: event_name |none}} | ||
+ | |startDate={{#var: event_startDate |none}} | ||
+ | |endDate={{#var: event_endDate |none}} | ||
+ | |description={{#var: event_description |none}} | ||
+ | |image={{#var: event_image_url |none}} | ||
+ | |attendancemode={{#var: event_AttendanceMode |none}} | ||
+ | |eventstatus={{#var: event_Status |none}} | ||
+ | |virtualvendorurl= {{#var: event_virtualvendorurl |none}} | ||
+ | |||
+ | |place={{#var: event_place |none}} | ||
+ | |streetAddress={{#var: event_streetAddress |none}} | ||
+ | |postalCode={{#var: event_postalCode |none}} | ||
+ | |locality={{#var: event_locality |none}} | ||
+ | |region={{#var: event_region |none}} | ||
+ | |country={{#var: event_country |none}} | ||
+ | |||
+ | |offer = {{#var: event_name |none}} | ||
+ | |offerPrice={{#var: event_offerPrice |none}} | ||
+ | |offerCurrency={{#var: event_offerCurrency |none}} | ||
+ | |offerAvailability={{#var: event_offerAvailability |none}} | ||
+ | |offerURL={{#var: event_offerURL |none}} | ||
+ | |validFrom={{#var: event_validFrom |none}} | ||
+ | |||
+ | |performer={{#var: event_performer |none}} | ||
+ | |performer_url={{#var: event_performer_url |none}} | ||
+ | |performer_sameas={{#var: event_performer_sameas |none}} | ||
+ | |||
+ | |contributor={{#var: featArtist_name|none}} | ||
+ | |contributor_url={{#var: featArtist_url |none}} | ||
+ | |contributor_sameas={{#var: featArtist_sameAs |none}} | ||
+ | |contributor_award={{#var: featArtist_award |none}} | ||
+ | |||
+ | |organizer={{#var: organizer_name|none }} | ||
+ | |organizer_url={{#var: organizer_url|none }} | ||
+ | }} | ||
+ | }} |
Latest revision as of 00:22, 9 November 2020
the first line of text