Difference between revisions of "Template:Handballbox"

From blackwiki
Jump to navigation Jump to search
imported>UncleOwen
m (fix spacing)
imported>Frietjes
(strip '")
Line 1: Line 1:
{| cellspacing=0 {{#if:{{{id|}}}|id={{{id}}}}} style="width: {{{size|100%}}}; background-color: {{{bg|transparent}}}"
+
{| cellspacing=0 {{#if:{{{id|}}}|id="{{#invoke:string|replace|{{{id|}}}|[^'"]*(.-)['"]*|%1}}"}} style="width: {{{size|100%}}}; background-color: {{{bg|transparent}}}"
 
|-
 
|-
 
|width=15% style="vertical-align:top;text-align:right;" rowspan=4|{{{date}}}{{ #if: {{{time|}}} |<br /> {{{time}}} | }}
 
|width=15% style="vertical-align:top;text-align:right;" rowspan=4|{{{date}}}{{ #if: {{{time|}}} |<br /> {{{time}}} | }}
Line 19: Line 19:
 
{{ #if: {{{FT|}}} | '''FT:''' {{{FT}}} | }}{{ #if: {{{OT1|}}} | &nbsp;'''[[Overtime (sports)#Handball|ET]]:''' {{{OT1}}} | }}{{ #if: {{{OT2|}}} | ,&nbsp;{{{OT2}}} | }}{{ #if: {{{PEN|}}} | &nbsp;'''[[Penalty shootout#Handball|Pen]]:''' {{{PEN}}} | }} | }}  
 
{{ #if: {{{FT|}}} | '''FT:''' {{{FT}}} | }}{{ #if: {{{OT1|}}} | &nbsp;'''[[Overtime (sports)#Handball|ET]]:''' {{{OT1}}} | }}{{ #if: {{{OT2|}}} | ,&nbsp;{{{OT2}}} | }}{{ #if: {{{PEN|}}} | &nbsp;'''[[Penalty shootout#Handball|Pen]]:''' {{{PEN}}} | }} | }}  
 
|}<noinclude>
 
|}<noinclude>
{{Documentation}}
+
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:27, 3 April 2020

{{{date}}} v   {{{stadium}}}
Template documentation[view] [edit] [history] [purge]

Usage

{{handballbox
|id=Croatia v Spain
|date=10 August 2008
|time=09:00
|team1={{hb-rt|CRO}}
|score= 31 – 29
|report= [https://en.wikipedia.org/wiki/Handball Report]
|team2={{hb|ESP}}
|goals1= [[Blaženko Lacković|Lacković]], [[Mirza Džomba|Džomba]] 5
|goals2= [[Juanín García|García]] 8
|HT=16–11
|FT=21-21
|OT1=2-2
|OT2=3-3
|PEN=5-3
|yellow1=3
|twomin1=2
|red1=
|blue1=1
|yellow2=3
|twomin2=4
|red2=1
|blue2=
|stadium=[[Olympic Sports Centre Gymnasium]], [[Beijing]]
|attendance=1234
|referee= [[Frank Lemme|Lemme]], [[Bernd Ullrich|Ullrich]]
|refnat=GER
}}

Sample result:

10 August 2008
09:00
Croatia  31 – 29 (ET)  Spain Olympic Sports Centre Gymnasium, Beijing
Attendance: 1234
Referees: Lemme, Ullrich (GER)
Lacković, Džomba 5 (16–11) García 8
Template:Yel 2×Suspension 1×Template:Sent pause Report Template:Yel 4×Suspension 1×Template:Sent off

FT: 21-21 ET: 2-2, 3-3 Pen: 5-3


Blank (for easy copy & paste):

{{handballbox 
|id=
|date=
|time=
|team1=
|score=
|team2=
|report=
|goals1=
|goals2=
|HT=
|FT=
|OT1=
|OT2=
|PEN=
|twomin1=
|yellow1=
|red1=
|blue1=
|twomin2=
|yellow2=
|red2=
|blue2=
|stadium=
|attendance=
|referee= 
|refnat= 
}}
Compact version
{{handballbox 
|id= |date= |time= |stadium= |attendance=
|team1= |goals1=
|twomin1= |yellow1= |red1= |blue1=
|team2= |goals2=
|twomin2= |yellow2= |red2= |blue2=
|score= |HT= |FT= |OT1= |OT2= |PEN=
|report=
|referee= |refnat= 
}}

See also