Template:Calendar entry: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 9: Line 9:
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Art Book Fair",
"Art book fair",
"Comics Expo",
"Comics expo",
"Conference",
"Conference",
"Exhibition",
"Exhibition",
"Meetup",
"Meetup",
"Zine Fest"
"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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Event typeevent_type

Type of event.

Suggested values
Art book fair Comics expo Conference Exhibition Meetup Zine fest
Stringrequired
Statusstatus

The status of the event.

Suggested values
Active Inactive Paused
Stringsuggested
Citycity

The city of the event (used for sorting, not address display).

Stringoptional
State/provincestate_province

The state/province of the event (used for sorting, not address display).

Page nameoptional
Countrycountry

The country of the event (used for sorting, not address display).

Page namerequired
Namename

Unique name of the event.

Stringoptional
Websitewebsite

A link for the event.

URLoptional
Start datestart_date

Start date of the instance.

Daterequired
End dateend_date

End date of the instance (can be left blank for one-day events).

Dateoptional
Coordinatescoordinates

The latitude and longitude coordinates of the space (optional, to support map display).

Example
47.621937, -122.351746
Stringsuggested