Infobox wrestler: Difference between revisions

From SL Pro Wrestling Wiki
/>AStranger195
Created page with "<onlyinclude> {| class="infobox" cellpadding=2 cellspacing=2 width=290px style="float:right; font-family: Arial; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; background..."
 
m 7 revisions imported
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>
<infobox>
{| class="infobox" cellpadding=2 cellspacing=2 width=290px style="float:right; font-family: Arial; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; background-color: white; border:2px solid blue;"
<title source="name"><default>{{PAGENAME}}</default></title>
| align="center" colspan=2 bgcolor="#FFFFFF" style="font-size:110%;" | '''{{{name}}}'''
<image source="image">
|-
    <caption source="caption"></caption>
| colspan="2" style="text-align: center;" | {{{image}}}
    </image>
|-
<group>
! colspan="4" style="background: lightgreen; color: black" |<center>'''Statistics'''</center>
    <header>Statistics</header>
|-
    <data source="names"><label>Ring names</label></data>
|- class="hiddenStructure{{{names}}}"
    <data source="height"><label> Height</label></data>
! style | '''Ring names'''
    <data source="weight"><label>Weight</label></data>
| {{{names}}}
    <data source="birth_date">
|-
        <label>Born</label>
|- class="hiddenStructure{{{height}}}"
            <format>{{{birth_date}}} {{#if: {{{birth_place|}}} | <br/>{{{birth_place}}} }}</format>
! style | ''' Height'''
        </data>
| {{{height}}}
    <data source="death_date">
|-
        <label>Died</label>
|- class="hiddenStructure{{{weight}}}"
            <format>{{{death_date}}} {{#if: {{{death_place|}}} | <br/>{{{death_place}}} }}</format>
!style | '''Weight'''
    </data>
| {{{weight}}}
    <data source="resides"><label>Resides</label></data>
|-
    <data source="billed"><label>Billed from</label></data>
|- class="hiddenStructure{{{birth_date}}}"
    <data source="trainer"><label>Trainer</label></data>
! style | '''Born'''
    <data source="debut"><label>Debut</label></data>
| {{{birth_date}}}
    <data source="retired"><label>Retired</label></data>
|-
</group>
|- class="hiddenStructure{{{birth_place}}}"
</infobox><noinclude>{{Documentation}}</noinclude>
!style |
| {{{birth_place}}}
|-
|- class="hiddenStructure{{{death_date}}}"
! style= | Died
| {{{death_date}}}
|-
|- class="hiddenStructure{{{death_place}}}"
! style= |
| {{{death_place}}}
|-
|- class="hiddenStructure{{{resides}}}"
! style= | Resides
| {{{resides}}}
|-
|- class="hiddenStructure{{{billed}}}"
! style=| Billed from
| {{{billed}}}
|-
|- class="hiddenStructure{{{trainer}}}"
!style |'''Trainer'''
| {{{trainer}}}
|-
|- class="hiddenStructure{{{debut}}}"
!style | '''Debut'''
| {{{debut}}}
|-
|- class="hiddenStructure{{{retired}}}"
! style= | Retired
| {{{retired}}}
|}</onlyinclude>
 
==Code==
<pre>
{{Infobox Wrestler
| name =
| image =
| names =
| height =
| weight =
| birth_date =
| birth_place =
| death_date =
| death_place =
| resides =
| billed =
| trainer =
| debut =
| retired =
}}
</pre>
 
==Description of fields==
* '''name'''. The person's birth (or legal) name.
* '''names'''. Known ring names separated by the &lt;br&gt; tag.
* '''image'''. The image filename
* '''height'''. Wrestler's height; example: ''5 ft 11 in (179 cm)'' (round it to the nearest centimeter).
* '''weight'''. Wrestler's weight; example: ''234 lb (108 kg)''.
* '''birth_date'''. Date or year of birth.
* '''birth_place'''. Birthplace or hometown &ndash;&nbsp;do not include country.
* '''death_date'''. Date or year of death.
* '''death_place'''. Place of death.
* '''resides'''. Current place of residence (leave blank if dead).
* '''billed'''. Location billed by the promoter.
* '''trainer'''. Trainers' names separated by the &lt;br&gt; tag &mdash;wikilink the names if adequate.
* '''debut'''. Date or year of professional debut.
* '''retired'''. Date or year of '''permanent''' retirement.
[[Category:Infobox templates|Wrestler]]
</noinclude>

Latest revision as of 09:12, 2 August 2024

<infobox> <title source="name"><default>Infobox wrestler</default></title> <image source="image">

</image> <group> <header>Statistics</header> <label>Ring names</label> <label> Height</label> <label>Weight</label> <label>Born</label> <format>{{{birth_date}}} {{#if: |
{{{birth_place}}} }}</format>
<label>Died</label> <format>{{{death_date}}} {{#if: |
{{{death_place}}} }}</format>
<label>Resides</label> <label>Billed from</label> <label>Trainer</label> <label>Debut</label> <label>Retired</label> </group> </infobox>Template:Documentation