Template:Event/doc: Difference between revisions
Appearance
changed template data |
m EdwardNWM moved page Template:Poster/doc to Template:Event/doc over redirect: simplification |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Displays a compact event card for use on club pages | "description": "Displays a compact event card for use on club pages. Automatically placed on the Upcoming Events page.", | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
| Line 7: | Line 7: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"organizers": { | "organizers": { | ||
"label": "Organizers", | "label": "Organizers", | ||
"type": "string", | "type": "string", | ||
"description": "All organizer(s), whether they're individuals, orgs, departments, etc. Wikilink if possible. ", | |||
"description": " | "example": "[[Vastards]]", | ||
"suggested": true | |||
}, | }, | ||
"place": { | "place": { | ||
| Line 24: | Line 20: | ||
"required": false, | "required": false, | ||
"description": "Location of the event, wikilinked if possible", | "description": "Location of the event, wikilinked if possible", | ||
"example": " | "example": "Rocky 300" | ||
}, | }, | ||
"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": { | ||
"label": "Time", | "label": "Time", | ||
"type": "string", | |||
"suggested": true | |||
}, | |||
"description": { | |||
"description": "very brief description or extra info (anything substantial should go on a page!)", | |||
"type": "string" | "type": "string" | ||
} | } | ||
| Line 44: | Line 48: | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
"organizers", | "organizers", | ||
"date", | "date", | ||
"time", | "time", | ||
"place", | "place", | ||
"image" | "image", | ||
"description" | |||
] | ] | ||
} | } | ||
| Line 56: | Line 60: | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
{{ | {{Poster | ||
| name | | name = Best Event Ever | ||
| | | organizers = VassarWiki | ||
| | | date = 2027-01-01 | ||
| | | time = 1 pm | ||
| place | | place = Rocky 300 | ||
| image | | image = wompwomp.png | ||
}} | }} | ||
</pre> | </pre> | ||
{{ | {{Poster | ||
| name | | name = Best Event Ever | ||
| | | organizers = VassarWiki | ||
| | | date = 2027-01-01 | ||
| | | time = 1 pm | ||
| place | | place = Rocky 300 | ||
| image | | image = wompwomp.png | ||
}} | }} | ||
Latest revision as of 21:25, 17 May 2026
Displays a compact event card for use on club pages. Automatically placed on the Upcoming Events page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Event name | name | no description | String | required |
| Organizers | organizers | All organizer(s), whether they're individuals, orgs, departments, etc. Wikilink if possible.
| String | suggested |
| Date | date | Date in YYYY-MM-DD format
| Date | required |
| Time | time | no description | String | suggested |
| Place | place | Location of the event, wikilinked if possible
| String | optional |
| Image | image | Image filename, without the File: prefix.
| File | optional |
| description | description | very brief description or extra info (anything substantial should go on a page!) | String | optional |
Example
{{Poster
| name = Best Event Ever
| organizers = VassarWiki
| date = 2027-01-01
| time = 1 pm
| place = Rocky 300
| image = wompwomp.png
}}