Country page
The header, competition list and the day's matches of a country or continent in one widget. The matches board has the same date picker, status and competition filters and odds as the live scores widget.
| Attribute | Required | Description |
|---|---|---|
data-sportx-widget="region" | ✓ | Widget type. |
data-region | ✓ | Country or continent id, e.g. country-ar. |
data-sections | Parts to show, separated by commas: header (flag and name), competitions (competition list), matches (matches board). Default all three. | |
data-scope | Continents only, like the scope switch on the website: all (default), continental (continental competitions only) or countries (member countries' competitions). | |
data-country | With data-scope="countries": one member country only, e.g. country-es. | |
data-competition-url | Competition page path on your website, containing {id}. Without it competition names are not linked. | |
data-match-url | Match page path for the matches board, containing {id}. Default /match/{id}. | |
data-locale | vi (default) or en. | |
data-date | Day of the matches board as YYYY-MM-DD in Vietnam time. Default today. | |
data-league-info | Details beside competition names on the matches board, as on live scores: region, season or "none". Default both. |
The region id comes from the website's country page URL: /football/country-ar is country-ar, /football/continent-eu is continent-eu. For a continent, the list includes continental competitions and those of its member countries.
<div
data-sportx-widget="region"
data-region="country-ar"
data-competition-url="/giai-dau/{id}"
data-match-url="/tran-dau/{id}"
data-locale="en"
></div>
<script type="module" src="https://bbidt.name/widgets/v1/embed.js"></script>Region
Language
Style
Accent
Width
The region id is the last part of a country page URL on the website, e.g. country-ar in /football/country-ar.
Preview