Difference between revisions of "Template:Main Page"
(I for one welcome our new Azubu overlords) |
|||
Line 9: | Line 9: | ||
|- | |- | ||
| align=center | {{greentext|implying rigged}} is the community hub and information center of the [[4chan Cup]], a series of simulated soccer tournaments played on games from the ''Pro Evolution Soccer'' series. Since 2011 the boards of 4chan have competed on the field for the unrivaled honor of being crowned champions. ''Elite'' tournaments are held in Summer and Winter. Spring and Autumn play host to the ''Babby Cups''—qualification tournaments where teams play for the right to compete at Elite level.<br /> | | align=center | {{greentext|implying rigged}} is the community hub and information center of the [[4chan Cup]], a series of simulated soccer tournaments played on games from the ''Pro Evolution Soccer'' series. Since 2011 the boards of 4chan have competed on the field for the unrivaled honor of being crowned champions. ''Elite'' tournaments are held in Summer and Winter. Spring and Autumn play host to the ''Babby Cups''—qualification tournaments where teams play for the right to compete at Elite level.<br /> | ||
{{#switch:{{{live|}}}|yes=<center>{{#ev: | {{#switch:{{{live|}}}|yes=<center>{{#ev:smashcast|the4chancup|1280}}</center>|no={{#switch:{{{video|}}}|=|<center>{{#ev:youtube|{{{video}}}|720}}</center>}}|}} | ||
|} | |} | ||
|- | |- | ||
Line 21: | Line 21: | ||
|} | |} | ||
| style="background:none; border:0px; padding:0px; margin:0.10px; vertical-align:top" width="36%" | | | style="background:none; border:0px; padding:0px; margin:0.10px; vertical-align:top" width="36%" | | ||
{| style="background:# | {| style="background:#e9e9e9; {{radius|10px 10px 0px 0px}}" width="100%" | ||
| align="center" style="line-height: 320%;" | '''<span class="plainlinks">[http://www. | | align="center" style="line-height: 320%;" | '''<span class="plainlinks">[http://www.smashcast.tv/the4chancup <span style="color:#133c65; font-size: 200%;">{{#switch:{{{live|}}}|yes={{Template:AutoVC}} watching on|}} Smashcast]</span>'''</span>{{#switch:{{{live|}}}|yes= <span class="plainlinks">[http://www.smashcast.tv/the4chancup <span style="background: red; {{radius|5px}} color: #FFF; font-size: 250%;"> '''LIVE''' </span>]</span>|}} | ||
|} | |} | ||
|- | |- | ||
Line 77: | Line 77: | ||
|- | |- | ||
| colspan="2" align=center style="font-size: 150%; line-height: 150%; color:white; font-weight: bold;" | {{#switch:{{{countdown|}}}|yes={{{countdown data|<span class="countdown" style="display:none; font-size: 150%; line-height: 150%; color: #000000;" data-options="no-leading-zeros" data-end="toggle" data-toggle=".post-countdown"><span class="countdowndate">January 1 2099 00:00:00 GMT</span> until...<br>[[2015_4chan_Winter_Cup|<span style="color: #000000;">Winter Cup</span>]]!</span> | | colspan="2" align=center style="font-size: 150%; line-height: 150%; color:white; font-weight: bold;" | {{#switch:{{{countdown|}}}|yes={{{countdown data|<span class="countdown" style="display:none; font-size: 150%; line-height: 150%; color: #000000;" data-options="no-leading-zeros" data-end="toggle" data-toggle=".post-countdown"><span class="countdowndate">January 1 2099 00:00:00 GMT</span> until...<br>[[2015_4chan_Winter_Cup|<span style="color: #000000;">Winter Cup</span>]]!</span> | ||
<span class="post-countdown" style="display:none;"><span style="font-size: 150%; line-height: 150%; color: #000000;">The [[2015 4chan Winter Cup|<span style="color: #000000;">Winter Cup</span>]] is <span class="plainlinks">[http://www. | <span class="post-countdown" style="display:none;"><span style="font-size: 150%; line-height: 150%; color: #000000;">The [[2015 4chan Winter Cup|<span style="color: #000000;">Winter Cup</span>]] is <span class="plainlinks">[http://www.smashcast.tv/the4chancup <span style="background: red; {{radius|5px}} color: #FFF;"> LIVE </span>]</span></span></span>}}}|We live now!}} | ||
|} | |} | ||
|} | |} |
Revision as of 13:15, 9 May 2017
This shit is protected. Don't fuck with it.

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>
|
The above documentation is transcluded from Template:Main Page/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|