More actions
No edit summary |
No edit summary |
||
| Line 30: | Line 30: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"description": "Event name", | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"description": "Event image" | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"type": "string", | |||
"description": "When the event occurred" | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"type": "string", | |||
"description": "Where the event took place" | |||
}, | |||
"series": { | |||
"label": "Series", | |||
"type": "string", | |||
"description": "Which series this event is from", | |||
"suggestedvalues": ["Rift SMP", "Ruinous Sands", "Tropical Island Civ"] | |||
} | |||
}, | |||
"description": "Infobox for event pages", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Revision as of 08:58, 5 April 2026
Infobox event
Usage
{{Infobox event
|name=
|image=
|date=
|location=
|series=
}}
Infobox for event pages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Event name
| String | optional |
| Image | image | Event image | File | optional |
| Date | date | When the event occurred | String | optional |
| Location | location | Where the event took place | String | optional |
| Series | series | Which series this event is from
| String | optional |