Template:MATCHBOX Infobox style/doc: Difference between revisions
Jump to navigation
Jump to search
m Admin moved page Template:WPMILHIST Infobox style/doc to Template:MATCHBOX Infobox style/doc |
deprecation warning |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Lua|Module: | '''<big><big><big>THIS IS DEPRECATED! USE [[Template:MatchboxV2|THIS]] INSTEAD.</big></big></big>''' | ||
{| {{ | |||
{{Lua|Module:MATCHBOX Infobox style|Module:Data}} | |||
{| {{MATCHBOX Infobox style|main_box}} | |||
|- | |- | ||
! colspan="2" {{ | ! colspan="2" {{MATCHBOX Infobox style|header_bar}} | MATCH NAME | ||
|- | |- | ||
| colspan="2" {{ | | colspan="2" {{MATCHBOX Infobox style|sub_header_bar}} | (type of match, if applicable) | ||
|- | |- | ||
| colspan="2" {{ | | colspan="2" {{MATCHBOX Infobox style|image_box}} | [[File:Campers.png|200px]] <br/> "''(quote from the match, etc.)''" | ||
|- | |- | ||
! style="padding-right: 1em;" | | ! style="padding-right: 1em;" | Start Date | ||
| | | November 9th, 1900 | ||
|- | |- | ||
! style="padding-right: 1em;" | | ! style="padding-right: 1em;" | End Date | ||
| | | April 4th, 2000 | ||
|- | |- | ||
! | ! style="padding-right: 1em;" | Rounds | ||
| 6 | |||
|- | |- | ||
! style="padding-right: 1em;" | Participants | |||
| | | ''player1, player2, etc.'' | ||
|- | |- | ||
<!--- if the match page is not known, replace with MissingMatchPage template! ---> | |||
! style="padding-right: 1em;" | Match Page | |||
| <!-- {{MissingMatchPage}} --> [https://example.com/ link] | |||
<!--- the following can be deleted if this isn't a tournament match ---> | |||
|- | |- | ||
! colspan="2" {{ | ! colspan="2" {{MATCHBOX Infobox style|header_bar}} | Winner (if applicable) | ||
|- | |- | ||
| colspan="2" {{ | | colspan="2" {{MATCHBOX Infobox style|image_box_plain}} | (Winner) | ||
|} | |} | ||
The | The "Match Box", derived from Wikipedia's Military History Infobox. | ||
'''COPY THIS CODE INTO YOUR PAGE:''' | |||
<pre>{| {{MATCHBOX Infobox style|main_box}} | |||
|- | |||
! colspan="2" {{MATCHBOX Infobox style|header_bar}} | MATCH NAME | |||
|- | |||
| colspan="2" {{MATCHBOX Infobox style|sub_header_bar}} | (type of match, if applicable) | |||
|- | |||
| colspan="2" {{MATCHBOX Infobox style|image_box}} | [[File:Campers.png|200px]] <br/> "''(quote from the match, etc.)''" | |||
|- | |||
! style="padding-right: 1em;" | Start Date | |||
| November 9th, 1900 | |||
|- | |||
! style="padding-right: 1em;" | End Date | |||
| April 4th, 2000 | |||
|- | |||
! style="padding-right: 1em;" | Rounds | |||
| 6 | |||
|- | |||
! style="padding-right: 1em;" | Participants | |||
| ''player1, player2, etc.'' | |||
|- | |||
<!--- if the match page is not known, replace with MissingMatchPage template! ---> | |||
! style="padding-right: 1em;" | Match Page | |||
| {{MissingMatchPage}} <!-- [https://example.com/ link] --> | |||
<!--- the following can be deleted if this isn't a tournament match ---> | |||
|- | |||
! colspan="2" {{MATCHBOX Infobox style|header_bar}} | Winner (if applicable) | |||
|- | |||
| colspan="2" {{MATCHBOX Infobox style|image_box_plain}} | (Winner) | |||
|}</pre> | |||
The style is controlled by the {{tl|MATCHBOX Infobox style}} template, which generates a number of different codes based on the parameter passed to it. | |||
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.<noinclude> |
Latest revision as of 19:23, 6 April 2025
This is a documentation subpage for Template:MATCHBOX Infobox style. It may contain usage information, categories and other content that is not part of the original template page. |
THIS IS DEPRECATED! USE THIS INSTEAD.
This template uses Lua: |
MATCH NAME | |
---|---|
(type of match, if applicable) | |
![]() "(quote from the match, etc.)" | |
Start Date | November 9th, 1900 |
End Date | April 4th, 2000 |
Rounds | 6 |
Participants | player1, player2, etc. |
Match Page | link |
Winner (if applicable) | |
(Winner) |
The "Match Box", derived from Wikipedia's Military History Infobox.
COPY THIS CODE INTO YOUR PAGE:
{| {{MATCHBOX Infobox style|main_box}} |- ! colspan="2" {{MATCHBOX Infobox style|header_bar}} | MATCH NAME |- | colspan="2" {{MATCHBOX Infobox style|sub_header_bar}} | (type of match, if applicable) |- | colspan="2" {{MATCHBOX Infobox style|image_box}} | [[File:Campers.png|200px]] <br/> "''(quote from the match, etc.)''" |- ! style="padding-right: 1em;" | Start Date | November 9th, 1900 |- ! style="padding-right: 1em;" | End Date | April 4th, 2000 |- ! style="padding-right: 1em;" | Rounds | 6 |- ! style="padding-right: 1em;" | Participants | ''player1, player2, etc.'' |- <!--- if the match page is not known, replace with MissingMatchPage template! ---> ! style="padding-right: 1em;" | Match Page | {{MissingMatchPage}} <!-- [https://example.com/ link] --> <!--- the following can be deleted if this isn't a tournament match ---> |- ! colspan="2" {{MATCHBOX Infobox style|header_bar}} | Winner (if applicable) |- | colspan="2" {{MATCHBOX Infobox style|image_box_plain}} | (Winner) |}
The style is controlled by the {{MATCHBOX Infobox style}} template, which generates a number of different codes based on the parameter passed to it.
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.