Template:Event: Difference between revisions
Appearance
date and time |
moving divs |
||
| Line 4: | Line 4: | ||
{{#if:{{{description|}}}|<div style="margin-bottom:0.3em;">{{{description}}}</div>}} | {{#if:{{{description|}}}|<div style="margin-bottom:0.3em;">{{{description}}}</div>}} | ||
{{#if:{{{organizers|}}}|<div>👥 {{{organizers}}}</div>}} | {{#if:{{{organizers|}}}|<div>👥 {{{organizers}}}</div>}} | ||
{{#if:{{{date|}}}|<div>📅 {{{date}}} | {{#if:{{{date|}}}|<div>📅 {{{date}}}}}{{#if:{{{time|}}}|at {{{time}}}</div>|</div>}} | ||
{{#if:{{{place|}}}|<div>📍 {{{place}}}</div>}} | {{#if:{{{place|}}}|<div>📍 {{{place}}}</div>}} | ||
</div><noinclude>{{Documentation}}</noinclude> | </div><noinclude>{{Documentation}}</noinclude> | ||
Revision as of 18:09, 7 April 2026
{{{name}}}
Documentation[edit documentation]
For more general help using templates, see VassarWiki:Templates.
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
}}