Template
Infobox Event
From Dogcraft Wiki
imported>Domino No edit summary |
mNo edit summary |
||
(19 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Infobox Event | |||
|image = Egg.png | |||
|caption = Caption | |||
|type = Example infobox | |||
|date = 35th April, 2037 | |||
|time = 13PM BST - 14AM BST | |||
|attendance = Over 10000 players | |||
|organizers = Aliens | |||
|activities = Lunch | |||
|world = Survival 4 | |||
|xcoord = 1000 | |||
|zcoord = 300 | |||
|teleport = /home mars | |||
|railway = SRN & TORN | |||
|nether = NTN | |||
|dimension = nether | |||
}} | |||
<pre> | <pre> | ||
{{Infobox Event | {{Infobox Event | ||
|image = Egg.png | |||
|image = | |caption = Caption | ||
|caption = | |type = Example infobox | ||
|type = | |date = 35th April, 2037 | ||
|date = | |time = 13PM BST - 14AM BST | ||
|time = | |attendance = Over 10000 players | ||
|attendance = | |organizers = Aliens | ||
|organizers = | |activities = Lunch | ||
|activities = | |world = Survival 4 | ||
|world = | |xcoord = 1000 | ||
|zcoord = 300 | |||
|teleport = /home mars | |||
|railway = SRN & TORN | |||
|nether = NTN | |||
| | |dimension = nether | ||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
</pre></noinclude><includeonly>{{Infobox2 | |||
[[Category:Events]] | |above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | ||
</ | |subheader = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | ||
|image = {{#if:{{{image2|}}}|{{#tag:gallery | |||
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}} | |||
{{{image2|}}}{{!}}{{{caption2|}}} | |||
{{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}} | |||
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}} | |||
|caption = {{#if:{{{image2|}}}||{{{caption|}}}}} | |||
|header1 = Event | |||
|label3 = Type | |||
|data3 = {{{type|}}} | |||
|label4 = Date | |||
|data4 = {{{date|}}}{{#if:{{{time|}}}|, {{{time|}}}|}} | |||
|label5 = Activities | |||
|data5 = {{{activities|}}} | |||
|label6 = Organizers | |||
|data6 = {{{organizers|}}} | |||
|label7 = Attendance | |||
|data7 = {{{attendance|}}} | |||
|header8 = {{#if:{{{xcoord|}}}{{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}}{{{railway|}}}{{{nether|}}}|Event build|}} | |||
|label9 = World | |||
|data9 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | |||
|label10 = Location | |||
|data10 = {{#if: {{{world|}}}{{{sur4subworld|}}}|{{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}}|}} | |||
|label11 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}} | |||
|data11 = {{#if: {{{world|}}}{{{sur4subworld|}}}|{{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}|}} | |||
|label12 = Transport | |||
|data12 = {{#if: {{{world|}}}{{{sur4subworld|}}}|{{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld transport|}}}|<br />{{{overworld transport|}}}}}|}} | |||
|label13 = Teleport | |||
|data13 = {{{teleport|}}} | |||
}}[[Category:Events]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}]]|}}</includeonly><noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "The name of the event", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "A main image of the event", | |||
"example": "Event.png", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "A caption for the image", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"world": { | |||
"label": "World", | |||
"description": "What world/season was the event held on?", | |||
"example": "Survival 4", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"teleport": { | |||
"label": "TP Command", | |||
"description": "Public home or warp", | |||
"example": "/phome event", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"organizers": { | |||
"label": "Organizers", | |||
"description": "Who organised the event", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"attendance": { | |||
"label": "Attendance", | |||
"description": "How well-attended was the event", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "What type of event was it", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"activities": { | |||
"label": "Activities", | |||
"description": "What activities occurred at the event", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"description": "When was the event held?", | |||
"type": "date", | |||
"required": true | |||
}, | |||
"time": { | |||
"label": "Time", | |||
"description": "At what time was the event held? Include timezone", | |||
"example": "1:00PM GMT", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"subworld": { | |||
"label": "Subworld", | |||
"description": "For servers/seasons with multiple worlds, such as Husky and Beagle", | |||
"example": "Sheltie, Retriever, Mall, Streamtown", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"sur4subworld": {}, | |||
"image2": {}, | |||
"caption2": {}, | |||
"image3": {}, | |||
"caption3": {}, | |||
"image4": {}, | |||
"caption4": {}, | |||
"xcoord": { | |||
"label": "X coordinates", | |||
"description": "The x coordinates of the event location", | |||
"example": "3210", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"dimension": { | |||
"label": "Dimension", | |||
"description": "Which dimension the event takes place in", | |||
"example": "Nether, Overworld", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"railway": { | |||
"label": "Railway", | |||
"description": "If connected to a railway network, the appropriate line or station", | |||
"example": "West Station", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"nether": { | |||
"label": "Nether Transport", | |||
"description": "If connected trough the nether, the appropriate stop", | |||
"example": "East Tunnel around 12000 blocks", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"ycoord": { | |||
"label": "Y coordinates", | |||
"description": "The y coordinates of the event location", | |||
"example": "1002", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"zcoord": { | |||
"label": "Z coordinates", | |||
"description": "The z coordinates of the event location", | |||
"example": "120", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"overworld transport": { | |||
"label": "Paths, Boats and other Overworld Transport", | |||
"description": "If reachable by (non-rail) overworld transport, such as a path or boat network", | |||
"example": "CSC West Port", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "An infobox for Events held on the Dogcraft Server", | |||
"format": "block" | |||
} | |||
</templatedata> |
Latest revision as of 13:46, 29 July 2024
Infobox Event | |
---|---|
Survival 4 | |
Event | |
Type | Example infobox |
Date | 35th April, 2037, 13PM BST - 14AM BST |
Activities | Lunch |
Organizers | Aliens |
Attendance | Over 10000 players |
Event build | |
World | Survival 4 |
Location | X= 1000 Z= 300 |
Dimension | nether |
Transport | SRN & TORN NTN |
Teleport | /home mars |
{{Infobox Event |image = Egg.png |caption = Caption |type = Example infobox |date = 35th April, 2037 |time = 13PM BST - 14AM BST |attendance = Over 10000 players |organizers = Aliens |activities = Lunch |world = Survival 4 |xcoord = 1000 |zcoord = 300 |teleport = /home mars |railway = SRN & TORN |nether = NTN |dimension = nether }}
An infobox for Events held on the Dogcraft Server
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The name of the event | String | required |
Image | image | A main image of the event
| File | suggested |
Caption | caption | A caption for the image | String | suggested |
World | world | What world/season was the event held on?
| String | required |
TP Command | teleport | Public home or warp
| String | suggested |
Organizers | organizers | Who organised the event | String | required |
Attendance | attendance | How well-attended was the event | String | suggested |
Type | type | What type of event was it | String | required |
Activities | activities | What activities occurred at the event | String | suggested |
Date | date | When was the event held? | Date | required |
Time | time | At what time was the event held? Include timezone
| String | suggested |
Subworld | subworld | For servers/seasons with multiple worlds, such as Husky and Beagle
| String | suggested |
sur4subworld | sur4subworld | no description | Unknown | optional |
image2 | image2 | no description | Unknown | optional |
caption2 | caption2 | no description | Unknown | optional |
image3 | image3 | no description | Unknown | optional |
caption3 | caption3 | no description | Unknown | optional |
image4 | image4 | no description | Unknown | optional |
caption4 | caption4 | no description | Unknown | optional |
X coordinates | xcoord | The x coordinates of the event location
| Number | suggested |
Dimension | dimension | Which dimension the event takes place in
| String | suggested |
Railway | railway | If connected to a railway network, the appropriate line or station
| String | suggested |
Nether Transport | nether | If connected trough the nether, the appropriate stop
| String | suggested |
Y coordinates | ycoord | The y coordinates of the event location
| Number | suggested |
Z coordinates | zcoord | The z coordinates of the event location
| Number | suggested |
Paths, Boats and other Overworld Transport | overworld transport | If reachable by (non-rail) overworld transport, such as a path or boat network
| String | suggested |