Template:EventTemp: Difference between revisions

From Karteria DWRP Wiki
Jump to navigationJump to search
Icie (talk | contribs)
No edit summary
Icie (talk | contribs)
No edit summary
Line 26: Line 26:
</noinclude><includeonly>{{#cargo_store:_table=Events}}{{#if: {{{PreviousEvent|}}} | '''Previous event:''' [[{{{PreviousEvent}}}]]. |}}{{#if: {{{PreviousEvent|}}}|{{#if:{{{NextEvent|}}}|<nowiki> </nowiki>|}}|}}{{#if: {{{NextEvent|}}} | '''Next event:''' {{#formredlink:form=Event|target={{{NextEvent}}}|}}.}}
</noinclude><includeonly>{{#cargo_store:_table=Events}}{{#if: {{{PreviousEvent|}}} | '''Previous event:''' [[{{{PreviousEvent}}}]]. |}}{{#if: {{{PreviousEvent|}}}|{{#if:{{{NextEvent|}}}|<nowiki> </nowiki>|}}|}}{{#if: {{{NextEvent|}}} | '''Next event:''' {{#formredlink:form=Event|target={{{NextEvent}}}|}}.}}


The {{{EventType}}} event on {{#dateformat:{{{EventDate}}}|ymd}} posted [{{{EventLink}}} here]{{#if: {{{EventOverflowLink}}} |<nowiki> </nowiki>([{{{EventOverflowLink}}} overflow])|}}. This was the event for {{#time:F Y|{{{EventDate}}}}}.
The [[:{{{EventType}}}|]] event on {{#dateformat:{{{EventDate}}}|ymd}} posted [{{{EventLink}}} here]{{#if: {{{EventOverflowLink}}} |<nowiki> </nowiki>([{{{EventOverflowLink}}} overflow])|}}. This was the event for {{#time:F Y|{{{EventDate}}}}}.


==[[FAQ]] Pages==
==[[FAQ]] Pages==

Revision as of 04:22, 10 January 2026

This is the "EventTemp" template.

It should be called in the following format:

{{EventTemp
|EventLink=
|EventType=
|EventDate=
|EventNumber=
|EventNumOfType=
|EventOverflowLink=
|FAQs=
|PreviousEvent=
|NextEvent=
|EventSections=
}}

Edit the page to see the template text.

This template defines the table "Events". View table.

Template documentation

A template for creating events

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Event IDEventID

A unique ID for this event

Example
Event_May2025
Stringrequired
Event NameEventName

The name of the event

Example
Test Drive Meme #1
Stringrequired
Event TypeEventType

The type of the event

Suggested values
Test Drive Meme Main Event
Example
Test Drive Meme/Main Event
Auto value
Main Event
Stringrequired
EventDateEventDate

The date of the event in ISO format eg: 2014-05-09

Datesuggested
EventLinkEventLink

The link where the event can be found

URLrequired
Section TitlesEventSections

The sections of the event

Stringoptional
PreviousEventPreviousEvent

no description

Page nameoptional
NextEventNextEvent

no description

Page nameoptional
EventOverflowLinkEventOverflowLink

no description

Unknownoptional
FAQsFAQs

no description

Unknownoptional