Template:EventTemp: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
The {{{EventType}}} event on {{#dateformat:{{{EventDate}}}|ymd}} posted [{{{EventLink}}} here]{{#if: {{{EventOverflowLink}}} | ([{{{EventOverflowLink}}} overflow])|}}. This was the event for {{#time:F Y|{{{EventDate}}}}}. | The {{{EventType}}} event on {{#dateformat:{{{EventDate}}}|ymd}} posted [{{{EventLink}}} here]{{#if: {{{EventOverflowLink}}} | ([{{{EventOverflowLink}}} overflow])|}}. This was the event for {{#time:F Y|{{{EventDate}}}}}. | ||
==[[FAQ]]== | ==[[FAQ]] Pages== | ||
{{#arraymap:{{{FAQs|}}}|,|tk|{{#formredlink:form=FAQPage|link text=tk|existing page link text=tk|target={{PAGENAME}}/tk}} }} | {{#arraymap:{{{FAQs|}}}|,|tk|{{#formredlink:form=FAQPage|link text=tk|existing page link text=tk|target={{PAGENAME}}/tk}} }} | ||
Full questions [[#FAQ Questions| here]] | |||
<div class="mw-collapsible"> | <div class="mw-collapsible"> | ||
| Line 36: | Line 37: | ||
</div> | </div> | ||
==FAQ Questions== | |||
{{QuestionQuery|FAQ Page|{{{FAQs}}}}} | |||
[[Category:Event]] | [[Category:Event]] | ||
[[Category:{{{EventType}}}]]</includeonly><noinclude>{{/doc}}</noinclude> | [[Category:{{{EventType}}}]]</includeonly><noinclude>{{/doc}}</noinclude> | ||
Revision as of 09:09, 17 December 2025
This is the "EventTemp" template.
It should be called in the following format:
{{EventTemp
|EventLink=
|EventType=
|EventDate=
|EventNumber=
|EventOverflowLink=
|FAQs=
|PreviousEvent=
|NextEvent=
|EventSections=
}}
Edit the page to see the template text.
This template defines the table "Events". View table.
A template for creating events
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Event ID | EventID | A unique ID for this event
| String | required |
| Event Name | EventName | The name of the event
| String | required |
| Event Type | EventType | The type of the event
| String | required |
| EventDate | EventDate | The date of the event in ISO format eg: 2014-05-09 | Date | suggested |
| EventLink | EventLink | The link where the event can be found | URL | required |
| Section Titles | EventSections | The sections of the event | String | optional |
| PreviousEvent | PreviousEvent | no description | Page name | optional |
| NextEvent | NextEvent | no description | Page name | optional |
| EventOverflowLink | EventOverflowLink | no description | Unknown | optional |
| FAQs | FAQs | no description | Unknown | optional |