K logo.png Congratulations /k/! K logo.png
Winners of the 2024 4chan Autumn Babby Cup

Difference between revisions of "Template:Main Page/doc"

From Rigged Wiki
Jump to navigation Jump to search
m
(added embedurl)
Line 7: Line 7:
|video
|video
|Youtube video ID (e.g. if the youtube url is www.youtube.com/watch?v=W3U3-bbPayI then the ID is W3U3-bbPayI)
|Youtube video ID (e.g. if the youtube url is www.youtube.com/watch?v=W3U3-bbPayI then the ID is W3U3-bbPayI)
|-
|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 embeding non-secure content in a secure page, avoid this if possible). Intended for showing the main youtube live stream but should work with loads of services. Relies on the #evu parser tag.
|-
|-
|season
|season
Line 12: Line 15:
|-
|-
|thread
|thread
|Current /4ccg/ thread ID on /vg/ (e.g. 115590179)
|Current /4ccg/ thread ID on /vg/ (e.g. 115590179). No longer used, superseded by a catalog link.
|-
|-
|tournamentname
|tournamentname

Revision as of 10:12, 27 May 2018

Note: unless it breaks the page, only delete the variable value, not the whole parameter!

Variable Description
video Youtube video ID (e.g. if the youtube url is www.youtube.com/watch?v=W3U3-bbPayI then the ID is W3U3-bbPayI)
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 embeding non-secure content in a secure page, avoid this if possible). Intended for showing the main youtube live stream but should work with loads of services. Relies on the #evu parser tag.
season Season of the current/upcoming cup (winter, spring, summer, or autumn)
thread Current /4ccg/ thread ID on /vg/ (e.g. 115590179). No longer used, superseded by a catalog link.
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 hitbox player is shown. If in doubt, leave it as
{{Template:AutoOn}}
unless you want to override.
countdown Whether the countdown should be displayed or not (yes or no - if no then "We live now!" is shown - if you want nothing shown, blank the next field)
countdown data What to put in the countdown box. Typically this follows the following format:
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>