Difference between revisions of "Template:Event"

From Pandorabox
Jump to navigation Jump to search
(Fix start/end dates)
(Better info table structure, no nested tables)
 
(One intermediate revision by one other user not shown)
Line 19: Line 19:
 
|[[User:{{{contact}}}|{{{contact}}}]]
 
|[[User:{{{contact}}}|{{{contact}}}]]
  
 +
|-
 +
!colspan="10" style="margin: 0; padding: 6px; background: green"|
 
|- {{#if: {{{start|}}} | | style="display: none;" }}
 
|- {{#if: {{{start|}}} | | style="display: none;" }}
!colspan="10" style="margin: 0; padding: 0; background: green"|
+
! Start:
  {| class="wikitable" style="margin: 1em 0 0 0; padding: 0;"
+
! End:
  ! Start:
+
|- {{#if: {{{start|}}} | | style="display: none;" }}
  ! End:
+
|{{{start}}}
  |-
+
|{{{end}}}
  | {{{start}}}
 
  | {{{end}}}
 
  |}
 
|-
 
  
!colspan="2"|{{{directions|{{Label|text=/spawn|color=brown}} → {{Label|text=Earth|color=brown}} → {{Label|text=Minigames|color=green}} }}}
+
|-
 +
!colspan="10"|{{{directions|{{Label|text=/spawn|color=brown}} → {{Label|text=Earth|color=brown}} → {{Label|text=Minigames|color=green}} }}}
  
 
|}
 
|}
Line 38: Line 37:
 
{{{info}}} | }}
 
{{{info}}} | }}
  
=== Event timetable and prizes ===
+
=== Event timetable ===
  
 
{| class="wikitable" style="margin: 1em 0 0 0;"
 
{| class="wikitable" style="margin: 1em 0 0 0;"

Latest revision as of 11:02, 17 September 2023

Halloween Party
Rules icon.png
Map 0/-1799.5/399/10
Theme Halloween
Contact SX
Start: End:
Tuesday, October 1 Saturday, October 31
/spawnEarthMinigames

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/> | }}