Jump to content

Form:Tournament: Difference between revisions

From Spike Wiki
>Kypho
Created page with "{{{for template|Tournament}}} {| class="formtable" ! Name || {{{field|Name|mandatory|default={{PAGENAME}}}}} ! Start date || {{{field|StartDate|input type=date}}} ! End date || {{{field|EndDate|input type=date}}} ! City || {{{field|City}}} ! Venue || {{{field|Venue}}} ! Organizer || {{{field|Organizer}}} ! Poster || {{{field|Poster|input type=upload}}} ! fwango.io (event page or master bracket) || {{{field|FwangoURL|input type=text|placeholder=https://fwango.io/...}}} |}..."
 
>Kypho
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{for template|Tournament}}}
{{{for template|Tournament}}}
{| class="formtable"
{| class="formtable"
! Name || {{{field|Name|mandatory|default={{PAGENAME}}}}}
! Name
! Start date || {{{field|StartDate|input type=date}}}
| {{{field|Name|mandatory|default={{PAGENAME}}|size=40}}}
! End date || {{{field|EndDate|input type=date}}}
|-
! City || {{{field|City}}}
! Dates
! Venue || {{{field|Venue}}}
| {{{field|StartDate|input type=date}}} {{{field|EndDate|input type=date}}}
! Organizer || {{{field|Organizer}}}
|-
! Poster || {{{field|Poster|input type=upload}}}
! City
! fwango.io (event page or master bracket) || {{{field|FwangoURL|input type=text|placeholder=https://fwango.io/...}}}
| {{{field|City|size=28}}}
|-
! Venue
| {{{field|Venue|size=28}}}
|-
! Organizer
| {{{field|Organizer|size=28}}}
|-
! Poster
| {{{field|Poster|input type=upload}}}
|-
! fwango.io
| {{{field|FwangoURL|input type=text|size=40|placeholder=https://fwango.io/...}}}
|}
|}
{{{end template}}}
{{{end template}}}


; Divisions (add one per Mode × Class)
; Divisions
{{{for template|Division|multiple|minimum instances=1|add button text=Add another division}}}
{{{for template|Division|multiple|minimum instances=1|add button text=Add division}}}
{| class="formtable"
{| class="formtable"
! Mode || {{{field|Mode|input type=combobox|values=Open,Women’s,Coed}}}
! Division
! Class || {{{field|Class|input type=combobox|values=Pro,Premier,Contender,Challenger}}}
| {{{field|Division
! Entrants || {{{field|EntrantsCount|input type=number|min=2}}}
    |input type=combobox
    |values=Open Pro,Women's Pro,Premier,Women's,Contender,Advanced,Intermediate,Beginner
    |placeholder=Type or pick (e.g., Open Pro)}}}
|-
! Entrants
| {{{field|EntrantsCount|input type=number|min=2|size=4}}}
|}
|}
{{{end template}}}
{{{end template}}}


; Podiums (repeat rows; supports shared 3rd)
 
{{{for template|Podium|multiple|add button text=Add podium row}}}
; Podiums
{{{for template|Podium|multiple|add button text=Add podium}}}
{| class="formtable"
{| class="formtable"
! Mode || {{{field|Mode|input type=combobox|values=Open,Women’s,Coed}}}
! Division
! Class || {{{field|Class|input type=combobox|values=Pro,Premier,Contender,Challenger}}}
| {{{field|Division
! Place || {{{field|Place|input type=combobox|values=1,2,3}}}
    |input type=combobox
! Team || {{{field|Team|input type=combobox}}}
    |values=Open Pro,Women's Pro,Premier,Women's,Contender,Advanced,Intermediate,Beginner
! Shared 3rd? || {{{field|SharedThird|input type=checkbox}}}
    |placeholder=Must match a division above}}}
|-
! Place
| {{{field|Place|input type=combobox|values=1,2,3}}}
|-
! Team (page or new name)
| {{{field|Team|input type=combobox|placeholder=Fowler/Doe or a team page}}}
|}
|}
{{{end template}}}
{{{end template}}}
{{{standard input|free text}}}
{{{end form}}}

Latest revision as of 03:31, 15 September 2025

Tournament

Name Name
Dates StartDate – EndDate
City City
Venue Venue
Organizer Organizer
Poster Poster
fwango.io FwangoURL

{{{end template}}}

Divisions

Division

Division Division
Entrants EntrantsCount

{{{end template}}}


Podiums

Podium

Division Division
Place Place
Team (page or new name) Team

{{{end template}}}