Page MenuHomePhabricator

Tournament bracket syntax
Closed, DeclinedPublic

Description

Author: kelvSYC

Description:
We should have an interface for easily providing a graphical representation of
tournament brackets, such as those used in sporting or gaming competitions.
This would be preferred over a textual description (a picture is worth a
thousand words...)

A basic syntax (based on EasyTimeline syntax) could be as follows:
<bracket>
TeamData =
id:FOO name:foo
id:BAR name:bar
id:BAZ name:baz

MatchData =
id:SF num:2 team1:FOO team2:BAR winner:FOO
id:F num:2 team1:SF team2:BAZ
</bracket>

This would create a bracket where foo plays bar, with the winner (foo) playing
baz. Additional markup may allow for other annotations such as scores, a link
to the match summary, footnotes, etc.

This bracket extension would be heavily based on developments in image
generation or SVG (not knowing how far either has gone, I am admittedly not
aware of the feasibility of this extension).


Version: unspecified
Severity: normal

Details

Reference
bz4934

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:04 PM
bzimport set Reference to bz4934.
bzimport added a subscriber: Unknown Object (MLST).

There is little point doing an extension for this

Do a SVG yourself and upload it

(In reply to comment #1)

There is little point doing an extension for this

Do a SVG yourself and upload it

There's a much higher threshold for marking an extension request as "wontfix." In this case, an obvious benefit to an HTML output of a bracket is much easier updating/localization than an SVG. An extension also allows for much, much easier standardization of brackets between pages.

I'm not re-opening this as the proposed syntax/implementation makes me shudder in horror and subsequent template developments have made brackets in HTML tables much easier (e.g., http://en.wikipedia.org/wiki/Category:Tournament_bracket_templates).