Advertisement
Advertisement

Advertisement

对阵模型指导

Advertisement
1.复制嵌入代码
创建赛事后,迁入代码可以通过点击对阵右侧的Embed icon查看。你也可以复制以下链接,并覆盖YOUR_TOURNEY_URL。

<iframe src="http://challonge.com/YOUR_TOURNEY_URL/module" width="100%" height="500" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>
注意:如果你在一个HTTPS页面上嵌入对阵,用https替代上面的链接。该功能只对用户创建的赛事有效,对组织暂不可用。

2. 创建一个主题
Themes for race embeds are not currently supported.
通过Theme Manager选择或创建主题,然后通过更新URL中的代码来确定主题ID:

.../YOUR_TOURNEY_URL/module?theme=1

3. 确认高级选项
你可以将以下选项附加到challonge.com 超链接后面,来更好地控制对阵的外观。

.../YOUR_TOURNEY_URL/module?multiplier=0.9&match_width_multiplier=1.2&show_final_results=1
选项 描述 范围 默认
multiplier 缩放整个对阵。 0.3 - 3.0 1.0 Multiplier
match_width_multiplier 调整姓名框宽度。 0.5 - 2.0 1.0 Match width multiplier
scale_to_fit 缩放对阵至适应的宽度。窗口缩放时将会自动调整。 0/1 0
show_tournament_name Display the tournament name on top of the bracket. 0/1 0
show_final_results 在对阵上方显示最终结果。查看主题管理器以预览颜色。注意:最终结果高160像素。 0/1 0 Show final results
show_standings 在一个独立的表格显示选手排名。 0/1 0 Show standings
show_voting 显示赛事投票选项。需要开启赛事的投票选项。 0/1 0 Show voting
show_live_status Show LIVE in the upper-right corner to emphasize that the bracket will update in real-time. 0/1 1 Show live status
tab 设置初始标签。该标签将在双阶段赛事展示,开启显示排名(show_standings)选项时也会显示该标签。若未指定,将使用正在进行的阶段。 "groups", "final", "standings"

预览

浏览这些例子,了解Challonge的对阵模型。方格背景表示透明。

Advertisement