The MSTW Bracket Builder plugin supports the following shortcodes:
Tournament Brackets
[mstw_tourney_bracket tourney='tourney-slug']
generates a tournament ‘bracket’ (or ‘knockout round’) in graphical format as show below. The shortcode’s arguments are described in the following paragraphs.
Shortcode Arguments
date_format
. The format of dates may be defined as a standard PHP date() format string. For example,date_format="l, F j"
, results in dates like “Thursday, April 7”. The default is “Thu, 07 Apr 2016”.time_format
. The format of times may be defined as a standard PHP date() format string. For example,time_format="g:i A"
, results in times like “1:05 PM”. The default is “13:05”.tba
. The abbreviation for “to be announced” game times may be set with this argument. (The default is “TBA”.) For example,tba="T.B.D."
, results in “to be announced” times like “T.B.D.”team_format
. (Available in premium version.) For teams in the MSTW League Manager Teams Table. Options areteam_format="title|name|short-name|mascot|name_mascot|logo|logo-name|logo-mascot|logo-name-mascot"
. Default islogo-name
.location_format
. (Available in premium version.) For locations in the MSTW League Manager Teams Table. Options arelocation_format="stadium|city-state"
. For example,location_format="city-state'
, results in a location like “Memorial Stadium (Berkeley, CA)” Default iscity-state
.
Tournament Game/Fixture Tables
[mstw_tourney_table tourney='tourney-slug']
generates a table of tournament games (fixtures) by round as shown below. The shortcode’s arguments are identical to those for the Tournament Brackets shortcode.