Template
Infobox Event
From Dogcraft Wiki
mNo edit summary |
m (Added a toggle for non-server events (allowing World to remain unfilled)) |
||
| Line 56: | Line 56: | ||
|data7 = {{{attendance|}}} | |data7 = {{{attendance|}}} | ||
|header8 = {{#if:{{{xcoord|}}}{{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}}{{{railway|}}}{{{nether|}}}|Event build|}} | |header8 = {{#if:{{{xcoord|}}}{{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}}{{{railway|}}}{{{nether|}}}|Event build|}} | ||
|label9 = World | |||
|data9 = {{#if: {{{nonserver|}}}||{{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> | }}[[Category:Events]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}]]|}}</includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
| Line 202: | Line 202: | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | |||
"nonserver": { | |||
"label": "Non-server", | |||
"description": "Toggle for events that do not happen ingame or on the Dogcraft Server. Toggling this will allow you to leave the World parameter blank", | |||
"example": "True or False", | |||
"type": "boolean" | |||
} | } | ||
}, | }, | ||
Latest revision as of 23:07, 27 January 2025
| Infobox Event | |
|---|---|
| Survival 4 | |
Caption | |
| 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 |
| Non-server | nonserver | Toggle for events that do not happen ingame or on the Dogcraft Server. Toggling this will allow you to leave the World parameter blank
| Boolean | optional |
