Difference between revisions of "Template:Infobox football biography"
Jump to navigation
Jump to search
(just doing some testing don't mind me) |
(Hopefully someone can optimise this template and make it closer to Wikipedia's version, i gave it a go) Tag: Replaced |
||
Line 1: | Line 1: | ||
{ | {| width="250px" style="float: right; background: #84C544; border: 1px solid #009247;" | ||
| | |- | ||
! colspan="4" style="background: #009247; font-size: 150%; line-height: 100%; color: #FFF; padding-top: 10px; padding-bottom: 10px;" | {{{name|Placeholder}}} | |||
| | |- | ||
! colspan="4" stytle="padding: 10px;" | [[File:{{{image|Unknown Question Mark}}}.png|100px]] | |||
| | |- | ||
| | ! colspan="4" style="background: #009247; color: #FFF;" | Personal information | ||
|- | |||
| width="50%" | '''Date of birth''' | |||
| width="30%" | {{{dob|N/A}}} | |||
| | |- | ||
| | | width="50%" | '''Height''' | ||
| | | width="30%" | {{{height|N/A}}} | ||
| | |||
| | |||
| | |- | ||
| width="60%" | '''Playing position''' | |||
| | | width="30%" | {{#if: {{#switch: {{{pos|}}}|GK|CB|RB|LB|SW|DF|SB|LMF|RMF|DMF|AMF|CMF|MF|SMF|WB|SS|RWF|LWF|CF|FW|WF=True|#default=}} | ||
| | |{{#switch:{{{pos|}}} | ||
| | | GK = {{Position|GK}} | ||
| | | SW = {{Position|SW}} | ||
| | | RB = {{Position|RB}} | ||
| | | LB = {{Position|LB}} | ||
| | | CB = {{Position|CB}} | ||
| | | SB = {{Position|SB}} | ||
| | | DF = {{Position|DF}} | ||
| | | WB = {{Position|WB}} | ||
| | | DMF = {{Position|DMF}} | ||
| | | CMF = {{Position|CMF}} | ||
| | | RMF = {{Position|RMF}} | ||
| | | LMF = {{Position|LMF}} | ||
| | | AMF = {{Position|AMF}} | ||
| | | SMF = {{Position|SMF}} | ||
| | | MF = {{Position|MF}} | ||
| RWF = {{Position|RWF}} | |||
| LWF = {{Position|LWF}} | |||
| SS = {{Position|SS}} | |||
| CF = {{Position|CF}} | |||
| WF = {{Position|WF}} | |||
| FW = {{Position|FW}} | |||
| #default = | |||
}} | |||
| {{{pos|}}} | |||
| | |||
}} | }} | ||
|- | |||
! colspan="4" style="background: #009247; color: #FFF;" | Career | |||
|- | |||
| width="3%" | '''Years''' | |||
| width="30%" | {{{years|N/A}}} | |||
| width="30%" | '''Boards''' | |||
| width="30%" | {{{boards|N/A}}} | |||
| | |- | ||
| width="3%" | '''Apps''' | |||
| width="30%" | {{{apps|N/A}}} | |||
| width="30%" | '''Goals''' | |||
| width="30%" | {{{goals|N/A}}} | |||
|}<noinclude> | |||
==Usage:== | |||
| | <pre>{{ | ||
| name = | |||
| image = | |||
| dob = | |||
| height = | |||
| pos = | |||
| years = | |||
| boards = | |||
| apps = | |||
| goals = | |||
| | }}</pre> | ||
| | [[Category:Templates]]</noinclude> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | |||
</noinclude> |