Template:Infobox Event: Difference between revisions
Template page
More languages
More actions
Content deleted Content added
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
| label2 = Event date |
| label2 = Event date |
||
| data2 = {{{ |
| data2 = {{#if:{{{event_year|}}}{{{event_month|}}}{{{event_day|}}} |
||
| {{#formatdate:{{{event_day}}}.{{#switch:{{#sub:{{lc:{{{event_month}}}}}|0|3}} |
|||
| jan = 01 |
|||
| feb = 02 |
|||
| mar = 03 |
|||
| apr = 04 |
|||
| may = 05 |
|||
| jun = 06 |
|||
| jul = 07 |
|||
| aug = 08 |
|||
| sep = 09 |
|||
| oct = 10 |
|||
| nov = 11 |
|||
| dec = 12 |
|||
| {{padleft:{{{event_month}}}|2}} |
|||
}}.{{{event_year}}}}}}} |
|||
| label3 = Location |
| label3 = Location |
||
| data3 = {{{location|}}} |
| data3 = {{{location|}}} |
||
Line 53: | Line 68: | ||
"caption": { |
"caption": { |
||
"label": "Image caption", |
"label": "Image caption", |
||
"description": "A description for the provided picture" |
"description": "A description for the provided picture", |
||
"type": "line" |
|||
}, |
}, |
||
"organiser": { |
"organiser": { |
||
"label": "Event organiser", |
"label": "Event organiser", |
||
"description": "The person who organised / lead the event" |
"description": "The person who organised / lead the event", |
||
"type": "wiki-page-name" |
|||
}, |
}, |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"location": { |
"location": { |
||
"label": "Event location", |
"label": "Event location", |
||
"description": "The place, where the event happened", |
"description": "The place, where the event happened", |
||
"required": true |
"required": true, |
||
"type": "wiki-page-name" |
|||
}, |
}, |
||
"participants": { |
"participants": { |
||
Line 78: | Line 90: | ||
"duration": { |
"duration": { |
||
"label": "Event duration", |
"label": "Event duration", |
||
"description": "The total duration of the event" |
"description": "The total duration of the event", |
||
"type": "string" |
|||
⚫ | |||
"winner": { |
|||
"label": "Winner", |
|||
"description": "The winner of the event, if applicable", |
|||
"type": "wiki-page-name" |
|||
}, |
|||
"winners": { |
|||
"label": "Winners", |
|||
"description": "The winners of the event, if applicable", |
|||
"type": "string" |
|||
}, |
|||
"prize": { |
|||
"label": "Event prize", |
|||
"description": "The prize that the winner(s) got, if applicable", |
|||
"type": "line" |
|||
}, |
|||
"casualties": { |
|||
"label": "Casualties", |
|||
"description": "List of casualties, if applicable", |
|||
"type": "string" |
|||
}, |
|||
⚫ | |||
⚫ | |||
"description": "The year, when the event occurred", |
|||
"type": "number" |
|||
}, |
|||
⚫ | |||
"label": "Event month", |
|||
"description": "The month, on which the event occurred (numeric or short name like Jan, Mar, etc.)", |
|||
"type": "line" |
|||
}, |
|||
⚫ | |||
"label": "Event day", |
|||
⚫ | |||
"type": "number" |
|||
} |
} |
||
}, |
}, |
||
"description": "This infobox describes any event that happened on Moxiecraft" |
"description": "This infobox describes any event that happened on Moxiecraft", |
||
"paramOrder": [ |
|||
"name", |
|||
"image", |
|||
"caption", |
|||
"event_day", |
|||
"event_month", |
|||
"event_year", |
|||
"organiser", |
|||
"location", |
|||
"participants", |
|||
"duration", |
|||
"winner", |
|||
"winners", |
|||
"prize", |
|||
"casualties" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
Latest revision as of 12:47, 3 August 2025
This infobox describes any event that happened on Moxiecraft
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event name | name | The name of the event | Line | required |
Picture | image | A picture that best describes the event | File | required |
Image caption | caption | A description for the provided picture | Line | optional |
Event day | event_day | The day, on which the event occurred | Number | optional |
Event month | event_month | The month, on which the event occurred (numeric or short name like Jan, Mar, etc.) | Line | optional |
Event year | event_year | The year, when the event occurred | Number | optional |
Event organiser | organiser | The person who organised / lead the event | Page name | optional |
Event location | location | The place, where the event happened | Page name | required |
Participants | participants | List of people, who participated in the event | String | required |
Event duration | duration | The total duration of the event | String | optional |
Winner | winner | The winner of the event, if applicable | Page name | optional |
Winners | winners | The winners of the event, if applicable | String | optional |
Event prize | prize | The prize that the winner(s) got, if applicable | Line | optional |
Casualties | casualties | List of casualties, if applicable | String | optional |