Template:EventHelper/doc: Difference between revisions

From Karteria DWRP Wiki
Jump to navigationJump to search
Icie (talk | contribs)
No edit summary
Icie (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
"suggestedvalues": [
"suggestedvalues": [
"Category:Test Drive Meme",
"Category:Test Drive Meme",
"Category:Main_Event"
"Category:Main Event"
],
],
"required": true,
"required": true
"suggested": true
},
},
"startdate": {
"startdate": {
Line 24: Line 23:
},
},
"link": {
"link": {
"aliases": [
"Event Page URL"
],
"type": "url",
"type": "url",
"suggested": true
"label": "Event Page URL",
"description": "URL of the journal page for the event",
"required": true
},
},
"overflow_link": {
"overflow_link": {
"aliases": [
"type": "url",
"Overflow URL"
"label": "Overflow URL",
],
"description": "URL for the journal page of the overflow entry if one exists"
"type": "url"
},
},
"faq_pages": {
"faq_pages": {
Line 40: Line 37:
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Event FAQ, Pre Event FAQ",
"{{subst:PAGENAME}}/Event FAQ, {{subst:PAGENAME}}/Pre Event FAQ",
"Event FAQ"
"{{subst:PAGENAME}}/Event FAQ"
]
],
"required": true
},
},
"EventSections": {
"EventSections": {
Line 48: Line 46:
"description": "The titles of the main sections of the event",
"description": "The titles of the main sections of the event",
"example": "I. INITIATION",
"example": "I. INITIATION",
"type": "string"
"type": "string",
"required": true
}
}
},
},
Line 59: Line 58:
"faq_pages",
"faq_pages",
"EventSections"
"EventSections"
]
],
"description": "A template used to define an event."
}
}
</templatedata>
</templatedata>

Latest revision as of 02:12, 10 January 2026

A template used to define an event.

Template parameters

ParameterDescriptionTypeStatus
Type of Eventtype

no description

Suggested values
Category:Test Drive Meme Category:Main Event
Stringrequired
startdatestartdate

no description

Daterequired
Event Numbernumber

no description

Auto value
{{subst:#cargo_query: tables=Events |fields=MAX(Events.EventNumber) + 1 }}
Numberrequired
Event Page URLlink

URL of the journal page for the event

URLrequired
Overflow URLoverflow_link

URL for the journal page of the overflow entry if one exists

URLoptional
FAQ Pagesfaq_pages

no description

Suggested values
{{subst:PAGENAME}}/Event FAQ, {{subst:PAGENAME}}/Pre Event FAQ {{subst:PAGENAME}}/Event FAQ
Stringrequired
Event SectionsEventSections

The titles of the main sections of the event

Example
I. INITIATION
Stringrequired