Infobox wrestler: Difference between revisions

From SL Pro Wrestling Wiki
/>Lady Aleena
m Lady Aleena moved page Template:Infobox Wrestler to Template:Infobox wrestler: lowercase second word
/>Lady Aleena
Infobox updated using the portable infobox migration tool
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>
!style |
<noinclude>
| {{{birth_place}}}
== Usage ==
|-
<pre>
|- class="hiddenStructure{{{death_date}}}"
{{Infobox wrestler
! style= | Died
|name        =
| {{{death_date}}}
|image      =
|-
|caption    =
|- class="hiddenStructure{{{death_place}}}"
|names      =
! style= |
|height      =
| {{{death_place}}}
|weight      =
|-
|birth_date  =
|- class="hiddenStructure{{{resides}}}"
|birth_place =
! style= | Resides
|death_date  =
| {{{resides}}}
|death_place =
|-
|resides    =
|- class="hiddenStructure{{{billed}}}"
|billed      =
! style=| Billed from
|trainer     =
| {{{billed}}}
|debut      =
|-
|retired    =
|- class="hiddenStructure{{{trainer}}}"
}}
!style |'''Trainer'''
</pre>
| {{{trainer}}}
 
|-
== Options ==
|- class="hiddenStructure{{{debut}}}"
* <code>name</code> -  The person's birth (or legal) name.
!style | '''Debut'''
* <code>names</code> -  Known ring names separated by the &lt;br&gt; tag.
| {{{debut}}}
* <code>image</code> -  The image filename
|-  
* <code>height</code> -  Wrestler's height; example: ''5 ft 11 in (179 cm)'' (round it to the nearest centimeter).
|- class="hiddenStructure{{{retired}}}"
* <code>weight</code> -  Wrestler's weight; example: ''234 lb (108 kg)''.
! style= | Retired
* <code>birth_date</code> -  Date or year of birth.
| {{{retired}}}
* <code>birth_place</code> -  Birthplace or hometown &ndash;&nbsp;do not include country.
|}</onlyinclude>
* <code>death_date</code> -  Date or year of death.
* <code>death_place</code> -  Place of death.
* <code>resides</code> -  Current place of residence (leave blank if dead).
* <code>billed</code> - Location billed by the promoter.
* <code>trainer</code> - Trainers' names separated by the &lt;br&gt; tag &mdash;wikilink the names if adequate.
* <code>debut</code> -  Date or year of professional debut.
* <code>retired</code> -  Date or year of '''permanent''' retirement.


==Code==
== Preview ==
{{Infobox wrestler
| name        = Nathan Joseph Wallace
| image      = Placeholder person.png
| caption    = Placehold image
| names      = "the Next Generation" "the Fighting Pride of Clinton" "the Greatest combat athlete of this Generation" "the Prince of Autism"
| height      = 5'11 1/2
| weight      = 220 lbs
| birth_date  = June 4th 1990
| birth_place = Terre Haute, Indiana
| death_date  = unknown
| death_place = unknown
| resides    = Clinton, Indiana
| billed      = the Great Fighting Town of Clinton, Indiana
| trainer    = Tony "the Duke" Evhers
| debut      = November 1991
| retired    = unkwown
}}
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview]
<pre>
<pre>
{{Infobox Wrestler
{{Infobox wrestler
| name = Nathan Joseph Wallace
| name       = Nathan Joseph Wallace
| image =  
| image       = Placeholder person.png
| names = "the Next Generation" "the Fighting Pride of Clinton" "the Greatest combat athlete of this Generation" "the Prince of Autism"
| caption    = Placehold image
| height = 5'11 1/2
| names       = "the Next Generation" "the Fighting Pride of Clinton" "the Greatest combat athlete of this Generation" "the Prince of Autism"
| weight = 220 lbs
| height     = 5'11 1/2
| birth_date = June 4th 1990
| weight     = 220 lbs
| birth_date = June 4th 1990
| birth_place = Terre Haute, Indiana
| birth_place = Terre Haute, Indiana
| death_date = unknown
| death_date = unknown
| death_place = unknown
| death_place = unknown
| resides = Clinton, Indiana
| resides     = Clinton, Indiana
| billed = the Great Fighting Town of Clinton, Indiana
| billed     = the Great Fighting Town of Clinton, Indiana
| trainer = Tony "the Duke" Evhers
| trainer     = Tony "the Duke" Evhers
| debut = November 1991
| debut       = November 1991
| retired = unkwown
| retired     = unkwown
}}
}}
</pre>
</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:Infoboxes not migrated|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 05:04, 17 December 2017

<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>

Usage

{{Infobox wrestler
|name        =
|image       =
|caption     =
|names       =
|height      =
|weight      =
|birth_date  =
|birth_place =
|death_date  =
|death_place =
|resides     =
|billed      =
|trainer     =
|debut       =
|retired     =
}}

Options

  • name - The person's birth (or legal) name.
  • names - Known ring names separated by the <br> 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 – 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 <br> tag —wikilink the names if adequate.
  • debut - Date or year of professional debut.
  • retired - Date or year of permanent retirement.

Preview

Template:Infobox wrestler Click here to refresh the preview

{{Infobox wrestler
| name        = Nathan Joseph Wallace
| image       = Placeholder person.png
| caption     = Placehold image
| names       = "the Next Generation" "the Fighting Pride of Clinton" "the Greatest combat athlete of this Generation" "the Prince of Autism"
| height      = 5'11 1/2
| weight      = 220 lbs
| birth_date  = June 4th 1990
| birth_place = Terre Haute, Indiana
| death_date  = unknown
| death_place = unknown
| resides     = Clinton, Indiana
| billed      = the Great Fighting Town of Clinton, Indiana
| trainer     = Tony "the Duke" Evhers
| debut       = November 1991
| retired     = unkwown
}}