Template:NotableMatch: Difference between revisions

From ytptenniswiki
Jump to navigation Jump to search
Created page with "{{Ambox |nocat=true | image = 50px |textstyle = font-weight: bold; font-style: italic; |text=This article is about a notable Tennis Match. Category:Notable Matches}}"
 
hide template itself from appearing in its categories
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Ambox
{{Ambox
|nocat=true
|nocat=true
| image      = [[File:Notablematch waluigi.png|50px]]
| image      = {{#if:{{{tournament|}}}|[[File:Goldenrule.jpeg|50px]]<includeonly>[[Category:Notable Tournament Matches]]</includeonly>|[[File:Notablematch waluigi.png|50px]]}}
|textstyle = font-weight: bold; font-style: italic;
|textstyle = font-weight: bold; font-style: italic;
|text=This article is about a notable [[Tennis Match]]. [[Category:Notable Matches]]}}
|text=This article is about a [[:Category:Notable Matches|notable]] {{#if:{{{tournament|}}}|[[Tournament|Tournament Match]]|[[Tennis Match]]}}. <includeonly>[[Category:Notable Matches]]</includeonly> <br>
{{#if:{{{d|}}}|This match was played during the following years: |<includeonly>[[Category:Matches with missing year categories]]</includeonly> The years this match was played in are not specified.}}
{{#if:{{{2007|}}}|[[Category:Matches from 2007]][[:Category:Matches from 2007|2007]] |}}
{{#if:{{{2008|}}}|[[Category:Matches from 2008]]<nowiki/> [[:Category:Matches from 2008|2008]] |}}
{{#if:{{{2009|}}}|[[Category:Matches from 2009]]<nowiki/> [[:Category:Matches from 2009|2009]] |}}
{{#if:{{{2010|}}}|[[Category:Matches from 2010]]<nowiki/> [[:Category:Matches from 2010|2010]] |}}
{{#if:{{{2011|}}}|[[Category:Matches from 2011]]<nowiki/> [[:Category:Matches from 2011|2011]] |}}
{{#if:{{{2012|}}}|[[Category:Matches from 2012]]<nowiki/> [[:Category:Matches from 2012|2012]] |}}
{{#if:{{{2013|}}}|[[Category:Matches from 2013]]<nowiki/> [[:Category:Matches from 2013|2013]] |}}
{{#if:{{{2014|}}}|[[Category:Matches from 2014]]<nowiki/> [[:Category:Matches from 2014|2014]] |}}
{{#if:{{{2015|}}}|[[Category:Matches from 2015]]<nowiki/> [[:Category:Matches from 2015|2015]] |}}
{{#if:{{{2016|}}}|[[Category:Matches from 2016]]<nowiki/> [[:Category:Matches from 2016|2016]] |}}
{{#if:{{{2017|}}}|[[Category:Matches from 2017]]<nowiki/> [[:Category:Matches from 2017|2017]] |}}
{{#if:{{{2018|}}}|[[Category:Matches from 2018]]<nowiki/> [[:Category:Matches from 2018|2018]] |}}
{{#if:{{{2019|}}}|[[Category:Matches from 2019]]<nowiki/> [[:Category:Matches from 2019|2019]] |}}
{{#if:{{{2020|}}}|[[Category:Matches from 2020]]<nowiki/> [[:Category:Matches from 2020|2020]] |}}
{{#if:{{{2021|}}}|[[Category:Matches from 2021]]<nowiki/> [[:Category:Matches from 2021|2021]] |}}
{{#if:{{{2022|}}}|[[Category:Matches from 2022]]<nowiki/> [[:Category:Matches from 2022|2022]] |}}
{{#if:{{{2023|}}}|[[Category:Matches from 2023]]<nowiki/> [[:Category:Matches from 2023|2023]] |}}
{{#if:{{{2024|}}}|[[Category:Matches from 2024]]<nowiki/> [[:Category:Matches from 2024|2024]] |}}
{{#if:{{{2025|}}}|[[Category:Matches from 2025]]<nowiki/> [[:Category:Matches from 2025|2025]] |}}
}}
 
<noinclude>
 
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==
<nowiki>{{NotableMatch|d=y|2007=y|...}}</nowiki>
==Tournament Matches==
<nowiki>{{NotableMatch|tournament=y|d=y|2007=y|...}}</nowiki>
</noinclude>

Latest revision as of 02:03, 14 August 2025


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|...}}