Open main menu

Difference between revisions of "Skritzer: Event test"

 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<div style="display:none;">                                        <!--Declare Event variable names here-->
 
<div style="display:none;">                                        <!--Declare Event variable names here-->
{{#vardefine: event_startDate | 2020-05-29T19:00 }}
+
{{#vardefine: event_startDate | 2020-12-29T19:00-7:00}}
{{#vardefine: event_endDate | 2020-05-29 }}
+
{{#vardefine: event_endDate | 2020-12-29 }}
 
{{#vardefine: event_validFrom | 2019-12-22 }}
 
{{#vardefine: event_validFrom | 2019-12-22 }}
{{#vardefine: event_AttendanceMode | OfflineEventAttendanceMode }} <!--MixedEventAttendanceMode OfflineEventAttendanceMode OnlineEventAttendanceMode-->
+
{{#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 -->
Line 44: Line 44:
 
</div>
 
</div>
 
the first line of text
 
the first line of text
 +
  
 
<!--Description: sending page variables from the page to the event template for processing into JSON-LD -->
 
<!--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 -->
 
<!-- If event_startDate is Greater than NOW, then broadcast JSON-LD -->
 
{{#ifexpr: {{#time:xNU|{{#var: event_startDate | none}}}} > {{#time: xNU}} |  
 
{{#ifexpr: {{#time:xNU|{{#var: event_startDate | none}}}} > {{#time: xNU}} |  
<!-- Generate the page schema for the event -->
+
 
 
{{Template: Event
 
{{Template: Event
| name = {{#var: event_name | none}}
+
|name={{#var: event_name |none}}
| startDate = {#var: event_startDate | none}}
+
|startDate={{#var: event_startDate |none}}
| endDate = {{#var: event_endDate | none}}
+
|endDate={{#var: event_endDate |none}}
| description = {{#var: event_description | none}}
+
|description={{#var: event_description |none}}
| image = {{#var: event_image_url | none}}
+
|image={{#var: event_image_url |none}}
| attendancemode = {{#var: event_AttendanceMode | none}}
+
|attendancemode={{#var: event_AttendanceMode |none}}
| eventstatus = {{#var: event_Status | none}}
+
|eventstatus={{#var: event_Status |none}}
| virtualvendorurl=  {{#var: event_virtualvendorurl | none}}
+
|virtualvendorurl=  {{#var: event_virtualvendorurl |none}}
  
| place = {{#var: event_place | none}}
+
|place={{#var: event_place |none}}
| streetAddress = {{#var: event_streetAddress | none}}
+
|streetAddress={{#var: event_streetAddress |none}}
| postalCode = {{#var: event_postalCode | none}}
+
|postalCode={{#var: event_postalCode |none}}
| locality = {{#var: event_locality | none}}
+
|locality={{#var: event_locality |none}}
| region = {{#var: event_region | none}}
+
|region={{#var: event_region |none}}
| country = {{#var: event_country | none}}
+
|country={{#var: event_country |none}}
  
| offer =
+
|offer = {{#var: event_name |none}}
| offerPrice = {{#var: event_offerPrice | none}}
+
|offerPrice={{#var: event_offerPrice |none}}
| offerCurrency = {{#var: event_offerCurrency | none}}
+
|offerCurrency={{#var: event_offerCurrency |none}}
| offerAvailability = {{#var: event_offerAvailability | none}}
+
|offerAvailability={{#var: event_offerAvailability |none}}
| offerURL = {{#var: event_offerURL | none}}
+
|offerURL={{#var: event_offerURL |none}}
| validFrom = {{#var: event_validFrom | none}}
+
|validFrom={{#var: event_validFrom |none}}
  
| performer = {{#var: event_performer | none}}
+
|performer={{#var: event_performer |none}}
| performer_url = {{#var: event_performer_url | none}}
+
|performer_url={{#var: event_performer_url |none}}
| performer_sameas = {{#var: event_performer_sameas | none}}
+
|performer_sameas={{#var: event_performer_sameas |none}}
  
| contributor = {{#var: featArtist_name| none}}
+
|contributor={{#var: featArtist_name|none}}
| contributor_url = {{#var: featArtist_url | none}}
+
|contributor_url={{#var: featArtist_url |none}}
| contributor_sameas = {{#var: featArtist_sameAs | none}}
+
|contributor_sameas={{#var: featArtist_sameAs |none}}
| contributor_award = {{#var: featArtist_award | none}}
+
|contributor_award={{#var: featArtist_award |none}}
  
| organizer = {{#var: organizer_name| none }}
+
|organizer={{#var: organizer_name|none }}
| organizer_url = {{#var: organizer_url| none }}
+
|organizer_url={{#var: organizer_url|none }}
 
}}
 
}}
 
}}
 
}}

Latest revision as of 00:22, 9 November 2020





















the first line of text