Reference · Where every tie sits
Wordstype
The words a drawing and a table use, in one language. Every one can be replaced (words), and a language can be added (defineLocale). Phrases take {name}-style holes.
Import it
import type { Words } from "@johnmorrisdotca/taisen-brackets/layout";
Also exported from: @johnmorrisdotca/taisen-brackets
Definition
interface Words {
tbd: string;
bye: string;
walkover: string;
champion: string;
thirdPlace: string;
other: string;
aet: string;
pens: string;
aggregate: string;
replay: string;
aetLong: string;
pensScore: string;
aggregateLong: string;
inGames: string;
bestOf: string;
round: string;
roundOf: string;
tieVs: string;
tieScore: string;
scoreText: string;
pictureWins: string;
winnerIs: string;
championIs: string;
finalLine: string;
summary: string;
summaryOne: string;
sep: string;
end: string;
note: string;
noteJoin: string;
columnRound: string;
columnTie: string;
columnNote: string;
columnDate: string;
title: string;
roadTitle: string;
roadVs: string;
roadGroup: string;
roadFt: string;
roadAet: string;
roadPens: string;
roadWon: string;
roadLost: string;
roadDrew: string;
roadQuarterFinal: string;
roadSemiFinal: string;
roadTableTeam: string;
roadTableOpponent: string;
roadTableScore: string;
roadTableDecided: string;
roadTableResult: string;
roadCaption: string;
roadName: string;
roadSummary: string;
roadFinal: string;
roadChampion: string;
roadToPlay: string;
vs: string;
at: string;
groupName: string;
colPlayed: string;
colWon: string;
colDrawn: string;
colLost: string;
colDiff: string;
colPoints: string;
playIn: string;
playInWinner: string;
playInLoser: string;
seedSlot: string;
winnerOf: string;
loserOf: string;
judoIppon: string;
judoWazaAri: string;
judoYuko: string;
judoIpponLong: string;
judoWazaAriLong: string;
judoYukoLong: string;
judoMethodIppon: string;
judoMethodAwasete: string;
judoMethodScore: string;
judoMethodHansoku: string;
judoMethodFusen: string;
judoMethodKiken: string;
judoGolden: string;
judoGoldenLong: string;
judoTime: string;
judoShidoOf: string;
judoShidoShort: string;
judoRepechage: string;
judoBronze: string;
judoRepechageBronze: string;
judoWhite: string;
judoBlue: string;
judoWeightClass: string;
judoWeightOver: string;
judoMen: string;
judoWomen: string;
judoOsaekomi: string;
judoShido: string;
judoMat: string;
judoContest: string;
judoCoach: string;
judoBoardTitle: string;
judoCardTitle: string;
judoQueueTitle: string;
rankTitle: string;
rankPoints: string;
rankPointsShort: string;
rankChampion: string;
rankChampionLong: string;
rankInterim: string;
rankInterimLong: string;
rankNew: string;
rankNewLong: string;
rankUp: string;
rankDown: string;
rankSame: string;
rankRange: string;
rankNone: string;
rankJoin: string;
rankNumberOnes: string;
rankNumberOneIn: string;
rankEntryTitle: string;
rankColRanking: string;
rankUnranked: string;
rankMatchTitle: string;
rankMeetings: string;
rankNoMeetings: string;
rankMore: string;
medalTitle: string;
medalNone: string;
medalGold: string;
medalSilver: string;
medalBronze: string;
medalGoldShort: string;
medalSilverShort: string;
medalBronzeShort: string;
medalTotal: string;
medalLine: string;
medalRank: string;
rbResult: string;
rbBoutPresentation: string;
rbBout: string;
rbOfficials: string;
rbReferee: string;
rbJudge: string;
}
Members
| Name | Type | Description |
|---|---|---|
tbd | string | A side not known yet. |
bye | string | The word beside the score of a side that had a bye. |
walkover | string | A tie decided without a game ( |
champion | string | The label under the champion. |
thirdPlace | string | |
other | string | The heading over ties that lead nowhere near the final. |
aet | string | Short notes in a box: after extra time, penalties, aggregate, replay. |
pens | string | |
aggregate | string | |
replay | string | |
aetLong | string | The same in a sentence (tooltip, table, description). |
pensScore | string |
|
aggregateLong | string | |
inGames | string |
|
bestOf | string |
|
round | string |
|
roundOf | string |
|
tieVs | string |
|
tieScore | string |
|
scoreText | string |
|
pictureWins | string |
|
winnerIs | string |
|
championIs | string | |
finalLine | string |
|
summary | string |
|
summaryOne | string | |
sep | string | Joins the sentences of a description, and ends it. |
end | string | |
note | string |
|
noteJoin | string | |
columnRound | string | |
columnTie | string | |
columnNote | string | |
columnDate | string | |
title | string | The |
roadTitle | string | The road-to-the-final chart ( |
roadVs | string | |
roadGroup | string | |
roadFt | string | |
roadAet | string | |
roadPens | string | |
roadWon | string | |
roadLost | string | |
roadDrew | string | |
roadQuarterFinal | string | The names of the two rounds a road names one match of (the other rounds come from the round names of the language). |
roadSemiFinal | string | |
roadTableTeam | string | The road's table: the headings, the caption ( |
roadTableOpponent | string | |
roadTableScore | string | |
roadTableDecided | string | |
roadTableResult | string | |
roadCaption | string | |
roadName | string | |
roadSummary | string | |
roadFinal | string |
|
roadChampion | string |
|
roadToPlay | string | |
vs | string | "vs": the tag between two sides of a tie in the |
at | string | The word between the two sides of a tie of the |
groupName | string |
|
colPlayed | string | The heads of a group table: played, won, drawn, lost, goal difference, points. |
colWon | string | |
colDrawn | string | |
colLost | string | |
colDiff | string | |
colPoints | string | |
playIn | string | The heading over a bracket's play-in games. |
playInWinner | string |
|
playInLoser | string | |
seedSlot | string |
|
winnerOf | string |
|
loserOf | string | |
judoIppon | string | Judo. The marks of the scores on a box (ippon, waza-ari, yuko), the same written out, and how a contest was won. |
judoWazaAri | string | |
judoYuko | string | |
judoIpponLong | string | |
judoWazaAriLong | string | |
judoYukoLong | string | |
judoMethodIppon | string | |
judoMethodAwasete | string | |
judoMethodScore | string | |
judoMethodHansoku | string | |
judoMethodFusen | string | |
judoMethodKiken | string | |
judoGolden | string | Golden score, short and in a sentence. |
judoGoldenLong | string | |
judoTime | string |
|
judoShidoOf | string |
|
judoShidoShort | string |
|
judoRepechage | string | The headings over the repechage contests and the bronze medal contests, alone and together; the sides' colours. |
judoBronze | string | |
judoRepechageBronze | string | |
judoWhite | string | |
judoBlue | string | |
judoWeightClass | string |
|
judoWeightOver | string | |
judoMen | string | |
judoWomen | string | |
judoOsaekomi | string | The scoreboard of a contest: the osaekomi timer's label, the shido row's, a mat ( |
judoShido | string | |
judoMat | string | |
judoContest | string | |
judoCoach | string | |
judoBoardTitle | string | |
judoCardTitle | string | The default titles of the contest card and of the mat queue board. |
judoQueueTitle | string | |
rankTitle | string | Ranking lists ( |
rankPoints | string | |
rankPointsShort | string | |
rankChampion | string | |
rankChampionLong | string | |
rankInterim | string | |
rankInterimLong | string | |
rankNew | string | |
rankNewLong | string | |
rankUp | string | |
rankDown | string | |
rankSame | string | |
rankRange | string | |
rankNone | string | |
rankJoin | string | What joins the pieces of one entry in the description ("1, NAKAMURA Kenji, 412.50 points"). |
rankNumberOnes | string | Number-one cards ( |
rankNumberOneIn | string | |
rankEntryTitle | string | |
rankColRanking | string | |
rankUnranked | string | |
rankMatchTitle | string | The head-to-head card ( |
rankMeetings | string | |
rankNoMeetings | string | |
rankMore | string | |
medalTitle | string | The medal table ( |
medalNone | string | |
medalGold | string | |
medalSilver | string | |
medalBronze | string | |
medalGoldShort | string | |
medalSilverShort | string | |
medalBronzeShort | string | |
medalTotal | string | |
medalLine | string | |
medalRank | string | A rank in the row sentence ( |
rbResult | string | The broadcast-style boards ( |
rbBoutPresentation | string | The bout presentation board ( |
rbBout | string | |
rbOfficials | string | |
rbReferee | string | |
rbJudge | string |
Examples
import { drawBracket, type Words } from "@johnmorrisdotca/taisen-brackets";
const words: Partial<Words> = { champion: "Winner" };
console.log(drawBracket([{ sides: ["Aurora", "Harbour"], score: [2, 1] }, { sides: ["Cascade", "Delta"], score: [0, 1] }, { sides: ["Aurora", "Delta"], score: [3, 1] }], { words }).includes("Winner"));trueWhat it prints (run when this page was built)