Jump to content

Template:NotableMatch: Difference between revisions

From ytptenniswiki
hide template itself from appearing in its categories
add 2026 page
Line 24: Line 24:
{{#if:{{{2024|}}}|[[Category:Matches from 2024]]<nowiki/> [[:Category:Matches from 2024|2024]] |}}
{{#if:{{{2024|}}}|[[Category:Matches from 2024]]<nowiki/> [[:Category:Matches from 2024|2024]] |}}
{{#if:{{{2025|}}}|[[Category:Matches from 2025]]<nowiki/> [[:Category:Matches from 2025|2025]] |}}
{{#if:{{{2025|}}}|[[Category:Matches from 2025]]<nowiki/> [[:Category:Matches from 2025|2025]] |}}
{{#if:{{{2026|}}}|[[Category:Matches from 2026]]<nowiki/> [[:Category:Matches from 2026|2026]] |}}
}}
}}



Revision as of 15:34, 9 February 2026


An extension off of Template:Ambox.

This box is used to signify this this page is a notable match. This is also used to insert the years that a match was played in (a match was 'played in a year' if rounds were made during said year; don't count gap years.)

Usage

  • NotableMatch defines the template itself.
  • tournament=y defines if the match is part of a Tennis Tournament; otherwise, omit.
  • d=y is the date flag; it is used to tell the system that dates have been applied. Don't put this flag unless the date flags are filled in!
  • 2007=y, 2008=y, etc. are the years that the match partook in (rounds were made). Don't put '=n' for years the match wasn't part of; the system sees all non-whitespace responses as true!

Standard Matches

{{NotableMatch|d=y|2007=y|...}}

Tournament Matches

{{NotableMatch|tournament=y|d=y|2007=y|...}}