Template:MatchboxV2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
or this? |
||
| (37 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | |||
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:''' | |||
<pre> | |||
{{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="" | |||
<!-- OPTIONAL: if you want another image, set this to "y" then add image + quotes just like the first. --> | |||
|IMAGE2= | |||
|MATCHIMAGE2= | |||
|MATCHQUOTE2="" | |||
<!-- Start date of the match. Keep dates in "Month Date, Year" format. For example; November 9, 2000 --> | |||
|STARTDATE= | |||
<!-- End date.--> | |||
|ENDDATE= | |||
<!-- Number of rounds in the match --> | |||
|ROUNDS= | |||
<!-- Participants who partook in this match. Keep as a comma-delimited list ("a,b,c"). --> | |||
|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= | |||
}} | |||
</pre> | |||
</noinclude> | |||
{| {{MATCHBOX Infobox style|main_box}} | {| {{MATCHBOX Infobox style|main_box}} | ||
|- | |- | ||
| Line 5: | Line 51: | ||
| colspan="2" {{MATCHBOX Infobox style|sub_header_bar}} | {{if||{{{MATCHTYPE}}}| {{{MATCHTYPE}}} | Standard }} | | colspan="2" {{MATCHBOX Infobox style|sub_header_bar}} | {{if||{{{MATCHTYPE}}}| {{{MATCHTYPE}}} | Standard }} | ||
|- | |- | ||
| colspan="2" {{MATCHBOX Infobox style|image_box}} | [[{{{MATCHIMAGE}}}|200px]] {{if||{{{MATCHQUOTE}}}|<br/>{{{MATCHQUOTE}}}|}} | | colspan="2" {{MATCHBOX Infobox style|image_box}} | {{if||{{{MATCHIMAGE}}}|[[{{{MATCHIMAGE}}}|200px]]|[[Category:Matches with missing images]]<nowiki/>}} {{if||{{{MATCHQUOTE}}}|<br/>{{{MATCHQUOTE}}}|}} | ||
|- | |||
| colspan="2" {{MATCHBOX Infobox style|image_box}} | {{#if:{{{IMAGE2|}}}|{{if||{{{MATCHIMAGE2}}}|[[{{{MATCHIMAGE2}}}|200px]]|[[Category:Matches with missing images]]<nowiki/>}} {{if||{{{MATCHQUOTE2}}}|<br/>{{{MATCHQUOTE2}}}|}}|}} | |||
|- | |- | ||
! style="padding-right: 1em;" | Start Date | ! style="padding-right: 1em;" | Start Date | ||
| Line 17: | Line 65: | ||
|- | |- | ||
! style="padding-right: 1em;" | Participants | ! style="padding-right: 1em;" | Participants | ||
| ''{{{PARTICIPANTS}}}'' | |''{{if||{{{PARTICIPANTS}}}|{{{PARTICIPANTS}}}|(tba) [[Category:Matches with missing participant lists]]}}'' | ||
|- | |- | ||
! style="padding-right: 1em;" | Match Page | ! style="padding-right: 1em;" | Match Page | ||
| {{if||{{{MATCHPAGE}}}| | | {{if||{{{MATCHPAGE}}}| {{{MATCHPAGE}}} |{{MissingMatchPage}} }} | ||
|- | |- | ||
! colspan="2" {{MATCHBOX Infobox style|header_bar}} | {{if||{{{TOURNAMENT}}}|Winner|}} | ! colspan="2" {{MATCHBOX Infobox style|header_bar}} | {{if||{{{TOURNAMENT}}}|Winner|}} | ||
Latest revision as of 03:32, 13 September 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=""
<!-- OPTIONAL: if you want another image, set this to "y" then add image + quotes just like the first. -->
|IMAGE2=
|MATCHIMAGE2=
|MATCHQUOTE2=""
<!-- Start date of the match. Keep dates in "Month Date, Year" format. For example; November 9, 2000 -->
|STARTDATE=
<!-- End date.-->
|ENDDATE=
<!-- Number of rounds in the match -->
|ROUNDS=
<!-- Participants who partook in this match. Keep as a comma-delimited list ("a,b,c"). -->
|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 | {{{PARTICIPANTS}}} |
| Match Page | {{{MATCHPAGE}}} |
| Winner | |
| {{{WINNER}}} | |