Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Event: Difference between revisions

Template page
More languages
Content deleted Content added
Created the page
 
No edit summary
Line 11: Line 11:


| label2 = Event date
| label2 = Event date
| data2 = {{#if:{{{event_year|}}}{{{event_month|}}}{{{event_day|}}}
| 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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Event namename

The name of the event

Linerequired
Pictureimage

A picture that best describes the event

Filerequired
Image captioncaption

A description for the provided picture

Unknownoptional
Event organiserorganiser

The person who organised / lead the event

Unknownoptional
Event yearevent_year

The year, in which the event occurred

Unknownoptional
event_monthevent_month

no description

Unknownoptional
event_dayevent_day

no description

Unknownoptional
Event locationlocation

The place, where the event happened

Unknownrequired
Participantsparticipants

List of people, who participated in the event

Stringrequired
Event durationduration

The total duration of the event

Unknownoptional