本文へ移動

Taisen Brackets対戦

対戦の一覧から、トーナメント表をSVGで描きます。

対戦(たいせん)は、二者が向かい合って勝負することです。 名前について(英語)

目次

リファレンス

リーグごとの形式

import { … } from "@johnmorrisdotca/taisen-brackets/presets";

リファレンスの説明と例は英語です。見出しと目次は日本語です。

エクスポート

名前種類概要
League型A league with a playoff format by era: nhl, nba, mlb, nfl, cfl, mls or worldcup.
LEAGUE_EMBLEMS定数The emblem each league's champion gets by default: an id of @johnmorrisdotca/dougu-sports (generic forms, no league's own mark).
LEAGUES定数The leagues that have a format here.
playoffEras関数Every era of a league, oldest first.
playoffFormat関数The playoff format of a league in a season (or a World Cup in its year), or null when there was none or this package does not cover it.
PlayoffFormat型A league's playoff format in one era: the years it ran, its rounds, how many teams it took, its byes and its sources.
PlayoffRound型One round of a playoff format: its name and how many games a series is (null for a single game).
roundName関数The name of a round that has remaining teams left in it, counting from the final: Final, Semi-finals, Quarter-finals, Round of 16…
roundNamesFor関数The generic names of count rounds, first round first: roundNamesFor(3) is Quarter-finals, Semi-finals, Final.

ソースを見るGitHub で編集@johnmorrisdotca/taisen-brackets 0.20.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。