Difference between revisions of "Template:Infobox AFL player"

From blackwiki
Jump to navigation Jump to search
imported>Severo
m (trying to fix whitespaces)
imported>Severo
(removed commented out image stuff, if you need it will be in the history, other cleanup)
Line 1: Line 1:
 
{| class="infobox" style="width: 25em; font-size: 95%;"
 
{| class="infobox" style="width: 25em; font-size: 95%;"
 
|+ style="font-size: larger;" | '''{{{firstname}}} {{{lastname}}}'''
 
|+ style="font-size: larger;" | '''{{{firstname}}} {{{lastname}}}'''
 
 
{{#if: {{{image name|}}}  
 
{{#if: {{{image name|}}}  
|<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}}}]] <br /><div style="font-size: 90%; line-height: 15px;">{{{image capt|}}}</div></td></tr>}}<!--
+
|<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}}}]] <br /><div style="font-size: 90%; line-height: 15px;">{{{image capt|}}}</div></td></tr>
 
 
old image links{{#if: {{{image name|}}} |
 
 
{{!}}-
 
{{!}}-
{{!}} colspan="2" align="center" {{!}} [[Image:{{{image name}}}|200px|{{{firstname}}} {{{lastname}}}]]}}-->
+
}}
|-
+
! colspan="2" style="background: #003399; color: #ffffff;" | Personal Info
! colspan="2" style="background: #003399; color: #ffffff;" | Personal Info<!--
 
|-
 
{{Infobox afl player/{{{image}}}|image name={{{image name}}}|name={{{firstname}}} {{{lastname}}}}}-->
 
 
|-
 
|-
 
| '''Birth'''  
 
| '''Birth'''  
Line 19: Line 13:
 
| {{{originalteam}}}
 
| {{{originalteam}}}
 
|-
 
|-
{{#if: {{{heightweight|}}} |
+
{{#if: {{{heightweight|<noinclude>-</noinclude>}}} |
 
{{!}} '''Height/Weight'''
 
{{!}} '''Height/Weight'''
 
{{!}} {{{heightweight}}}
 
{{!}} {{{heightweight}}}
Line 36: Line 30:
 
| '''Team(s)'''  
 
| '''Team(s)'''  
 
| {{{playingteams}}}
 
| {{{playingteams}}}
{{#if: {{{coachingteams|}}} |
+
|-
{{!}}-
+
{{#if: {{{coachingteams|<noinclude>-</noinclude>}}} |
 
! colspan="2" style="background: #003399; color: #ffffff;" {{!}} Coaching Career¹
 
! colspan="2" style="background: #003399; color: #ffffff;" {{!}} Coaching Career¹
 
{{!}}-
 
{{!}}-
 
{{!}}'''Team(s)'''
 
{{!}}'''Team(s)'''
 
{{!}}{{{coachingteams}}}
 
{{!}}{{{coachingteams}}}
 +
{{!}}-
 
}}
 
}}
|-
 
 
| colspan="2" align="center" style="font-size:90%" | ¹ Statistics to end of {{{statsend}}} season
 
| colspan="2" align="center" style="font-size:90%" | ¹ Statistics to end of {{{statsend}}} season
 
|-
 
|-

Revision as of 13:24, 29 August 2007

{{{firstname}}} {{{lastname}}}
Personal Info
Birth {{{birthdate}}}, {{{birthplace}}}
Recruited from {{{originalteam}}}
Height/Weight {{{heightweight}}}
Death {{{deathdate}}}, {{{deathplace}}}
Playing Career¹
Debut {{{debutdate}}}, {{{debutteam}}} vs. {{{debutopponent}}}, at {{{debutstadium}}}
Team(s) {{{playingteams}}}
Coaching Career¹
Team(s) {{{coachingteams}}}
¹ Statistics to end of {{{statsend}}} season
Career Highlights
{{{careerhighlights}}}