Template:Event/doc: Difference between revisions
Appearance
creating doc page |
changed template data |
||
| Line 1: | Line 1: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Displays a compact event card for use on club pages and the Main Page.", | |||
"params": { | |||
"name": { | |||
"label": "Event name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"organizers": { | |||
"label": "Organizers", | |||
"type": "string", | |||
"required": false, | |||
"description": "The organizer, whether it's an individual, org, or department. Wikilink if possible. " | |||
}, | |||
"place": { | |||
"label": "Place", | |||
"type": "string", | |||
"required": false, | |||
"description": "Location of the event, wikilinked if possible", | |||
"example": "[[Rocky]] 300" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Image filename (e.g. Flyer.png), without the File: prefix.", | |||
"type": "wiki-file-name", | |||
"required": false | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"type": "date", | |||
"required": true | |||
}, | |||
"time": { | |||
"label": "Time", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"description", | |||
"organizers", | |||
"date", | |||
"time", | |||
"place", | |||
"image" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 18:06, 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 | The organizer, whether it's an individual, org, or department. Wikilink if possible. | String | optional |
| Date | date | no description | Date | required |
| Time | time | no description | String | optional |
| Place | place | Location of the event, wikilinked if possible
| String | optional |
| Image | image | Image filename (e.g. Flyer.png), without the File: prefix. | File | optional |
Example
{{Event
| name = Best Event Ever
| description = Come to this event, which will be the best.
| organizers = VassarWiki
| datetime = January 1 at 1 pm
| place = Rocky 300
| image = wompwomp.png
}}