Template:Event/doc: Difference between revisions
Appearance
creating doc page |
m EdwardNWM moved page Template:Poster/doc to Template:Event/doc over redirect: simplification |
||
| (9 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. Automatically placed on the Upcoming Events page.", | |||
"params": { | |||
"name": { | |||
"label": "Event name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"organizers": { | |||
"label": "Organizers", | |||
"type": "string", | |||
"description": "All organizer(s), whether they're individuals, orgs, departments, etc. Wikilink if possible. ", | |||
"example": "[[Vastards]]", | |||
"suggested": true | |||
}, | |||
"place": { | |||
"label": "Place", | |||
"type": "string", | |||
"required": false, | |||
"description": "Location of the event, wikilinked if possible", | |||
"example": "Rocky 300" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Image filename, without the File: prefix.", | |||
"type": "wiki-file-name", | |||
"required": false, | |||
"example": "Flyer.png" | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"type": "date", | |||
"required": true, | |||
"description": "Date in YYYY-MM-DD format", | |||
"example": "2027-01-30" | |||
}, | |||
"time": { | |||
"label": "Time", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"description": { | |||
"description": "very brief description or extra info (anything substantial should go on a page!)", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"organizers", | |||
"date", | |||
"time", | |||
"place", | |||
"image", | |||
"description" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
| Line 40: | 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
}}