Template:Event/doc: Difference between revisions
creating doc page |
changed template data |
||
| Line 1: | Line 1: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Displays a compact event card for use on club pages and the Main Page.", | |||
"params": { | |||
"name": { | |||
"label": "Event name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"organizers": { | |||
"label": "Organizers", | |||
"type": "string", | |||
"required": false, | |||
"description": "The organizer, whether it's an individual, org, or department. Wikilink if possible. " | |||
}, | |||
"place": { | |||
"label": "Place", | |||
"type": "string", | |||
"required": false, | |||
"description": "Location of the event, wikilinked if possible", | |||
"example": "[[Rocky]] 300" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Image filename (e.g. Flyer.png), without the File: prefix.", | |||
"type": "wiki-file-name", | |||
"required": false | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"type": "date", | |||
"required": true | |||
}, | |||
"time": { | |||
"label": "Time", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"description", | |||
"organizers", | |||
"date", | |||
"time", | |||
"place", | |||
"image" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||