The shortcode arguments for the League Manager Scoreboards are shown below. [If you are not a coder, please ignore the strange format below. For accuracy, the default arguments were cut directly from the code. The strange looking strings, for example, __( ‘Results & Schedule’, ‘mstw-league-manager’ ), allow the WordPress translation engine to work. So these strings can be changed through the shortcode arguments, or via translation.]
Scoreboard Arguments
// Depending on the shortcode (scoreboard), one of these MUST be set in the arguments 'league' => '', 'team' => '', 'school' => '', 'sport' => '', // Season SHOULD be set in the shortcode args. Otherwise it defaults to the current year // which may not even have a season. 'season' => date( 'Y' ), // Header for days in the scoreboard 'date_format' => 'l, j F Y', // Time format for game times (scheduled) 'time_format' => 'h:i A', // can be changed via argument or WP translation 'tba_string' => __( 'TBA', 'mstw-lm-addons' ), // name | mascot | name_mascot | short_name | abbrev 'team_name' => 'name_mascot', // 0|1 show logo by default 'show_logo' => 1, // 0|1 show only games that are final. Show all games by default 'show_final_only' => 0, // 0|1 show sport in the header - useful for school scoreboard showing all school sports 'show_sport' => 0, // date-time filters 'first_dtg' => '1970:01:01 00:00:00', // first php dtg 'last_dtg' => '2038:01:19 00:00:00', // last php dtg (roughly) 'interval_days' => 0, // zero length intervals are ignored // ASC | DESC // display games in chronological order (ASC) or reverse chronological order (DESC) 'date_order' => 'ASC', // high | low [high score wins be default] // if winner is low, then low score wins, e.g., golf 'winner' => 'high',