Template:Event/doc: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
m (Diamondback88 moved page Template:Infobox event/doc to Template:Event/doc)
No edit summary
Line 1: Line 1:
{{Infobox
{{Documentation header}}
|above = {{{name}}}
 
|image = [[File:{{{image}}}]]
<pre style="display:table">
|caption = {{{image_caption}}}
{{Event
| label1 = Date
| name =
| data1 = {{{date}}}
| image =
| label2 = Location
| image_caption =
| data2 = {{{location}}}
| date =
| label3 = Participants
| location =
| data3 = {{{participants}}}
| participants =
| data4 = Timeline
| previous =
| label5 = Preceded by
| next =
| data5 = {{{previous}}}
| label6 = Followed by
| data6 = {{{next}}}
}}
}}
</pre>
<templatedata>
<templatedata>
{
{
Line 82: Line 81:
}
}
</templatedata>
</templatedata>
== Examples ==
=== Everything ===
<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>

Revision as of 02:59, 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.

Template parameters

ParameterDescriptionTypeStatus
Event namename

Will automatically enter based on page name

Example
Space Station Mission
Lineoptional
Imageimage

Refers to the image file stored on the wiki.

Default
ParallelLogo.png
Filesuggested
Image captionimage_caption

An optional caption for the image.

Lineoptional
Datedate

The date or period of time during which the event occurred. Try to use MDY format (e.g., April 1, 2022)

Linesuggested
Locationlocation

The location of the event.

Example
Shopping District
Linesuggested
Participantsparticipants

Participants in the event (usually NPCs).

Linesuggested
Preceded byprevious

The previous event.

Linesuggested
Followed bynext

The next event.

Linesuggested

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
}}