Template:Infobox Event: Difference between revisions
Template page
More languages
More actions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Skeleton Infobox | ||
| name = | | name = | ||
| title = {{{name|}}} | | title = {{{name|}}} | ||
| image | | image = {{#if:{{{image|}}} | ||
| [[File:{{{image}}}|300px]] | |||
| [[File:No-Image-Placeholder.svg|300px]] | |||
}} | |||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| header1 = Arrangement | | header1 = Arrangement | ||
| | | label2 = Organiser | ||
| | | data2 = {{{organiser|}}} | ||
| label3 = Event date | |||
| data3 = {{#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}}}}}}} | |||
| label4 = Location | |||
| data4 = {{{location|}}} | |||
| | | header5 = Results | ||
| | | label6 = Participants | ||
| data6 = {{{participants|}}} | |||
| | | label7 = Duration | ||
| | | data7 = {{{duration|}}} | ||
| | | label8 = Winner | ||
| | | data8 = {{{winner|}}} | ||
| label9 = Winners | |||
| data9 = {{{winners|}}} | |||
| | | label10 = Prize | ||
| | | data10 = {{{prize|}}} | ||
| | | label11 = Casualties | ||
| | | data11 = {{{casualties|}}} | ||
| | | label12 = Recurring | ||
| | | data12 = {{#ifeq:{{lc:{{{recurring|}}}}}|yes|Yes|No}} | ||
}} | }} | ||
[[Category:Events]]</includeonly> | [[Category:Events]]</includeonly> | ||
| Line 49: | Line 70: | ||
"description": "A picture that best describes the event", | "description": "A picture that best describes the event", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
" | "autovalue": "", | ||
"suggested": true | |||
}, | }, | ||
"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", | |||
"example": "{{playerhead|SiOtter}}" | |||
}, | }, | ||
"location": { | "location": { | ||
"label": "Event location", | "label": "Event location", | ||
"description": "The place, where the event happened", | "description": "The place, where the event happened", | ||
" | "type": "wiki-page-name", | ||
"suggested": true | |||
}, | }, | ||
"participants": { | "participants": { | ||
| Line 68: | Line 94: | ||
"description": "List of people, who participated in the event", | "description": "List of people, who participated in the event", | ||
"type": "string", | "type": "string", | ||
" | "example": "{{playerhead|Xeon}}, {{playerhead|Moxieskip}}, {{playerhead|Sweetcorm}}", | ||
"suggested": true | |||
}, | }, | ||
"duration": { | "duration": { | ||
"label": "Event duration", | "label": "Event duration", | ||
"description": "The total duration | "description": "The total duration of the event", | ||
"type": "string" | |||
"type": " | |||
}, | }, | ||
"winner": { | "winner": { | ||
"label": "Winner", | "label": "Winner", | ||
"description": "The winner of the event, if applicable", | "description": "The winner of the event, if applicable", | ||
"type": " | "type": "wiki-page-name" | ||
}, | }, | ||
"winners": { | "winners": { | ||
"label": "Winners", | "label": "Winners", | ||
"description": "The winners of the event, if applicable" | "description": "The winners of the event, if applicable", | ||
"type": "string" | |||
}, | }, | ||
"prize": { | "prize": { | ||
"label": "Event prize", | "label": "Event prize", | ||
"description": "The prize that the winner(s) got, if applicable" | "description": "The prize that the winner(s) got, if applicable", | ||
"type": "line" | |||
}, | }, | ||
"casualties": { | "casualties": { | ||
"label": "Casualties", | "label": "Casualties", | ||
"description": "List of casualties, if applicable" | "description": "List of casualties, if applicable", | ||
"type": "string" | |||
}, | |||
"event_year": { | |||
"label": "Event year", | |||
"description": "The year, when the event occurred", | |||
"type": "number" | |||
}, | |||
"event_month": { | |||
"label": "Event month", | |||
"description": "The month, on which the event occurred (numeric or short name like Jan, Mar, etc.)", | |||
"type": "line" | |||
}, | |||
"event_day": { | |||
"label": "Event day", | |||
"description": "The day, on which the event occurred", | |||
"type": "number" | |||
}, | |||
"recurring": { | |||
"label": "Recurring Event", | |||
"type": "string", | |||
"description": "Whether this is a recurring event or not", | |||
"example": "Yes, No", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
| Line 103: | Line 150: | ||
"image", | "image", | ||
"caption", | "caption", | ||
" | "event_day", | ||
"event_month", | |||
"event_year", | |||
"organiser", | "organiser", | ||
"location", | "location", | ||
| Line 111: | Line 160: | ||
"winners", | "winners", | ||
"prize", | "prize", | ||
"casualties" | "casualties", | ||
"recurring" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:06, 25 October 2026
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 | suggested |
| 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 | suggested |
| Participants | participants | List of people, who participated in the event
| String | suggested |
| 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 |
| Recurring Event | recurring | Whether this is a recurring event or not
| String | suggested |