Difference between revisions of "Template:Hattrick user"

From Hattrick
m (Reverted edit of 193.229.224.191, changed back to last version by Ranger)
(Use parser function to avoid a malformed photo link when none is provided)
Line 2: Line 2:
 
! colspan="2" bgcolor="#539459" style="font-size: medium;" | {{{hattrick_user}}}
 
! colspan="2" bgcolor="#539459" style="font-size: medium;" | {{{hattrick_user}}}
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
| colspan="2" align="center" | [[Image:{{{ht_user_photo}}}|180px|{{{hattrick_user}}}'s photo]]
+
| colspan="2" align="center" | {{#if: {{{ht_user_photo|}}}|[[Image:{{{ht_user_photo}}}|180px|{{{hattrick_user}}}'s photo]]}}
 
|-
 
|-
 
! colspan="2" bgcolor="#6dbf74" style="font-size: normal;" | Personal information
 
! colspan="2" bgcolor="#6dbf74" style="font-size: normal;" | Personal information

Revision as of 23:06, 26 April 2010

{{{hattrick_user}}}
Personal information
Real name: {{{real_name}}}
Date of birth: {{{date_of_birth}}}
Place of birth: {{{place_of_birth}}}
Residence: {{{residence}}}
Gender: {{{gender}}}
Nationality: {{{nationality}}}
Language(s): {{{languages}}}
Hattrick related information
Team: [[{{{team_name}}}]]
Joined: {{{ht_join_date}}}