Template:Event: Difference between revisions
Appearance
Created template |
m EdwardNWM moved page Template:Poster to Template:Event over redirect: simplification |
||
| (40 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="display:inline-block; vertical-align:top; border:1px solid | <div class="poster" style="display:inline-block; vertical-align:top; border:1px solid var(--vw-border); padding:0.6em; margin:0.4em 0.4em 0.4em 0em; width:220px; flex:1 1 200px; background: var(--vw-bg-subtle);"> | ||
{{#if:{{{image|}}}|<div style="text-align:center; margin-bottom:0.4em;">[[File:{{{image}}}|210px]]</div>}} | {{#if:{{{image|}}}|<div style="text-align:center; margin-bottom:0.4em;">[[File:{{{image}}}|210px]]</div>}} | ||
<div style="font-weight:bold; font-size:1. | <div style="font-weight:bold; font-size:1.15em; line-height:1.15; margin:0.6em 0; text-align:center;">{{{name}}}</div> | ||
{{#if:{{{ | <div style="display:grid; grid-template-columns:1.8em 1fr; row-gap:0.5em; margin-top:0.2em; line-height:1.15; align-items:baseline;">{{#if:{{{organizers|}}}|<span>👥</span><span>{{{organizers}}}</span>}}{{#if:{{{date|}}}|<span>📅</span><span>{{#time:l, F j|{{{date}}}}}</span>}}{{#if:{{{time|}}}|<span>🕐</span><span>{{{time}}}</span>}}{{#if:{{{place|}}}|<span>📍</span><span>{{{place}}}</span>}}</div> | ||
{{#if:{{{ | {{#if:{{{description|}}}|<div style="font-style:italic; font-size:0.85em; margin-top:1em; line-height:1; color: var(--vw-text-subtle)">{{{description}}}</div>}} | ||
{{#if:{{{ | </div><noinclude>{{Documentation}}</noinclude> | ||
{{#if:{{{ | |||
</div> | |||
Latest revision as of 21:25, 17 May 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
}}