Jump to content

Template:Event/doc: Difference between revisions

From VassarWiki
m Ewelchmorgan moved page Template:Event/doc to Template:Poster/doc: More clear
Poster; updated description
Line 1: Line 1:
<templatedata>
<templatedata>
{
{
"description": "Displays a compact event card for use on club pages and the Main Page.",
"description": "Displays a compact event card for use on club pages. Automatically placed on the Upcoming Events page.",
"params": {
"params": {
"name": {
"name": {
Line 60: Line 60:
== Example ==
== Example ==
<pre>
<pre>
{{Event
{{Poster
| name = Best Event Ever
| name = Best Event Ever
| description = Come to this event, which will be the best.
| description = Come to this event, which will be the best.
Line 71: Line 71:
</pre>
</pre>


{{Event
{{Poster
| name = Best Event Ever
| name = Best Event Ever
| description = Come to this event, which will be the best.
| description = Come to this event, which will be the best.

Revision as of 18:22, 7 April 2026

Displays a compact event card for use on club pages. Automatically placed on the Upcoming Events page.

Template parameters

ParameterDescriptionTypeStatus
Event namename

no description

Stringrequired
Organizersorganizers

All organizer(s), whether they're individuals, orgs, departments, etc. Wikilink if possible.

Example
[[Vastards]]
Stringrequired
Datedate

Date in YYYY-MM-DD format

Example
2027-01-30
Daterequired
Timetime

no description

Stringoptional
Placeplace

Location of the event, wikilinked if possible

Example
[[Rocky]] 300
Stringoptional
Descriptiondescription

no description

Stringoptional
Imageimage

Image filename, without the File: prefix.

Example
Flyer.png
Fileoptional

Example

{{Poster
| 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
}}
Best Event Ever
👥VassarWiki📅Friday, January 1🕐1 pm📍Rocky 300
Come to this event, which will be the best.