Congratulations /k/! | ||
Winners of the 2024 4chan Autumn Babby Cup |
Difference between revisions of "Template:Main Page/doc"
Jump to navigation
Jump to search
m |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Note: unless it breaks the page, only delete the | Note: unless it breaks the page, only delete the variable value, not the whole parameter! | ||
{|{{Prettytable}} | |||
|- | |||
season | |width="15%" style="background:#DBE5F1;" align="center"|'''Variable''' | ||
|width="100%" style="background:#DBE5F1" align="center"|'''Description''' | |||
tournamentname | |- | ||
tournamentdates | |embedurl | ||
tournamentcompetitors | |Link to any standard URL supported by embedvideo, to show on the main page (e.g. <nowiki>https://www.youtube.com/watch?v=2KuBXpeYYlE</nowiki>). Must have (preferably) an https:// prefix, or http:// will probably work too (some browsers seem iffy about embedding non-secure content in a secure page, avoid this if possible). Intended for showing the main live stream and promo videos. Relies on the #evu parser tag. | ||
tournamentholders | |- | ||
elitereigning | |season | ||
babbyreigning | |Season of the current/upcoming cup (winter, spring, summer, or autumn) | ||
tournament image | |- | ||
current | |tournamentname | ||
live | |Name of the current/upcoming official tournament (e.g. 2015 4chan Autumn Babby Cup) | ||
countdown | |- | ||
|tournamentdates | |||
|Tournament dates (e.g. February 19th-21st, 26th-28th, March 5th & 6th or Dates TBD) | |||
|- | |||
|tournamentcompetitors | |||
|Number of teams competing (32 for Elite, 40 for Mega Babbies, variable for Fetuses) | |||
|- | |||
|tournamentholders | |||
|Team that won the previous cup of the same Season (e.g. b) | |||
|- | |||
|elitereigning | |||
|Team that won the previous Elite Cup (e.g. fa) | |||
|- | |||
|babbyreigning | |||
|Team that won the previous Babby Cup (e.g. pol) | |||
|- | |||
|tournament image | |||
|Official logo of the current cup (defaults to Unknown_Question_Mark.png if empty) | |||
|- | |||
|current | |||
|Whether the cup is currently running or rather upcoming (yes or no) | |||
|- | |||
|live | |||
|Whether the cup is currently live (yes or no). Also controls whether the embedded player is shown. <strike>If in doubt, leave it as <syntaxhighlight lang="html4strict">{{Template:AutoOn}}</syntaxhighlight> unless you want to override.</strike> The script that was behind AutoOn was designed exclusively for smashcast and is currently non-functional for youtube. | |||
|- | |||
|countdown | |||
|Whether the countdown should be displayed or not (yes or no) | |||
|- | |||
|countdown data | |||
|This now should be either empty (for no countdown), or set to: <syntaxhighlight lang="html4strict">{{Main_Page/Countdown}}</syntaxhighlight> [[:Template:Main_Page/Countdown|Edit it here]]. Anyone can update this, please don't be a knob about it. Countdowns follow this format:<syntaxhighlight lang="html4strict"> | |||
201X 4chan X Cup event in: | 201X 4chan X Cup event in: | ||
<span class="countdown" style="display:none;" data-options="no-leading-zeros" data-end="toggle" data-toggle=".post-countdown"> | <span class="countdown" style="display:none;" data-options="no-leading-zeros" data-end="toggle" data-toggle=".post-countdown"> | ||
<span class="countdowndate">August 16 2015 17:00:00 UTC</span> | <span class="countdowndate">August 16 2015 17:00:00 UTC</span> | ||
<span class="post-countdown" style="display:none;"><br />201X X Cup is live now</span></span></syntaxhighlight> | <span class="post-countdown" style="display:none;"><br />201X X Cup is live now</span></span></syntaxhighlight> | ||
|} |
Latest revision as of 07:07, 30 May 2022
Note: unless it breaks the page, only delete the variable value, not the whole parameter!
Variable | Description |
embedurl | Link to any standard URL supported by embedvideo, to show on the main page (e.g. https://www.youtube.com/watch?v=2KuBXpeYYlE). Must have (preferably) an https:// prefix, or http:// will probably work too (some browsers seem iffy about embedding non-secure content in a secure page, avoid this if possible). Intended for showing the main live stream and promo videos. Relies on the #evu parser tag. |
season | Season of the current/upcoming cup (winter, spring, summer, or autumn) |
tournamentname | Name of the current/upcoming official tournament (e.g. 2015 4chan Autumn Babby Cup) |
tournamentdates | Tournament dates (e.g. February 19th-21st, 26th-28th, March 5th & 6th or Dates TBD) |
tournamentcompetitors | Number of teams competing (32 for Elite, 40 for Mega Babbies, variable for Fetuses) |
tournamentholders | Team that won the previous cup of the same Season (e.g. b) |
elitereigning | Team that won the previous Elite Cup (e.g. fa) |
babbyreigning | Team that won the previous Babby Cup (e.g. pol) |
tournament image | Official logo of the current cup (defaults to Unknown_Question_Mark.png if empty) |
current | Whether the cup is currently running or rather upcoming (yes or no) |
live | Whether the cup is currently live (yes or no). Also controls whether the embedded player is shown. {{Template:AutoOn}}
|
countdown | Whether the countdown should be displayed or not (yes or no) |
countdown data | This now should be either empty (for no countdown), or set to: {{Main_Page/Countdown}}
201X 4chan X Cup event in:
<span class="countdown" style="display:none;" data-options="no-leading-zeros" data-end="toggle" data-toggle=".post-countdown">
<span class="countdowndate">August 16 2015 17:00:00 UTC</span>
<span class="post-countdown" style="display:none;"><br />201X X Cup is live now</span></span>
|