Template:Infobox UFFL draftee: Difference between revisions

From UFFL Wiki
(WIP)
 
m (Image sizing fix test #1)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{ RID | {{PAGENAME}} }} | No ID assigned || {{#vardefine:plyr|{{RID|{{PAGENAME}}}} }} }}
{| class="infobox vcard" style="width: 23.25em; float: right;"
{| class="infobox vcard" style="width: 23.25em; float: right;"
|+ <span style="font-size: 20px; font-weight: bold">{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} </span> <br/ > <span style="font-size: 12px; font-weight: bold>({{{species}}}, {{{position}}})</span><br /><span style="font-size: 10px;">ID#{{RID|{{PAGENAME}}}}</span>
|+ <span style="font-size: 20px; font-weight: bold">{{{name|<includeonly>{{PAGENAME}}</includeonly>}}} </span> <br/ > <span style="font-size: 12px; font-weight: bold>({{{species}}}, {{{position}}})</span><br /><span style="font-size: 10px;">ID# {{RID|{{PAGENAME}}}}</span>
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{image}}}|{{px|{{{image_size|}}}|{{{width|}}}|frameless}}|alt={{{alt|}}}]]
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
{{!}}-
{{!}}-
{{#if:{{{caption|}}}|
{{#if:{{{caption|}}}|
Line 64: Line 63:
{{#if:{{{height_ft|}}}{{{height_in|}}}|
{{#if:{{{height_ft|}}}{{{height_in|}}}|
! {{nowrap|Listed height}}
! {{nowrap|Listed height}}
{{!}} {{convert|{{{height_ft|0|}}}|ft|{{#if:{{{height_in|}}}|{{{height_in}}}|0}}|in|2|abbr=on}}{{{height_footnote|}}}
{{!}} {{#if:{{both|{{{height_ft|}}}|{{{height_in|}}}}}|{{convert|{{{height_ft}}}|ft|{{{height_in}}}|in|2|abbr=on}}|{{{height_ft}}} ft {{{height_in}}} in}}{{{height_footnote|}}}
    |{{#if:{{{height_m|}}}
      |{{convert|{{{height_m|0}}}|m|ftin|0|abbr=on}}{{{height_footnote|}}}
      |{{{height|}}}{{{height_footnote|}}}
      }}
    }}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{weight_lbs|}}}{{{weight_lb|}}}|
{{#if:{{{weight_lbs|}}}{{{weight_lb|}}}|
! {{nowrap|Listed weight}}
! {{nowrap|Listed weight}}
{{!}} {{#if:{{{weight_lbs|{{{weight_lb|}}}}}}
{{!}} {{#if:{{{weight_lbs|}}}{{{weight_lb|}}}|{{convert|{{{weight_lbs|{{{weight_lb}}}}}}|lb|kg|0|abbr=on}}|{{{weight_lb}}} lb}}{{{weight_footnote|}}}
    |{{convert|{{{weight_lbs|{{{weight_lb|}}}}}}|lb|kg|0|abbr=on}}{{{weight_footnote|}}}
    |{{#if:{{{weight_kg|}}}
      |{{convert|{{{weight_kg|0}}}|kg|lb|0|abbr=on}}{{{weight_footnote|}}}
      |{{{weight|}}}{{{weight_footnote|}}}
      }}
    }}
{{!}}-
{{!}}-
}}
}}

Latest revision as of 22:21, 18 August 2021


({{{species}}}, {{{position}}})
ID# No ID assigned
2021 Draft Candidate
Player Contacts
Agent (none)
Template documentation[view] [edit] [history] [purge]

Blank template with all parameters

{{Infobox UFFL draftee
| name           = 
| image          = 
| image_size     = 
| width          = 
| alt            = 
| caption        = 
| position       = 
| nickname1      = 
| nickname2      = 
| nickname3      = 
| species        = 
| gender         = 
| birth_date     = {{birth date and age|1998|4|28|mf=yes}}
| hometown       = 
| nationality    = 
| height_ft      = 
| height_in      = 
| weight_lb      = 
| handed         = 
| college        = 
| awards         = 
| agent          = 
}}