Template:EventHelper/doc: Difference between revisions

From Karteria DWRP Wiki
Jump to navigationJump to search
Icie (talk | contribs)
Created page with " <templatedata> { "params": { "type": {}, "startdate": {}, "number": {}, "link": {}, "overflow_link": {}, "faq_pages": {}, "EventSections": {} } } </templatedata>"
 
Icie (talk | contribs)
No edit summary
Line 3: Line 3:
{
{
"params": {
"params": {
"type": {},
"type": {
"startdate": {},
"label": "Type of Event",
"number": {},
"type": "string",
"link": {},
"suggestedvalues": [
"overflow_link": {},
"Category:Test Drive Meme",
"faq_pages": {},
"Category:Main_Event"
"EventSections": {}
],
}
"required": true,
"suggested": true
},
"startdate": {
"type": "date",
"required": true
},
"number": {
"label": "Event Number",
"type": "number",
"autovalue": "{{subst:#cargo_query: tables=Events |fields=MAX(Events.EventNumber) + 1 }}",
"required": true
},
"link": {
"aliases": [
"Event Page URL"
],
"type": "url",
"suggested": true
},
"overflow_link": {
"aliases": [
"Overflow URL"
],
"type": "url"
},
"faq_pages": {
"label": "FAQ Pages",
"type": "string",
"suggestedvalues": [
"Event FAQ, Pre Event FAQ",
"Event FAQ"
]
},
"EventSections": {
"label": "Event Sections",
"description": "The titles of the main sections of the event",
"example": "I. INITIATION",
"type": "string"
}
},
"paramOrder": [
"type",
"startdate",
"number",
"link",
"overflow_link",
"faq_pages",
"EventSections"
]
}
}
</templatedata>
</templatedata>

Revision as of 01:38, 10 January 2026

No description.

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
linklink Event Page URL

no description

URLsuggested
overflow_linkoverflow_link Overflow URL

no description

URLoptional
FAQ Pagesfaq_pages

no description

Suggested values
Event FAQ, Pre Event FAQ Event FAQ
Stringoptional
Event SectionsEventSections

The titles of the main sections of the event

Example
I. INITIATION
Stringoptional