Template:Event/doc: Difference between revisions
Jump to navigation
Jump to search
Hypermoron (talk | contribs) No edit summary |
Tag: Manual revert |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation header}} | ||
<pre style="display:table"> | |||
| | {{Event | ||
| | | name = | ||
| | | image = | ||
| | | image_caption = | ||
| | | date = | ||
| | | location = | ||
| | | participants = | ||
| previous = | |||
| next = | |||
}} | }} | ||
</pre> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 48: | Line 52: | ||
"label": "Participants", | "label": "Participants", | ||
"description": "Participants in the event (usually NPCs).", | "description": "Participants in the event (usually NPCs).", | ||
"type": "line", | |||
"suggested": true | |||
}, | |||
"previous": { | |||
"label": "Preceded by", | |||
"description": "The previous event.", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"next": { | |||
"label": "Followed by", | |||
"description": "The next event.", | |||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
Line 58: | Line 75: | ||
"date", | "date", | ||
"location", | "location", | ||
"participants" | "participants", | ||
"previous", | |||
"next" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Examples == | |||
=== Everything === | |||
{{Event | |||
| name = The Day Cloudius Forgot to Do the Wash | |||
| image = Tattered Cloudius 2021-06-04.png | |||
| image_caption = Oh boy, he's stinky | |||
| date = May 22, 2022 | |||
| location = The Sky Kingdom | |||
| participants = Cloudius and everyone else's noses | |||
| previous = Cloudius Wears All His Clothes | |||
| next = Cloudius Does the Wash | |||
}} | |||
<pre style="display:table"> | |||
{{Event | |||
| name = The Day Cloudius Forgot to Do the Wash | |||
| image = Tattered Cloudius 2021-06-04.png | |||
| image_caption = Oh boy, he's stinky | |||
| date = May 22, 2022 | |||
| location = The Sky Kingdom | |||
| participants = Cloudius and everyone else's noses | |||
| previous = Cloudius Wears All His Clothes | |||
| next = Cloudius Does the Wash | |||
}} | |||
</pre> |
Latest revision as of 03:11, 5 November 2023
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
{{Event | name = | image = | image_caption = | date = | location = | participants = | previous = | next = }}
An infobox to serve as a quick reference on the right side of event pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event name | name | Will automatically enter based on page name
| Line | optional |
Image | image | Refers to the image file stored on the wiki.
| File | suggested |
Image caption | image_caption | An optional caption for the image. | Line | optional |
Date | date | The date or period of time during which the event occurred. Try to use MDY format (e.g., April 1, 2022) | Line | suggested |
Location | location | The location of the event.
| Line | suggested |
Participants | participants | Participants in the event (usually NPCs). | Line | suggested |
Preceded by | previous | The previous event. | Line | suggested |
Followed by | next | The next event. | Line | suggested |
Examples
Everything
Event
Oh boy, he's stinky
Date |
May 22, 2022 |
---|---|
Location |
The Sky Kingdom |
Participants |
Cloudius and everyone else's noses |
Timeline |
Preceded by |
{ "extratext": "Oh boy, he's stinky", "title": "Event", "images": [ "Tattered Cloudius 2021-06-04.png" ], "rows": [ { "field": "May 22, 2022", "label": "Date" }, { "field": "The Sky Kingdom", "label": "Location" }, { "field": "Cloudius and everyone else's noses", "label": "Participants" }, { "field": "'''Preceded by'''<br>Cloudius Wears All His Clothes<br> '''Followed by'''<br>Cloudius Does the Wash", "label": "Timeline" } ], "invimages": [] }
{{Event | name = The Day Cloudius Forgot to Do the Wash | image = Tattered Cloudius 2021-06-04.png | image_caption = Oh boy, he's stinky | date = May 22, 2022 | location = The Sky Kingdom | participants = Cloudius and everyone else's noses | previous = Cloudius Wears All His Clothes | next = Cloudius Does the Wash }}