Co logo.png Congratulations /co/! Co logo.png
Winners of the 2025 4chan Spring Babby Cup

Difference between revisions of "Template:Match details"

From Rigged Wiki
Jump to navigation Jump to search
(Fixed template so bar is symmetric, rather than squared off on the left end and rounded on the right)
(Added ability to add match type (e.g. Quarterfinal) to header)
 
Line 4: Line 4:
   {| width="35%" align="center" style="text-align: center; color: #FFF; background: #8697af; box-shadow: 0px 0px 5px #888; text-shadow:0.0em 0.1em 0.2em #000; {{radiustop|100px;}}" cellspacing="0" cellpadding="0"
   {| width="35%" align="center" style="text-align: center; color: #FFF; background: #8697af; box-shadow: 0px 0px 5px #888; text-shadow:0.0em 0.1em 0.2em #000; {{radiustop|100px;}}" cellspacing="0" cellpadding="0"
       |-
       |-
       ! {{{day|1}}} {{{month|January}}}, {{{year|1900}}} {{#if:{{{time|}}}|–|}} {{{time|}}} {{#if:{{{time|}}}|UTC|}}
       ! {{{type|}}} {{#if:{{{type|}}}|<br>|}} {{{day|1}}} {{{month|January}}}, {{{year|1900}}} {{#if:{{{time|}}}|&ndash;|}} {{{time|}}} {{#if:{{{time|}}}|UTC|}}
   |}
   |}
   {| width="75%" align="center" style="background: #f7d020; box-shadow: 0px 0px 5px #888; {{radiusbottom|100px;}}" cellspacing="0" cellpadding="0"
   {| width="75%" align="center" style="background: #f7d020; box-shadow: 0px 0px 5px #888; {{radiusbottom|100px;}}" cellspacing="0" cellpadding="0"

Latest revision as of 16:01, 5 April 2025

1 January, 1900
M icon.png /m/
v
/m/ M icon.png


Example:

Normal match

{{Match details
|day=5
|month=April
|year=2012
|time=19:00
|hex1=ff0000
|hex2=ff00ff
|team1=m
|team2=a
|score1=1
|score2=1
|goal1=Alteisen {{goal|25}}
|goal2=Mugi {{goal|81}}
}}

Turns out as:

5 April, 2012 – 19:00 UTC
M icon.png /m/
1 - 1
/a/ A icon.png
Alteisen Goal 25' Mugi Goal 81'

Match with extra time

{{Match details
|day=5
|month=April
|year=2012
|time=19:00
|hex1=ff0000
|hex2=ff00ff
|team1=m
|team2=a
|score1=1
|score2=1
|goal1=Alteisen {{goal|25}}<br>Kamen Rider {{goal|99}}
|goal2=Mugi {{goal|81||120}}
|ot=yes
}}

Turns out as:

5 April, 2012 – 19:00 UTC
M icon.png /m/
1 - 1 (O.T.)
/a/ A icon.png
Alteisen Goal 25'
Kamen Rider Goal 99'
Mugi Goal 81'120'

Match with penalties

{{Match details
|day=5
|month=April
|year=2012
|time=19:00
|hex1=ff0000
|hex2=ff00ff
|team1=m
|team2=a
|score1=1
|score2=1
|goal1=Alteisen {{goal|25}}
|goal2=Mugi {{goal|81}}
|penalty=yes
|pk1=Alteisen {{pengoal}}<br>Alteisen {{pengoal}}<br>Alteisen {{penmiss}}<br>Alteisen {{pengoal}}<br>Alteisen {{pengoal}}
|pk2={{pengoal}} Mugi<br>{{pengoal}} Mugi<br>{{penmiss}} Mugi<br>{{pengoal}} Mugi<br>{{pengoal}} Mugi
}}

Turns out as:

5 April, 2012 – 19:00 UTC
M icon.png /m/
1 - 1
/a/ A icon.png
Alteisen Goal 25' Mugi Goal 81'
penalties
4 4
Alteisen Scored
Alteisen Scored
Alteisen Missed
Alteisen Scored
Alteisen Scored
Scored Mugi
Scored Mugi
Missed Mugi
Scored Mugi
Scored Mugi

It's based on the prominent color of the team kit. If the score ends in a draw, just add 0 in both score parameters. When adding more than a goal, use <br> to go to the next line.