Template:Infobox UFFL player: Difference between revisions

From UFFL Wiki
(Initial)
 
No edit summary
Line 1: Line 1:
<onlyinclude>{| class="infobox" style="font-size:89%; line-height:16px; background-color:{{Infobox UFFL player/style|{{{team}}}}} !important; color:{{Infobox UFFL player/style|{{{team}}}}};"
|-
! colspan="2" style="font-size:110%; padding:1em; text-align:center; {{Infobox UFFL player/style|{{{team}}}}};" | {{{title|<span style="font-size: 20px; font-weight: bold; text-align:center; {{Infobox UFFL player/style|{{{team}}}}} !important;">{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}</span> <br /> <span style="font-size: 12px; font-weight: bold; text-align:center;" {{Infobox UFFL player/style|{{{team}}}}} !important;>({{{team}}}, {{{position}}})</span>}}}
|-
{{#if: {{{image|}}} |
{{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|225}}}px|{{{imagecaption|}}}]]
| }}
|-
{{#if: {{{imagecaption|}}} |
{{!}} class="infobox-caption" colspan="2" {{!}} {{{imagecaption}}}
| }}
|-
{{#if: {{{PID|}}} |
{{!}} colspan="2" {{!}} <div style="font-size: 12px; text-align: center"> Player ID: {{{PID}}} </div>}}
|-
! colspan="2" | <div class="infobox-section-header"></div>
|-
{{#if: {{{nickname|}}} |
! Nickname:
{{!}} {{{nickname}}}
| }}
|-
{{#if: {{{jerseynum|}}} |
! Jersey #:
{{!}} {{{jerseynum}}}
| }}
|-
! Team
| {{{team|''Unknown''}}}
|-
! Position
| {{{position|''Unknown''}}}
|-
! Gender
| {{{gender|''Unknown''}}}
|-
! Species
| {{{species|''Unknown''}}}
|-
! colspan="2" | <div class="infobox-section-header" style="text-align:center;">Details</div>
|-
{{#if: {{{birth_date|}}}{{{birth_place|}}} |
! Born On
{{!}} {{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}}
| }}
|-
! Height
| {{#if:{{{height_ft|}}}
    |{{convert|{{{height_ft|0|}}}|ft|{{#if:{{{height_in|}}}|{{{height_in}}}|0}}|in|2|abbr=on}}{{{height_footnote|}}}
    |{{#if:{{{height_m|}}}
      |{{convert|{{{height_m|0}}}|m|ftin|0|abbr=on}}{{{height_footnote|}}}
      |{{{height|}}}{{{height_footnote|}}}
      }}
    }}
|-
! Weight
| {{#if:{{{weight_lbs|{{{weight_lb|}}}}}}
    |{{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|}}}
      }}
    }}
|-
{{#if: {{{handed|}}} |
! Throws
{{!}} {{{handed}}}
| }}
|-
{{#if: {{{hometown|}}} |
! Hometown
{{!}} {{{hometown}}}
| }}
|-
{{#if: {{{college|}}} |
! School
{{!}} {{{college}}}
| }}
|-
! colspan="2" | <div class="infobox-section-header" style="text-align:center;">Career Info</div>
|-
{{#if: {{{yearstart|}}} |
! Draft Year
{{!}} {{{yearstart}}}
| }}
|-
{{#if: {{{draftpick|}}} |
! Pick # / Draft Round
{{!}} {{{draftpick}}}
| }}
|-
{{#if: {{{yeartotal|}}} |
! Years Pro
{{!}} {{{yeartotal}}}
| }}
|- style="font-size:0; line-height:0;"
! style="width:50%; padding:0" |
! style="width:50%; padding:0" |
|}</onlyinclude>
<noinclude>
   
== Usage & preview ==
== Usage & preview ==
Type in this:
Type in this:

Revision as of 02:21, 17 January 2021


({{{team}}}, {{{position}}})
Team Unknown
Position Unknown
Gender Unknown
Species Unknown
Details
Height
Weight
Career Info



Usage & preview

Type in this:

{{Infobox UFFL player
|PID={{#vardefineecho:PlayerID|40}}
|team={{PID|{{#var:PlayerID}}|21}}
|name={{PID|{{#var:PlayerID}}|3}}
|bkg={{UFFL color cell|{{{team}}}|1}}
|position= {{PID|{{#var:PlayerID}}|19}}
|jerseynum = {{PID|{{#var:PlayerID}}|2}}
|species = {{PID|{{#var:PlayerID}}|4}}
|gender = Male
|image=Theisen_Edmond.jpg
|imagewidth=125
|imagecaption=Art by ~madworld
|nickname=Eddie
|handed = Right
|height = {{convert|{{#expr:{{PID|{{#var:PlayerID}}|7}}/12 round 2}}|ft|m}}
|weight = {{convert|{{PID|{{#var:PlayerID}}|8}}|lb|kg|abbr=on}}
|birth_date = {{Birth date and age|1990|10|11|mf=yes}}
|hometown = Walpole, NH, USA
|college = Edgerton College
|draftpick = Round 2 - #20
|yearstart = {{#expr:{{CurrentUFFLSeason}}+1-{{PID|{{#var:PlayerID}}|6}}}}
|yearend = 
|yeartotal = {{PID|{{#var:PlayerID}}|6}}
|awards = {{PID|{{#var:PlayerID}}|24}}
}}

to see this:

---
(---, ---)
Art by ~madworld
Art by ~madworld
Player ID: 40
Nickname: Eddie
Jersey #: 53
Team ---
Position ---
Gender Male
Species Cattle / Edgerton
Details
Born On (1990-10-11) October 11, 1990 (age 34)
Height 6.33 feet (1.93 m)
Weight 275 lb (125 kg)
Throws Right
Hometown Walpole, NH, USA
School Edgerton College
Career Info
Draft Year 2015
Pick # / Draft Round Round 2 - #20
Years Pro 7


Click here to refresh the preview above