Template:MatchboxV2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 28: | Line 28: | ||
<!-- Number of rounds in the match --> | <!-- Number of rounds in the match --> | ||
|ROUNDS= | |ROUNDS= | ||
<!-- Use array category generating logic. For cross-compatibility with older versions of the matchbox. set to 'y' --> | |||
|GENCATEGORIES= | |||
<!-- Participants who partook in this match. Keep as a comma-delimited list ("a,b,c"). If using alias templates, add "|U=1" at the end, for example: {{mrdoognoog|U=1}} IT WILL BREAK OTHERWISE! --> | <!-- Participants who partook in this match. Keep as a comma-delimited list ("a,b,c"). If using alias templates, add "|U=1" at the end, for example: {{mrdoognoog|U=1}} IT WILL BREAK OTHERWISE! --> | ||
|PARTICIPANTS= | |PARTICIPANTS= | ||
Line 59: | Line 61: | ||
|- | |- | ||
! style="padding-right: 1em;" | Participants | ! style="padding-right: 1em;" | Participants | ||
| ''{{if||{{{PARTICIPANTS}}}|{{#arraydefine:p|{{{PARTICIPANTS}}}}}{{#arrayprint:p|, |@@@@ |[[Category:Matches involving @@@@]] @@@@}}|(tba) [[Category:Matches with missing participant lists]]}}'' | | ''{{if||{{{GENCATEGORIES}}}|{{if||{{{PARTICIPANTS}}}|{{#arraydefine:p|{{{PARTICIPANTS}}}}}{{#arrayprint:p|, |@@@@ |[[Category:Matches involving @@@@]] @@@@}}|(tba) [[Category:Matches with missing participant lists]]}}|{{if||{{{PARTICIPANTS}}}|{{{PARTICIPANTS}}}|(tba) [[Category:Matches with missing participant lists]]}}}}'' | ||
|- | |- | ||
! style="padding-right: 1em;" | Match Page | ! style="padding-right: 1em;" | Match Page |
Revision as of 03:34, 2 June 2025
Version 2 of the Matchbox template, used to show important information about a tennis match.
A Matchbox has a space for:
- the match name
- the type of match
- when it was played
- who played in it
- the number of rounds
- a link to the corresponding forum/etc. post of the match
- (in the case of a tournament match) who won.
COPY THIS CODE INTO YOUR PAGE:
{{MatchboxV2 <!-- Name of the Match --> |MATCHNAME= <!-- Type of match. Leave blank for "Standard" --> |MATCHTYPE= <!-- A picture of part of the match. --> |MATCHIMAGE= <!-- A quote from the match, or description of the image. --> |MATCHQUOTE="" <!-- Start date of the match. Keep dates in "Month Date, Year" format. For example; November 9th, 2000 --> |STARTDATE= <!-- End date.--> |ENDDATE= <!-- Number of rounds in the match --> |ROUNDS= <!-- Use array category generating logic. For cross-compatibility with older versions of the matchbox. set to 'y' --> |GENCATEGORIES= <!-- Participants who partook in this match. Keep as a comma-delimited list ("a,b,c"). If using alias templates, add "|U=1" at the end, for example: {{mrdoognoog|U=1}} IT WILL BREAK OTHERWISE! --> |PARTICIPANTS= <!-- Corresponding match page (one of the many forum sites, etc.) for the match. --> |MATCHPAGE= <!-- Was this a tournament match? Leave blank if no, "y" if yes--> |TOURNAMENT= <!-- Winner of the tournament (if applicable) --> |WINNER= }}
{{{MATCHNAME}}} | |
---|---|
{{{MATCHTYPE}}} | |
[[{{{MATCHIMAGE}}}|200px]] {{{MATCHQUOTE}}} | |
Start Date | {{{STARTDATE}}} |
End Date | {{{ENDDATE}}} |
Rounds | {{{ROUNDS}}} |
Participants | [[Category:Matches involving {{{PARTICIPANTS}}}]] {{{PARTICIPANTS}}} |
Match Page | {{{MATCHPAGE}}} |
Winner | |
{{{WINNER}}} |