Template:MATCHBOX Infobox style/doc: Difference between revisions

No edit summary
added copy template (for real this time)
Line 8: Line 8:
| colspan="2" {{MATCHBOX Infobox style|sub_header_bar}} | (type of match, if applicable)
| 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.)
| colspan="2" {{MATCHBOX Infobox style|image_box}} | [[File:Campers.png|200px]] <br/> "''(quote from the match, etc.)''"
|-
|-
! style="padding-right: 1em;" | Start Date
! style="padding-right: 1em;" | Start Date
Line 20: Line 20:
| colspan="2" style="text-align: center; border-top: {{MATCHBOX Infobox style|section_border}}" | ''(the players in the match, in the order they participated)''
| colspan="2" style="text-align: center; border-top: {{MATCHBOX Infobox style|section_border}}" | ''(the players in the match, in the order they participated)''
|-
|-
! colspan="2" {{MATCHBOX Infobox style|header_bar}} | Winner
! colspan="2" {{MATCHBOX Infobox style|header_bar}} | Winner (if applicable)
|-
|-
| colspan="2" {{MATCHBOX Infobox style|image_box_plain}} | Winner (if applicable)
| colspan="2" {{MATCHBOX Infobox style|image_box_plain}} | (Winner)
|}
|}


The "Match Box", derived from Wikipedia's Military History Infobox.
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
| January 1st, 2000
|-
! colspan="2" {{MATCHBOX Infobox style|header_bar}} | Participants
|-
| colspan="2" style="text-align: center; border-top: {{MATCHBOX Infobox style|section_border}}" | ''(the players in the match, in the order they participated)''
|-
! 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.
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.