Template:Infobox Event: Difference between revisions
Template page
More languages
More actions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
| 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}} | | {{#formatdate:{{{event_day}}}.{{#switch:{{#sub:{{lc:{{{event_month}}}}}|0|3}} | ||
| jan = 01 | | jan = 01 | ||
| Line 30: | Line 30: | ||
| {{padleft:{{{event_month}}}|2}} | | {{padleft:{{{event_month}}}|2}} | ||
}}.{{{event_year}}}}}}} | }}.{{{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 67: | 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": { | ||
| Line 83: | Line 87: | ||
"label": "Event location", | "label": "Event location", | ||
"description": "The place, where the event happened", | "description": "The place, where the event happened", | ||
"type": "wiki-page-name", | |||
"type": "wiki-page-name" | "suggested": true | ||
}, | }, | ||
"participants": { | "participants": { | ||
| Line 90: | 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}}", | |||
"example": "{{playerhead|Xeon}}, {{playerhead|Moxieskip}}, {{playerhead|Sweetcorm}}" | "suggested": true | ||
}, | }, | ||
"duration": { | "duration": { | ||
| Line 132: | Line 136: | ||
"description": "The day, on which the event occurred", | "description": "The day, on which the event occurred", | ||
"type": "number" | "type": "number" | ||
}, | |||
"recurring": { | |||
"label": "Recurring Event", | |||
"type": "string", | |||
"description": "Whether this is a recurring event or not", | |||
"example": "Yes, No", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
| Line 149: | 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 |