Help:Spotlight

From QWiki

Help:Spotlight

Structure of code.

This article shows how to use the Spotlight feature, on the frontpage, to highlight upcoming games. Remember, when event time is passed, this has to be manually removed (see Removing).

  • There are 5 types of events; {{MatchClanLogoFocus}}(team + logo), {{MatchClanLogo}}(team + logo + players), {{matchAbbr}}(team), {{matchEvent}}(event) and {{match}}(1on1).
  • Spotlight chapter must start with {{spotlightStart}}, and end with {{spotlightEnd}}.
  • Any number of events can be shown at the same time, please use moderation to not bloat frontpage.
  • If there's multiple events, remember to put {{spotlightEnd}} after the last one.
|date=
Date format: "4 July 2025 21:00" where time is always in UTC. This will start a countdown to this time.
|info=
QWiki is Europe based, with CET time zone as default. So when entering event details, please set the correct CET time, followed by {{Abbr/CET}}. Multiple converted times/zones can be manually put after eachother, use a "-" as separator.
|stream= |stream2=
Input only twitch username i.e. 'suddendeathTV'. Can set up to 2 streams.

Team match

MatchClanLogoFocus

{{spotlightStart}}
{{MatchClanLogoFocus|Black Book|Slackers|date=4 May 2027 21:30|event=EQL Season 23|eventi=eql|info=Gold Semi Finals|stream=Peppe_qw|logo1=Logo clan bb.png|logosize1=28px|logo2=Logo clan slackers.png|logosize2=54px}}
{{spotlightEnd}}
  Gold Semi Finals  
Logo clan bb.png
Black Book vs. Slackers
Logo clan slackers.png
Tue 23:30  •   Peppe_qw
EQL Season 23 eql

{{spotlightStart}}
{{MatchClanLogo|Slackers|ParadokS, zero, razor, grisling|logo1=Logo clan slackers.png|logosize1=|Suddendeath|bps, cara, andeh, goblin|logo2=Logo clan suddendeath.png|logosize2=|date=4 May 2027 21:30|event=EQL Season 23|info=Gold Semi - '''Sun 21:30''' {{Abbr/CEST}}|stream=bps__}}
{{spotlightEnd}}
  Gold Semi - Sun 21:30 CEST  
Logo clan slackers.png
Slackers
ParadokS, zero, razor, grisling
vs. Suddendeath
bps, cara, andeh, goblin
Logo clan suddendeath.png
bps__
EQL Season 23

MatchAbbr

{{spotlightStart}}
{{matchAbbr|Team1|eu|Player1, Player2, Player3, Player4|Team2|eu|Player1, Player2, 
Player3, Player4|rows=2|date=4 December 2024 21:00|event=QHLAN|info=QHLAN Group Stage - '''22:00''' {{Abbr/CET}}|stream=twitchusername}}
{{spotlightEnd}}
  QHLAN Group Stage - 22:00 CET  
Europe Team1
Player1, Player2, Player3, Player4
vs. Europe Team2
Player1, Player2, Player3, Player4
twitchusername
QHLAN

Duel

{{spotlightStart}}
{{match|Player1|eu|Player2|eu|date=8 November 2024 00:00|event=Duelmania Pacific 2024|info=LB Round 6 - '''01:00''' {{Abbr/CET}} - 20:00|stream=twitchusername}}
{{spotlightEnd}}

Game in spotlight
Icon info.png
[edit]

  LB Round 6 - 01:00 CET - 20:00  
Europe Player1 vs. Europe Player2
twitchusername
Duelmania Pacific 2024

Event

{{spotlightStart}}
{{matchEvent|QHLAN2024|se|Player1, Player2, Player3, Player4, Player5, Player6, etc.|rows=2|date=4 Jul 2024 11:00|event=Event name|info=LAN|stream=twitchusername}}
{{spotlightEnd}}

Game in spotlight
Icon info.png
[edit]

Sweden QHLAN2024
Player1, Player2, Player3, Player4, Player5, Player6, etc.
twitchusername
LAN

Removing/hiding past games

  • In this wiki, anything between <!-- and this --> is hidden. It's called to comment out code. This can be useful for hiding matches, instead of removing them entirely. This way, prefilled teams can be reused. However, it can also be messy. Use this with care.
  • Remember: events that have past set time will still be visible until an editor manually remove/hide them! We strongly ask for everyones help to keep Spotlight up to date!
  • If there's currently no event in Spotlight, comment out from {{spotlightStart}} to {{spotlightEnd}}.