Template:Infobox Event: Difference between revisions
Template page
More languages
More actions
Created the page |
No edit summary |
||
| (12 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}} | | {{#formatdate:{{{event_day}}}.{{#switch:{{#sub:{{lc:{{{event_month}}}}}|0|3}} | ||
| jan = 01 | | jan = 01 | ||
| Line 27: | 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> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Event name", | |||
"description": "The name of the event", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Picture", | |||
"description": "A picture that best describes the event", | |||
"type": "wiki-file-name", | |||
"autovalue": "", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"label": "Image caption", | |||
"description": "A description for the provided picture", | |||
"type": "line" | |||
}, | |||
"organiser": { | |||
"label": "Event organiser", | |||
"description": "The person who organised / lead the event", | |||
"type": "wiki-page-name", | |||
"example": "{{playerhead|SiOtter}}" | |||
}, | |||
"location": { | |||
"label": "Event location", | |||
"description": "The place, where the event happened", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"participants": { | |||
"label": "Participants", | |||
"description": "List of people, who participated in the event", | |||
"type": "string", | |||
"example": "{{playerhead|Xeon}}, {{playerhead|Moxieskip}}, {{playerhead|Sweetcorm}}", | |||
"suggested": true | |||
}, | |||
"duration": { | |||
"label": "Event duration", | |||
"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" | |||
}, | |||
"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 | |||
} | |||
}, | |||
"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", | |||
"recurring" | |||
] | |||
} | |||
</templatedata> | |||
</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 |