Template:Tennis hth header/doc: Difference between revisions

From Wikipedia, the free encyclopedia

Content deleted Content added


 

Line 7: Line 7:

==Use together==

==Use together==

Use this template with the following templates:

Use this template with the following templates:

*[[Template:Tennis hth header]]

*[[Template:Tennis hth header]]

*[[Template:Tennis hth opponent]]

*[[Template:Tennis hth opponent]]

*[[Template:Tennis hth opponent last match]]

*[[Template:Tennis hth opponent last match]]

*[[Template:Tennis hth footer]]

*[[Template:Tennis hth footer]]

==Parameters==

==Parameters==

”’hr=no”’ : highest ranking – Hide column ”’Highest ranking”’<br>

”’hr=no”’ : highest ranking – Hide column ”’Highest ranking”’

”’s=yes”’ : statistics – Use ”’Statistics”’ column instead ”’Last match”’

”’s=yes”’ : statistics – Use ”’Statistics”’ column instead ”’Last match”’

===Examples===

===Examples===

”’Code:”’

”’Code:”’

<syntaxhighlight lang=”wikitext”>{{tennis hth header}}

<syntaxhighlight lang=”wikitext”>

{{tennis hth header}}

<!– Lleyton Hewitt –>

<!– Lleyton Hewitt –>

{{tennis hth opponent|o={{flag icon|AUS}} ”'[[Lleyton Hewitt]]”’|hr={{Sort|01|1}}|w=6|l=1|lm=

{{tennis hth opponent|o={{flag icon|AUS}} ”'[[Lleyton Hewitt]]”’|hr={{Sort|01|1}}|w=6|l=1|lm=


Latest revision as of 09:21, 4 November 2025

Tennis hth header = Tennis – Head-to-head – header

Use this template with the following templates:

  • hr=no : highest ranking – Hide column Highest ranking
  • s=yes : statistics – Use Statistics column instead Last match

Code:

{{tennis hth header}}
<!-- Lleyton Hewitt -->
{{tennis hth opponent|o={{flag icon|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={{flag icon|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={{flag icon|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={{flag icon|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:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top