Template:event infobox: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude> == Event Infobox == Use this template on all annual event pages. Copy the usage block below and fill in the fields. Leave out any fields that do not apply — do not include the parameter at all if you have nothing to put in it. === Parameters === * '''name''' — Full event name. Defaults to the page title if omitted. * '''year''' — Four-digit year. Example: <code>2026</code> * '''date''' — Full date or date range. Example: <code>July 4, 2026</code> or..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
=== Parameters === | === Parameters === | ||
* '''name''' — Full event name. Defaults to the page title if omitted. | * '''name''' — Full event name. Defaults to the page title if omitted. | ||
* '''image''' — File name only. Example: <code>chief hall fest 2026 crowd 1.jpg</code> | |||
* '''year''' — Four-digit year. Example: <code>2026</code> | * '''year''' — Four-digit year. Example: <code>2026</code> | ||
* '''date''' — Full date or date range. Example: <code>July 4, 2026</code> or <code>July 4–5, 2026</code> | * '''date''' — Full date or date range. Example: <code>July 4, 2026</code> or <code>July 4–5, 2026</code> | ||
| Line 15: | Line 16: | ||
=== Usage === | === Usage === | ||
<pre> | <pre> | ||
{{ | {{event infobox | ||
| name = | | name = | ||
| image = | |||
| year = | | year = | ||
| date = | | date = | ||
| Line 28: | Line 30: | ||
* Add <code>[[Category:Chief Hall Festival]]</code> and <code>[[Category:Events]]</code> manually at the bottom of each annual page. | * Add <code>[[Category:Chief Hall Festival]]</code> and <code>[[Category:Events]]</code> manually at the bottom of each annual page. | ||
* The Class Tents section belongs below the infobox as a separate section. See an existing festival page for the table format. | * The Class Tents section belongs below the infobox as a separate section. See an existing festival page for the table format. | ||
* Do not include optional parameters with blank values. Leave them out entirely. | |||
</noinclude><includeonly><table class="infobox" style="width:22em; text-align:left; font-size:90%; border-collapse:collapse; margin-left:1em; float:right; border:1px solid #dddddd;"> | </noinclude><includeonly><table class="infobox" style="width:22em; text-align:left; font-size:90%; border-collapse:collapse; margin-left:1em; float:right; border:1px solid #dddddd;"> | ||
| Line 35: | Line 38: | ||
</td> | </td> | ||
</tr> | </tr> | ||
{{#if:{{{image|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align:center; padding:8px; border-top:1px solid #dddddd;"> | |||
[[File:{{{image}}}|300px|center|{{{name|{{PAGENAME}}}}}]] | |||
</td> | |||
</tr> | |||
}} | |||
<tr> | <tr> | ||
Latest revision as of 11:44, 14 April 2026
Event Infobox
Use this template on all annual event pages. Copy the usage block below and fill in the fields. Leave out any fields that do not apply — do not include the parameter at all if you have nothing to put in it.
Parameters
- name — Full event name. Defaults to the page title if omitted.
- image — File name only. Example:
chief hall fest 2026 crowd 1.jpg - year — Four-digit year. Example:
2026 - date — Full date or date range. Example:
July 4, 2026orJuly 4–5, 2026 - location — Venue or address.
- performers — Performing artists. Separate multiple with commas. Leave out if not applicable.
- attendance — Estimated headcount. Example:
~500
Usage
{{event infobox
| name =
| image =
| year =
| date =
| location =
| performers =
| attendance =
}}
Notes
- Add
andmanually at the bottom of each annual page. - The Class Tents section belongs below the infobox as a separate section. See an existing festival page for the table format.
- Do not include optional parameters with blank values. Leave them out entirely.