Difference between revisions of "Template:Infobox AFL player"
Jump to navigation
Jump to search
imported>The-Pope (Add optional image size and image capt options) |
imported>Severo m (trying to fix whitespaces) |
||
| Line 3: | Line 3: | ||
{{#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" 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 20: | Line 18: | ||
| '''Recruited from''' | | '''Recruited from''' | ||
| {{{originalteam}}} | | {{{originalteam}}} | ||
| + | |- | ||
{{#if: {{{heightweight|}}} | | {{#if: {{{heightweight|}}} | | ||
| − | |||
{{!}} '''Height/Weight''' | {{!}} '''Height/Weight''' | ||
{{!}} {{{heightweight}}} | {{!}} {{{heightweight}}} | ||
}} | }} | ||
| − | |||
{{!}}- | {{!}}- | ||
| + | {{#if: {{{deathdate|<noinclude>-</noinclude>}}} | | ||
{{!}} '''Death''' | {{!}} '''Death''' | ||
{{!}} {{{deathdate}}}, {{{deathplace}}} | {{!}} {{{deathdate}}}, {{{deathplace}}} | ||
| + | {{!}}- | ||
}} | }} | ||
| − | |||
! colspan="2" style="background: #003399; color: #ffffff;" | Playing Career¹ | ! colspan="2" style="background: #003399; color: #ffffff;" | Playing Career¹ | ||
|- | |- | ||
Revision as of 13:16, 29 August 2007
| Personal Info | |
|---|---|
| Birth | {{{birthdate}}}, {{{birthplace}}} |
| Recruited from | {{{originalteam}}} |
| Death | {{{deathdate}}}, {{{deathplace}}} |
| Playing Career¹ | |
| Debut | {{{debutdate}}}, {{{debutteam}}} vs. {{{debutopponent}}}, at {{{debutstadium}}} |
| Team(s) | {{{playingteams}}} |
| ¹ Statistics to end of {{{statsend}}} season | |
| Career Highlights | |
| {{{careerhighlights}}} | |