Jump to content

Template:Infobox boxer: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
reduce need for optional rows to minimum, no accessibility problems
Line 1: Line 1:
{| class="infobox" style="font-size: 95%; text-align: left;"
{| class="infobox" style="font-size: 95%; text-align: left;"
|+ style="font-size: larger; | '''{{{name}}}'''
|+ style="font-size: larger; | '''{{{name}}}'''
{{qif|test={{{image|}}}|then=<tr><td colspan="2" style="font-size: smaller; text-align: center;">[[Image:{{{image}}}|200px]]<br />{{{caption|}}}</td></tr>}}
|-
| colspan="2" style="font-size: smaller; text-align: center;" | [[Image:{{{image|Horizontal rule line (black-blue).gif}}}|200px]]<br>{{{caption|}}}
|-
|-
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Statistics
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Statistics
Line 11: Line 10:
! Weight division
! Weight division
| {{{weight}}}
| {{{weight}}}
{{qif|test={{{nationality|}}}|then=<tr><th>Nationality</th><td>{{{nationality|}}}</td></tr>}}
|-
! Nationality
| {{{nationality|}}}
|-
|-
! Born
! Born
| {{{birth_date}}}<BR>{{{birth_place|}}}
| {{{birth_date}}}<br />{{{birth_place|}}}
{{qif|test={{{death_date|}}}|then=<tr><th>Died</th><td>{{{death_date|}}}<br />{{{death_place|}}}</td></tr>}}
|- class{{{death_date|}}}="hiddenStructure"
! Died
| {{{death_date|}}}<BR>{{{death_place|}}}
|-
|-
! Style
! Style
Line 71: Line 66:
}}
}}
</pre>
</pre>

'''Note:''' The parameters ''image'', ''caption'', ''nationality'', ''death_date'' and ''death_place'' are optional and may be omitted.
'''Note:''' The parameters ''image'', ''caption'', ''nationality'', ''death_date'' and ''death_place'' are optional and may be omitted.

[[ja:Template:Boxing statsbox]]
[[ja:Template:Boxing statsbox]]
[[Category:Infobox templates|Boxer]]
[[Category:Infobox templates|Boxer]]

Revision as of 03:50, 17 March 2006

{{{name}}}
Statistics
Nickname {{{nickname}}}
Weight division {{{weight}}}
Born {{{birth_date}}}
Style {{{style}}}
Record
Total fights {{{total}}}
Wins {{{wins}}}
KOs {{{KO}}}
Losses {{{losses}}}
Draws {{{draws}}}
No contests {{{no contests}}}

Usage

{{Infobox_Boxer
| name = 
| image = 
| caption = 
| nickname = 
| birth name =
| weight = 
| nationality = 
| birth_date = 
| birth_place = 
| death_date = 
| death_place = 
| style = 
| total = 
| wins = 
| KO = 
| losses = 
| draws = 
| no contests = 
| footnotes =
}}

Note: The parameters image, caption, nationality, death_date and death_place are optional and may be omitted.