Template:Event: Difference between revisions
From Nova Online Wiki
Jump to navigationJump to search
(Created page with "<infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"> <default>Temp.png</default> </image> <data source="Time"> <label>Date</label> </data> <data source="Cause"> <label>Cause</label> </data> <data source="Effect"> <label>Effect</label> </data> <data source="Involved"> <label>People involved</label> </data> </infobox> <noinclude> <templatedata> { "description": "An infobox for events.", "params": {...") |
No edit summary |
||
Line 22: | Line 22: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "An infobox for events.", | |||
"params": { | |||
"title": { | |||
"label": "title", | |||
"description": "What the event was called.", | |||
"type": "string", | |||
"required": true, | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "image", | |||
"description": "Image of said event.", | |||
"type": "wiki-file-name", | |||
"required": false, | |||
"default": "Temp.png" | |||
}, | |||
"Time": { | |||
"label": "Time", | |||
"description": "The date the event happened", | |||
"type": "string", | |||
"required": false, | |||
"default": "nil" | |||
}, | |||
"Cause": { | |||
"label": "Cause", | |||
"description": "Cause of the event.", | |||
"type": "string", | |||
"required": false, | |||
"default": "nil" | |||
}, | |||
"Effect": { | |||
"label": "Effect", | |||
"description": "The aftermath of the event.", | |||
"type": "string", | |||
"required": false, | |||
"default": "nil" | |||
}, | |||
"Involved": { | |||
"label": "People involved", | |||
"description": "People involved with the event.", | |||
"type": "string", | |||
"required": false, | |||
"default": "nil" | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 00:08, 13 April 2024
An infobox for events.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | What the event was called.
| String | required |
image | image | Image of said event.
| File | optional |
Time | Time | The date the event happened
| String | optional |
Cause | Cause | Cause of the event.
| String | optional |
Effect | Effect | The aftermath of the event.
| String | optional |
People involved | Involved | People involved with the event.
| String | optional |