Difference between revisions of "Template:Infobox AFL player"

From blackwiki
Jump to navigation Jump to search
imported>Cobaltcigs
(another conditional)
imported>Frietjes
(Undid revision 521340276 by Jenks24 (talk) no, they have been merged, either provide an example of breakage or stop it)
 
(21 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<table class="infobox vcard" style="width: 22em; font-size: 88%; line-height: 1.5em;">
+
#REDIRECT [[Template:Infobox AFL biography]]
<caption class="fn n" style="font-size: larger; font-weight:bold;">
 
<span class="given-name">{{{firstname|}}}</span> <span class="family-name">{{{lastname|}}}</span>
 
</caption>{{#if: {{{image name<includeonly>|</includeonly>}}}
 
| <tr style="text-align: center;"><td colspan="2">
 
[[Image:{{{image name}}}|{{#ifeq:{{lc:{{{Landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size}}}}}|300|{{{image size}}}}}}}x200|{{min|200|{{#if:{{#ifexpr:{{{image size}}}}}|300|{{{image size}}}}}}}}}px|{{{image capt}}}]]<div>{{{image capt|}}}</div>
 
</td></tr>
 
}}<tr><th colspan="2" style="background:#003399; color:#ffffff;"> Personal information </th></tr>
 
<tr><th>Birth</th><td>{{{birthdate}}}{{#if:{{{birthplace<includeonly>|</includeonly>}}}|, {{{birthplace}}} }}</td></tr>
 
{{#if:{{{originalteam<includeonly>|</includeonly>}}}
 
| <tr><th>Recruited from</th> <td>{{{originalteam}}}</td></tr>
 
}}{{#if: {{{heightweight<includeonly>|</includeonly>}}}
 
| <tr><th> Height and weight</th><td>{{{heightweight}}}</td></tr>
 
}}{{#if: {{{deathdate<includeonly>|</includeonly>}}}
 
| <tr><th>Death</th><td>{{{deathdate}}}{{#if:{{{deathdate<includeonly>|</includeonly>}}}|, {{{deathplace}}} }}</td></tr>
 
}}<tr><th colspan="2" style="background:#003399; color:#ffffff;"> Playing career¹ </th></tr>
 
{{#switch:| {{{debutdate|}}} | {{{debutteam|}}} | {{{debutopponent|}}} | {{{debutstadium|}}} <includeonly>=</includeonly>
 
| #default = <tr><th>Debut</th><td>{{{debutdate}}}, {{{debutteam}}} vs. {{{debutopponent}}}, at {{{debutstadium}}}</td></tr>
 
}}{{#if:{{{playingteams<includeonly>|</includeonly>}}}
 
| <tr><th>Team(s)</th><td>
 
{{{playingteams}}}
 
</td></tr>
 
}}{{#if: {{{coachingteams<includeonly>|</includeonly>}}}
 
| <tr><th colspan="2" style="background:#003399; color:#ffffff;"> Coaching career¹</th></tr>
 
<tr><th>Team(s)</th><td>
 
{{{coachingteams}}}
 
</td></tr>
 
}}{{#if:{{{statsend<includeonly>|</includeonly>}}}
 
| <tr><td colspan="2" style="text-align:center; font-size:90%"> ¹ Statistics to end of {{{statsend}}} season</td></tr>
 
}}{{#if:{{{careerhighlights<includeonly>|</includeonly>}}}
 
| <tr><th colspan="2" style="background:#003399; color:#ffffff;"> Career highlights </th></tr>
 
<tr><td colspan="2">
 
{{{careerhighlights}}}
 
</td></tr>
 
}}</table><noinclude>{{documentation}}</noinclude>
 

Latest revision as of 15:40, 4 November 2012