Template:EventHelper: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly> | ||
{{EventTemp | |||
|EventID={{Event|{{{startdate|}}}}} | |||
|EventName={{Event|{{{startdate|}}}}} | |||
}} | |EventType=Category: {{{type|}}} | ||
|EventDate={{{startdate|}}} | |||
|EventLink= {{{link|}}} | |||
|PreviousEvent={{#ifeq: {{{number}}} | 1 | | {{Event|num={{#expr: {{{number}}} - 1}} }}}} | |||
}} | |NextEvent={{Event|num={{#expr: {{{number}}} + 1}}}} | ||
|EventOverflowLink={{{overflow_link|}}} | |||
|FAQs={{#arraymap:{{{faq_pages|}}}|,|xx|{{PAGENAME}}/xx}} | |||
|EventSections={{{EventSections|}}} | |||
|EventNumber={{{number}}} | |||
|EventNumOfType={{#if:{{{number|}}}|{{#expr: floor({{{number}}} + 1 / 2)}}|}} | |||
}}</includeonly><noinclude>{{Documentation}} | |||
</noinclude> | |||
}} | |||
}} | |||
}}</includeonly><noinclude> | |||
{{Documentation}}</noinclude> | |||
Latest revision as of 04:21, 10 January 2026
A template used to define an event.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type of Event | type | no description
| String | required |
| startdate | startdate | no description | Date | required |
| Event Number | number | no description
| Number | required |
| Event Page URL | link | URL of the journal page for the event | URL | required |
| Overflow URL | overflow_link | URL for the journal page of the overflow entry if one exists | URL | optional |
| FAQ Pages | faq_pages | no description
| String | required |
| Event Sections | EventSections | The titles of the main sections of the event
| String | required |