Template:Event/doc: Difference between revisions
Appearance
→Example: fixed example |
template data |
||
| Line 17: | Line 17: | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
"description": " | "description": "All organizer(s), whether they're individuals, orgs, departments, etc. Wikilink if possible. ", | ||
"example": "[[Vastards]]" | |||
}, | }, | ||
"place": { | "place": { | ||
| Line 28: | Line 29: | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"description": "Image filename | "description": "Image filename, without the File: prefix.", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"required": false | "required": false, | ||
"example": "Flyer.png" | |||
}, | }, | ||
"date": { | "date": { | ||
"label": "Date", | "label": "Date", | ||
"type": "date", | "type": "date", | ||
"required": true | "required": true, | ||
"description": "Date in YYYY-MM-DD format", | |||
"example": "2027-01-30" | |||
}, | }, | ||
"time": { | "time": { | ||
Revision as of 18:14, 7 April 2026
Displays a compact event card for use on club pages and the Main Page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Event name | name | no description | String | required |
| Description | description | no description | String | optional |
| Organizers | organizers | All organizer(s), whether they're individuals, orgs, departments, etc. Wikilink if possible.
| String | optional |
| Date | date | Date in YYYY-MM-DD format
| Date | required |
| Time | time | no description | String | optional |
| Place | place | Location of the event, wikilinked if possible
| String | optional |
| Image | image | Image filename, without the File: prefix.
| File | optional |
Example
{{Event
| name = Best Event Ever
| description = Come to this event, which will be the best.
| organizers = VassarWiki
| date = 2027-01-01
| time = 1 pm
| place = Rocky 300
| image = wompwomp.png
}}