Difference between revisions of "Template:Event"
Jump to navigation
Jump to search
(Created page with "<includeonly> {| class="wikitable" style="float:right;" !colspan="10" style="background:green;"| {{{name}}} |- !colspan="10"|[[File:{{{preview|Poi_big.png}}}|240px]] |- {{#i...") |
(Better info table structure, no nested tables) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
+ | [[Category:Events]] | ||
{| class="wikitable" style="float:right;" | {| class="wikitable" style="float:right;" | ||
!colspan="10" style="background:green;"| {{{name}}} | !colspan="10" style="background:green;"| {{{name}}} | ||
|- | |- | ||
− | !colspan="10"|[[File:{{{preview| | + | !colspan="10"|{{#if: {{{preview}}} | [[File:{{{preview|Rules_icon.png}}}|240px]] | }} |
|- {{#if: {{{maplocation|}}} | | style="display: none;" }} | |- {{#if: {{{maplocation|}}} | | style="display: none;" }} | ||
|Map | |Map | ||
|[https://pandorabox.io/map/#{{{maplocation}}} {{{maplocation}}}] | |[https://pandorabox.io/map/#{{{maplocation}}} {{{maplocation}}}] | ||
+ | |||
+ | |- {{#if: {{{theme|}}} | | style="display: none;" }} | ||
+ | |Theme | ||
+ | |{{{theme}}} | ||
|- {{#if: {{{contact|}}} | | style="display: none;" }} | |- {{#if: {{{contact|}}} | | style="display: none;" }} | ||
Line 14: | Line 19: | ||
|[[User:{{{contact}}}|{{{contact}}}]] | |[[User:{{{contact}}}|{{{contact}}}]] | ||
+ | |- | ||
+ | !colspan="10" style="margin: 0; padding: 6px; background: green"| | ||
+ | |- {{#if: {{{start|}}} | | style="display: none;" }} | ||
+ | ! Start: | ||
+ | ! End: | ||
|- {{#if: {{{start|}}} | | style="display: none;" }} | |- {{#if: {{{start|}}} | | style="display: none;" }} | ||
− | + | |{{{start}}} | |
− | + | |{{{end}}} | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
+ | !colspan="10"|{{{directions|{{Label|text=/spawn|color=brown}} → {{Label|text=Earth|color=brown}} → {{Label|text=Minigames|color=green}} }}} | ||
+ | |||
|} | |} | ||
__TOC__ | __TOC__ | ||
− | === Event | + | {{#if: {{{info|}}} | === {{{name|Event}}} event description === |
+ | {{{info}}} | }} | ||
− | {| class="wikitable" | + | === Event timetable === |
+ | |||
+ | {| class="wikitable" style="margin: 1em 0 0 0;" | ||
! Start: | ! Start: | ||
! Deadline: | ! Deadline: | ||
|- | |- | ||
− | | | + | | {{{start}}} |
− | | | + | | {{{end}}} |
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</includeonly> | </includeonly> | ||
Line 47: | Line 52: | ||
|name=Halloween Party | |name=Halloween Party | ||
|maplocation=0/-1799.5/399/10 | |maplocation=0/-1799.5/399/10 | ||
+ | |info=Make a Haunted house, add any creative spooky thing you can think of. Make it the scariest house in the server! | ||
+ | |theme=Halloween | ||
|start=Tuesday, October 1 | |start=Tuesday, October 1 | ||
|end=Saturday, October 31 | |end=Saturday, October 31 | ||
Line 61: | Line 68: | ||
{{Event | {{Event | ||
|name=Halloween Party | |name=Halloween Party | ||
+ | |theme=Halloween | ||
|maplocation=0/-1799.5/399/10 | |maplocation=0/-1799.5/399/10 | ||
+ | |info=Make a Haunted house, add any creative spooky thing you can think of. Make it the scariest house in the server! | ||
|start=Tuesday, October 1 | |start=Tuesday, October 1 | ||
|end=Saturday, October 31 | |end=Saturday, October 31 | ||
|contact=SX | |contact=SX | ||
}} | }} | ||
+ | </pre> | ||
+ | |||
+ | Optional parameters | ||
+ | <pre> | ||
+ | |theme=Halloween | ||
+ | |maplocation=0/-1799.5/399/10 | ||
+ | |preview=Rules_icon.png | ||
+ | |directions={{Label|text=/spawn|color=brown}} → {{Label|text=Earth|color=brown}} → {{Label|text=Minigames|color=green}} | ||
+ | |contact=SX | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | This is not working at all... | ||
+ | {{ #foreach: $n$_prize | $n$_prize = {{{$n$_prize}}}<br/> | }} | ||
</pre> | </pre> | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:02, 17 September 2023
Halloween Party | |||||||||
---|---|---|---|---|---|---|---|---|---|
Map | 0/-1799.5/399/10 | ||||||||
Theme | Halloween | ||||||||
Contact | SX | ||||||||
Start: | End: | ||||||||
Tuesday, October 1 | Saturday, October 31 | ||||||||
/spawn → Earth → Minigames |
Halloween Party event description
Make a Haunted house, add any creative spooky thing you can think of. Make it the scariest house in the server!
Event timetable
Start: | Deadline: |
---|---|
Tuesday, October 1 | Saturday, October 31 |
Include example
From Top Of My Head
{{Event |name=Halloween Party |theme=Halloween |maplocation=0/-1799.5/399/10 |info=Make a Haunted house, add any creative spooky thing you can think of. Make it the scariest house in the server! |start=Tuesday, October 1 |end=Saturday, October 31 |contact=SX }}
Optional parameters
|theme=Halloween |maplocation=0/-1799.5/399/10 |preview=Rules_icon.png |directions={{Label|text=/spawn|color=brown}} → {{Label|text=Earth|color=brown}} → {{Label|text=Minigames|color=green}} |contact=SX
This is not working at all... {{ #foreach: $n$_prize | $n$_prize = {{{$n$_prize}}}<br/> | }}