Template:Infobox Event: Difference between revisions
Template page
More languages
More actions
Content deleted Content added
Created the page |
No edit summary |
||
Line 11: | Line 11: | ||
| label2 = Event date |
| label2 = Event date |
||
| data2 = {{ |
| data2 = {{{event_date|}}} |
||
| {{#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 39: | Line 24: | ||
| label7 = Winner |
| label7 = Winner |
||
| data7 = {{winner|}} |
| data7 = {{{winner|}}} |
||
| label8 = Winners |
| label8 = Winners |
||
| data8 = {{winners|}} |
| data8 = {{{winners|}}} |
||
| label9 = Prize |
| label9 = Prize |
||
| data9 = {{prize|}} |
| data9 = {{{prize|}}} |
||
| label10 = Casualties |
| label10 = Casualties |
||
| data10 = {{casualties|}} |
| data10 = {{{casualties|}}} |
||
}} |
}} |
||
[[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", |
|||
"required": true |
|||
}, |
|||
"caption": { |
|||
"label": "Image caption", |
|||
"description": "A description for the provided picture" |
|||
}, |
|||
"organiser": { |
|||
"label": "Event organiser", |
|||
"description": "The person who organised / lead the event" |
|||
}, |
|||
"event_year": { |
|||
"label": "Event year", |
|||
"description": "The year, in which the event occurred" |
|||
}, |
|||
"event_month": {}, |
|||
"event_day": {}, |
|||
"location": { |
|||
"label": "Event location", |
|||
"description": "The place, where the event happened", |
|||
"required": true |
|||
}, |
|||
"participants": { |
|||
"label": "Participants", |
|||
"description": "List of people, who participated in the event", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"duration": { |
|||
"label": "Event duration", |
|||
"description": "The total duration of the event" |
|||
} |
|||
}, |
|||
"description": "This infobox describes any event that happened on Moxiecraft" |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
Revision as of 12:37, 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 | Unknown | optional |
Event organiser | organiser | The person who organised / lead the event | Unknown | optional |
Event year | event_year | The year, in which the event occurred | Unknown | optional |
event_month | event_month | no description | Unknown | optional |
event_day | event_day | no description | Unknown | optional |
Event location | location | The place, where the event happened | Unknown | required |
Participants | participants | List of people, who participated in the event | String | required |
Event duration | duration | The total duration of the event | Unknown | optional |