Jump to content

Template:Event/doc: Difference between revisions

From VassarWiki
Poster; updated description
Event; clean up
 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:
"type": "string",
"type": "string",
"required": true
"required": true
},
"description": {
"label": "Description",
"type": "string",
"required": false
},
},
"organizers": {
"organizers": {
"label": "Organizers",
"label": "Organizers",
"type": "string",
"type": "string",
"required": true,
"description": "All organizer(s), whether they're individuals, orgs, departments, etc. Wikilink if possible. ",
"description": "All organizer(s), whether they're individuals, orgs, departments, etc. Wikilink if possible. ",
"example": "[[Vastards]]"
"example": "[[Vastards]]",
"suggested": true
},
},
"place": {
"place": {
Line 25: Line 20:
"required": false,
"required": false,
"description": "Location of the event, wikilinked if possible",
"description": "Location of the event, wikilinked if possible",
"example": "[[Rocky]] 300"
"example": "Rocky 300"
},
},
"image": {
"image": {
Line 43: Line 38:
"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 52: Line 52:
"time",
"time",
"place",
"place",
"description",
"image",
"image"
"description"
]
]
}
}
Line 60: Line 60:
== Example ==
== Example ==
<pre>
<pre>
{{Poster
{{Event
| name = Best Event Ever
| name = Best Event Ever
| description = Come to this event, which will be the best.
| organizers = VassarWiki
| organizers = VassarWiki
| date = 2027-01-01
| date = 2027-01-01
| time = 1 pm
| time = 1 pm
| place = Rocky 300
| place = Rocky 300
| image = wompwomp.png
| description = This is gonna be the best event ever!!!!
}}
}}
</pre>
</pre>


{{Poster
{{Event
| name = Best Event Ever
| name = Best Event Ever
| description = Come to this event, which will be the best.
| organizers = VassarWiki
| organizers = VassarWiki
| date = 2027-01-01
| date = 2027-01-01
| time = 1 pm
| time = 1 pm
| place = Rocky 300
| place = Rocky 300
| image = wompwomp.png
| description = This is gonna be the best event ever!!!!
}}
}}

Latest revision as of 21:25, 19 May 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]]
Stringsuggested
Datedate

Date in YYYY-MM-DD format

Example
2027-01-30
Daterequired
Timetime

no description

Stringsuggested
Placeplace

Location of the event, wikilinked if possible

Example
Rocky 300
Stringoptional
Imageimage

Image filename, without the File: prefix.

Example
Flyer.png
Fileoptional
descriptiondescription

very brief description or extra info (anything substantial should go on a page!)

Stringoptional

Example

{{Event
| name = Best Event Ever
| organizers = VassarWiki
| date = 2027-01-01
| time = 1 pm
| place = Rocky 300
| description = This is gonna be the best event ever!!!!
}}
Best Event Ever
👥VassarWiki📅Friday, January 1 · 1 pm📍Rocky 300
This is gonna be the best event ever!!!!