Difference between revisions of "Template:Football player infobox"

From Phantis
Jump to navigation Jump to search
m
m
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|-
 
|-
 
! style="background: #b0c4de;" colspan="3" | Personal information
 
! style="background: #b0c4de;" colspan="3" | Personal information
{{qif|test={{{fullname|}}}|then=<tr><td>'''Full&nbsp;name'''</td><td colspan="2">{{{fullname}}}</td></tr>}}
+
{{qif|test={{{fullname|}}}|then=|-
 +
| '''Full&nbsp;name''' |
 +
| colspan=2 |{{{fullname}}} }}
 
|-
 
|-
 
|'''Date&nbsp;of&nbsp;birth'''||colspan="2"|{{{dateofbirth}}}
 
|'''Date&nbsp;of&nbsp;birth'''||colspan="2"|{{{dateofbirth}}}
Line 19: Line 21:
 
|-
 
|-
 
|'''Current&nbsp;club'''||colspan="2"|{{{currentclub}}}
 
|'''Current&nbsp;club'''||colspan="2"|{{{currentclub}}}
{{qif|test={{{clubnumber|}}}|then=<tr><td>'''Number'''</td><td colspan="2">{{{clubnumber}}}</td></tr>}}
+
{{qif|test={{{clubnumber|}}}|then=|-
 +
|'''Number''' || colspan="2"{{{clubnumber}}} }}
 
|-
 
|-
 
|'''Position'''||colspan="2"|{{{position}}}
 
|'''Position'''||colspan="2"|{{{position}}}
{{qif|test={{{youthclubs|}}}|then=<tr><th style="background: #b0c4de;" colspan="3">Youth clubs</th></tr><tr><td>{{{youthyears}}}</td><td colspan="2">{{{youthclubs}}}</td></tr>}}
+
{{qif|test={{{youthclubs|}}}|then=|-
 +
| style="background: #b0c4de;" colspan="3" Youth clubs
 +
|-
 +
|{{{youthyears}}} | colspan="2"{{{youthclubs}}} }}
 
|-
 
|-
 
! style="background: #b0c4de;" colspan="3" | Professional clubs*
 
! style="background: #b0c4de;" colspan="3" | Professional clubs*
 
|-
 
|-
 
|{{{years}}}||{{{clubs}}}||{{{caps(goals)}}}
 
|{{{years}}}||{{{clubs}}}||{{{caps(goals)}}}
{{qif|test={{{nationalteam|}}}|then=<tr><th style="background: #b0c4de;" colspan="3">National team**</th></tr><tr><td>{{{nationalyears}}}</td><td>{{{nationalteam}}}</td><td>{{{nationalcaps(goals)}}}</td></tr>}}
+
{{qif|test={{{nationalteam|}}}|then=|-
 +
| style="background: #b0c4de;" colspan="3" National team**
 +
|-
 +
|{{{nationalyears}}}||{{{nationalteam}}}||{{{nationalcaps(goals)}}} }}
 
|-
 
|-
 
! style="font-size: 80%; font-weight: lighter;" colspan="3" |
 
! style="font-size: 80%; font-weight: lighter;" colspan="3" |

Latest revision as of 16:43, April 16, 2006

{{{playername}}}
Personal information
Date of birth {{{dateofbirth}}}
Place of birth {{{cityofbirth}}}, {{{countryofbirth}}}
Height {{{height}}}
Club information
Current club {{{currentclub}}}
Position {{{position}}}
Professional clubs*
{{{years}}} {{{clubs}}} {{{caps(goals)}}}

* Professional club caps and goals counted for the
domestic league only and correct as of
{{{pcupdate}}}.
** National team caps and goals correct
as of {{{ntupdate}}}.

Instructions

The input:

{{Football player infobox
| playername = 
| image = 
| fullname = 
| height = 
| nickname = 
| dateofbirth = 
| cityofbirth = 
| countryofbirth = 
| currentclub = 
| clubnumber = 
| position = 
| youthyears = 
| youthclubs = 
| years = 
| clubs = 
| caps(goals) = 
| nationalyears = 
| nationalteam = 
| nationalcaps(goals) = 
| pcupdate = 
| ntupdate = 
}}

See also