Template:Calendar entry: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"Art | "Art book fair", | ||
"Comics | "Comics expo", | ||
"Conference", | "Conference", | ||
"Exhibition", | "Exhibition", | ||
"Meetup", | "Meetup", | ||
"Zine | "Zine fest" | ||
], | ], | ||
"required": true | "required": true | ||
Line 30: | Line 30: | ||
}, | }, | ||
"city": { | "city": { | ||
"label": "City" | "label": "City", | ||
"description": "The city of the event (used for sorting, not address display).", | |||
"type": "string" | |||
}, | }, | ||
"state_province": { | "state_province": { | ||
"label": "State/province" | "label": "State/province", | ||
"description": "The state/province of the event (used for sorting, not address display).", | |||
"type": "wiki-page-name" | |||
}, | }, | ||
"country": { | "country": { | ||
"label": "Country" | "label": "Country", | ||
"description": "The country of the event (used for sorting, not address display).", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "Unique name of the event.", | |||
"type": "string" | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"description": "A link for the event.", | |||
"type": "url" | |||
}, | |||
"start_date": { | |||
"label": "Start date", | |||
"description": "Start date of the instance.", | |||
"type": "date", | |||
"required": true | |||
}, | |||
"end_date": { | |||
"label": "End date", | |||
"description": "End date of the instance (can be left blank for one-day events).", | |||
"type": "date" | |||
}, | |||
"coordinates": { | |||
"label": "Coordinates", | |||
"description": "The latitude and longitude coordinates of the space (optional, to support map display).", | |||
"example": "47.621937, -122.351746", | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Line 46: | Line 81: | ||
"city", | "city", | ||
"state_province", | "state_province", | ||
"country" | "country", | ||
"name", | |||
"website", | |||
"start_date", | |||
"end_date", | |||
"coordinates" | |||
] | ] | ||
} | } |
Revision as of 13:06, 15 August 2025
TemplateData
The main template for the "Happening" semantic #subobject declaration (holding scheduling data for fairs, conferences, meetups, etc.). This is a simplified test to replace the instance used with the "Event" class which only handles data that is imported from the old wiki.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event type | event_type | Type of event.
| String | required |
Status | status | The status of the event.
| String | suggested |
City | city | The city of the event (used for sorting, not address display). | String | optional |
State/province | state_province | The state/province of the event (used for sorting, not address display). | Page name | optional |
Country | country | The country of the event (used for sorting, not address display). | Page name | required |
Name | name | Unique name of the event. | String | optional |
Website | website | A link for the event. | URL | optional |
Start date | start_date | Start date of the instance. | Date | required |
End date | end_date | End date of the instance (can be left blank for one-day events). | Date | optional |
Coordinates | coordinates | The latitude and longitude coordinates of the space (optional, to support map display).
| String | suggested |