Open main menu

Changes

no edit summary
{{#vardefine: event_startDate | 2020-05-29T19:00 }}
{{#vardefine: event_endDate | 2020-05-29 }}
 
{#vardefine: event_AttendanceMode | OfflineEventAttendanceMode }} <!--MixedEventAttendanceMode OfflineEventAttendanceMode OnlineEventAttendanceMode-->
{{#vardefine: event_Status | EventScheduled }} <!--EventCancelled EventMovedOnline EventPostponed EventRescheduled EventScheduled-->
 
{{#vardefine: event_validFrom | 2019-12-22 }}
{{#vardefine: event_place | Myron's Cabaret Jazz At The Smith Center}}
{{#vardefine: event_streetAddress | 361 W Symphony Park Ave }}
{{#vardefine: event_country | US }}
{{#vardefine: event_offerAvailability | InStock }} <!-- Discontinued InStock InStoreOnly LimitedAvailability OnlineOnly OutOfStock PreOrder PreSale SoldOut -->
{{#vardefine: event_performer | Sara Niemietz }}
{{#vardefine: event_performer_url | http://www.saraniemietz.com/ }}
{{Collapse top|bg=#eaecf0| JSON-LD Script for normal HTML pages (head or body section)}}
<nowiki><script type="application/ld+json">{"@context":"https://schema.org","@type":"Event","name":"</nowiki>{{#var: event_name | error}}<nowiki>","startDate":"</nowiki>{{#var: event_startDate | error}}<nowiki>","endDate":"</nowiki>{{#var: event_endDate | error}}<nowiki>","eventAttendanceMode":"</nowiki>{{#var: event_AttendanceMode | error}}<nowiki>","eventStatus":"</nowiki>{{#var: event_Status | error}}<nowiki>","description":"</nowiki>{{#var: event_description | error}}<nowiki>","image":"</nowiki>{{#var: event_image_url | error}}<nowiki>","url":"</nowiki>{{SERVER}}/wiki/{{FULLPAGENAME}}<nowiki>","location":{"@type":"Place","name":"</nowiki>{{#var: event_place | error}}<nowiki>","address":{"streetAddress":"</nowiki>{{#var: event_streetAddress | error}}<nowiki>","addressLocality":"</nowiki>{{#var: event_locality | error}}<nowiki>","postalCode":"</nowiki>{{#var: event_postalCode | error}}<nowiki>",
"addressRegion":"</nowiki>{{#var: event_region | error}}<nowiki>","addressCountry":"</nowiki>{{#var: event_country | error}}<nowiki>"}},"performer":{"@type":"PerformingGroup","name":"</nowiki>{{#var: event_performer | error}}<nowiki>","url":"</nowiki>{{#var: event_performer_url | error}}<nowiki>"},"offers":{"@type":"Offer","url":"</nowiki>{{#var: event_offerURL | error}}<nowiki>","price":"</nowiki>{{#var: event_offerPrice | error}}<nowiki>","priceCurrency":"</nowiki>{{#var: event_offerCurrency | error}}<nowiki>","availability":"</nowiki>{{#var: event_offerAvailability | error}}<nowiki>","validFrom":"</nowiki>{{#var: event_validFrom | error}}<nowiki>"},"contributor":{"@type":"Person", "name":"</nowiki>{{#var: featArtist_name| error}}<nowiki>","url":"</nowiki>{{#var: featArtist_url| error}}<nowiki>","sameAs":"</nowiki>{{#var: featArtist_sameAs| error}}<nowiki>","award":"</nowiki>{{#var: featArtist_award | error}}<nowiki>"}}</script></nowiki>
{{Collapse bottom}}
<nowiki><script type="application/ld+json"></nowiki><br/>
<nowiki>//<![CDATA[</nowiki><br/>
<nowiki>{"@context":"https://schema.org","@type":"Event","name":"</nowiki>{{#var: event_name | error}}<nowiki>","startDate":"</nowiki>{{#var: event_startDate | error}}<nowiki>","endDate":"</nowiki>{{#var: event_endDate | error}}<nowiki>","description":"</nowiki>{{#var: event_description | error}}<nowiki>","image":"</nowiki>{{#var: event_image_url | error}}<nowiki>","url":"</nowiki>{{SERVER}}/wiki/{{FULLPAGENAME}}<nowiki>","eventAttendanceMode":"</nowiki>{{#var: event_AttendanceMode | error}}<nowiki>","eventStatus":"</nowiki>{{#var: event_Status | error}}<nowiki>","location":{"@type":"Place","name":"</nowiki>{{#var: event_place | error}}<nowiki>","address":{"streetAddress":"</nowiki>{{#var: event_streetAddress | error}}<nowiki>","addressLocality":"</nowiki>{{#var: event_locality | error}}<nowiki>","postalCode":"</nowiki>{{#var: event_postalCode | error}}<nowiki>",
"addressRegion":"</nowiki>{{#var: event_region | error}}<nowiki>","addressCountry":"</nowiki>{{#var: event_country | error}}<nowiki>"}},"performer":{"@type":"PerformingGroup","name":"</nowiki>{{#var: event_performer | error}}<nowiki>","url":"</nowiki>{{#var: event_performer_url | error}}<nowiki>"},"offers":{"@type":"Offer","url":"</nowiki>{{#var: event_offerURL | error}}<nowiki>","price":"</nowiki>{{#var: event_offerPrice | error}}<nowiki>","priceCurrency":"</nowiki>{{#var: event_offerCurrency | error}}<nowiki>","availability":"</nowiki>{{#var: event_offerAvailability | error}}<nowiki>","validFrom":"</nowiki>{{#var: event_validFrom | error}}<nowiki>"},"contributor":{"@type":"Person", "name":"</nowiki>{{#var: featArtist_name| error}}<nowiki>","url":"</nowiki>{{#var: featArtist_url| error}}<nowiki>","sameAs":"</nowiki>{{#var: featArtist_sameAs| error}}<nowiki>","award":"</nowiki>{{#var: featArtist_award | error}}<nowiki>"}}</nowiki><br/>
<nowiki>//]]></nowiki><br/>
<nowiki></script></nowiki>
{{Collapse bottom}}
 
<!-- If event_startDate is Greater than NOW, then broadcast JSON-LD -->
|startDate={{#var: event_startDate | error}}
|endDate={{#var: event_endDate | error}}
|attendancemode = OfflineEventAttendanceMode{{#var: event_AttendanceMode | error}}|eventstatus = EventScheduled{{#var: event_Status | error}}
|place={{#var: event_place | error}}
|description={{#var: event_description | error}}