This is a documentation subpage for Template:Tennis hth header. It may contain usage information, categories and other content that is not part of the original template page. |
Name
editTennis hth header = Tennis - Head-to-head - header
Use together
editUse this template with the following templates:
- Template:Tennis hth header
- Template:Tennis hth opponent
- Template:Tennis hth opponent last match
- Template:Tennis hth footer
Parameters
edithr=no : highest ranking - Hide column Highest ranking
s=yes : statistics - Use Statistics column instead Last match
Examples
editCode:
{{tennis hth header}}
<!-- Lleyton Hewitt -->
{{tennis hth opponent|o={{flagicon|AUS}} '''[[Lleyton Hewitt]]'''|hr={{Sort|01|1}}|w=6|l=1|lm=
{{tennis hth opponent last match|rt=Won|s=6–3, 6–3, 6–1|t=[[Tennis at the 2012 Summer Olympics – Men's singles|2012 Olympics]]|rd=3R}}}}
<!-- Juan Carlos Ferrero -->
{{tennis hth opponent|o={{flagicon|ESP}} '''[[Juan Carlos Ferrero]]'''|hr={{Sort|01|1}}|w=2|l=1|lm=
{{tennis hth opponent last match|rt=Won|s=6–3, 6–3, 6–1|t=[[2012 Wimbledon Championships – Men's singles|2012 Wimbledon]]|rd=1R}}}}
<!-- Carlos Moyá -->
{{tennis hth opponent|o={{flagicon|ESP}} '''[[Carlos Moyá]]''|hr={{Sort|01|1}}|w=2|l=2|lm=
{{tennis hth opponent last match|rt=Won|s=6–4, 7–6<sup>(9–7)</sup>, 6–1|t=[[2007 US Open – Men's singles|2007 US Open]]|rd=QF}}}}
<!-- Roger Federer -->
{{tennis hth opponent|o={{flagicon|SUI}} '''[[Roger Federer]]'''|hr={{Sort|01|1}}|w=15|l=17|an=Djokovic–Federer rivalry|lm=
{{tennis hth opponent last match|rt=Lost|s=6–3, 3–6, 2–6|t=[[2014 Dubai Tennis Championships – Men's singles|2014 Dubai]]|rd=SF}}}}
{{tennis hth footer|w=273|l=108|u={{date|2014-02-28}}}}
Result:
Opponent | Highest ranking |
Matches | Won | Lost | Win % | Last match |
---|---|---|---|---|---|---|
Lleyton Hewitt | 1 | 7 | 6 | 1 | 86% | Won (6–3, 6–3, 6–1) at 2012 Olympics 3R |
Juan Carlos Ferrero | 1 | 3 | 2 | 1 | 67% | Won (6–3, 6–3, 6–1) at 2012 Wimbledon 1R |
Carlos Moyá | 1 | 4 | 2 | 2 | 50% | Won (6–4, 7–6(9–7), 6–1) at 2007 US Open QF |
Roger Federer | 1 | 32 | 15 | 17 | 47% | Lost (6–3, 3–6, 2–6) at 2014 Dubai SF |
Total | 381 | 273 | 108 | 72% | * Statistics correct as of 28 February 2014 |