Template:Infobox UFFL player: Difference between revisions

From UFFL Wiki
m (float right)
(Cleaning up query links)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{ RID | {{PAGENAME}} }} | No ID assigned || {{#vardefine:plyr|{{RID|{{PAGENAME}}}} }} }}{{ infobox
{{#ifeq:{{ RID | {{PAGENAME}} }} | No ID assigned || {{#vardefine:plyr|{{RID|{{PAGENAME}}}} }} }}{{ infobox
| bodyclass = vcard
| bodyclass = vcard
| bodystyle = float:right; width:25em  
| bodystyle = border:1px solid #660101; padding:0.5em; margin:0.75em; float:right; width:23.25em; font-size:89%; line-height:18px; background-color:{{Infobox UFFL player/style|{{{team}}}}} !important; color:{{Infobox UFFL player/style|{{{team}}}}};
 
<!--- style="font-size:89%; line-height:16px; background-color:{{Infobox UFFL player/style|{{{team}}}}} !important; color:{{Infobox UFFL player/style|{{{team}}}}};" --->


| titleclass = fn summary
| titleclass = fn summary


| title = <span style="font-size: 20px; font-weight: bold; text-align:center;">{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}</span> <br /> <span style="font-size: 12px; font-weight: bold; text-align:center;"> ({{{team}}}, {{{position}}})</span><br />
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| abovestyle = font-size: 20px; font-weight: bold; text-align:center;
| subheader = ({{{team}}}, {{{position}}})
| subheaderstyle = font-size: 12px; font-weight: bold; text-align:center;


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
Line 22: Line 23:
| }}--->
| }}--->


| headerstyle = {{Infobox UFFL player/style|{{Convert/teamabbr|{{{team}}}}}}}
| headerstyle = {{Infobox UFFL player/style|{{Convert/teamabbr|{{{team}}}}}}}; padding: 0.25em


| header2 = {{#if:{{{PID|}}}
| header2 = {{#if:{{{PID|}}}{{{nickname|}}}{{{jerseynum|}}}{{{current_team|}}}{{{gender|}}}{{{career_position|}}}{{{species|}}}|}}
  |<small>Player ID #<!-- -->}}</small>
 
| data2 = <small><!-- {{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|3}}}}[[Position::{{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|3}}}}| ]]-->{{RID|{{PAGENAME}}}}</small>
| header3 = {{#if:{{{PID|}}}
| class2 = role
  |<small>Player ID #<!-- -->}}<!-- {{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|3}}}}[[Position::{{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|3}}}}| ]]-->{{RID|{{PAGENAME}}}}</small>


| label4 = Nickname(s)
| label4 = Nickname(s)
| data4 = {{#if: {{{nickname|}}}}}
| data4 = {{{nickname|}}}


| label5 = Jersey #
| label5 = {{#if:{{{current_team|}}}
| data5 = {{#if: {{{jerseynum|}}}}}
 
| label6 = {{#if:{{{current_team|}}}
|Team<!--
|Team<!--
               -->}}
               -->}}
| data6     = {{Convert/teamabbr|{{PID|{{RID|{{PAGENAME}}}}|21}}}}[[Team::{{Convert/teamabbr|{{PID|{{RID|{{PAGENAME}}}}|21}}}}| ]]
| data5     = {{Convert/teamabbr|{{PID|{{RID|{{PAGENAME}}}}|21}}}}
| class6     = role
| class5     = role


| label7 = Position
| label6 = Position
| data7 = {{Convert/pos|{{{career_position|}}}}}
| data6 = {{{career_position|}}}
 
| label7 = Jersey #
| data7 = {{{jerseynum|}}}


| label8      = Gender
| label8      = Gender
| data8      = {{{gender|}}}[[Gender::{{{gender|}}}| ]]
| data8      = {{{gender|}}}<!--[[Gender::{{{gender|}}}| ]]-->


| label9      = Species
| label9      = Species
| data9      = {{PID|{{RID|{{PAGENAME}}}}|4}} [[Species::{{PID|{{RID|{{PAGENAME}}}}|4}}| ]]
| data9      = {{PID|{{RID|{{PAGENAME}}}}|4}}<!--[[Category:{{PID|{{RID|{{PAGENAME}}}}|4}}|]]-->


| header10 = {{#if:{{{birth_date|}}}{{{birth_place|}}}{{{hometown|}}}{{{handed|}}}{{{college|}}}{{{height_ft|}}}{{{height_m|}}}{{{weight_lbs|}}}{{{weight_kg|}}}|Details}}
| header10 = {{#if:{{{birth_date|}}}{{{birth_place|}}}{{{hometown|}}}{{{handed|}}}{{{college|}}}{{{height_ft|}}}{{{height_m|}}}{{{weight_lbs|}}}{{{weight_kg|}}}|Details}}  
| data11 = <hr>


| label11 = Born On
| label12 = Born On
| data11 = {{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}}
| data12 = {{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}}


| label12 = Height
| label13 = Height
| data12 = {{#if:{{{height_ft|}}}
| data13 = {{#if:{{{height_ft|}}}
     |{{convert|{{{height_ft|0|}}}|ft|{{#if:{{{height_in|}}}|{{{height_in}}}|0}}|in|2|abbr=on}}{{{height_footnote|}}}
     |{{convert|{{{height_ft|0|}}}|ft|{{#if:{{{height_in|}}}|{{{height_in}}}|0}}|in|2|abbr=on}}{{{height_footnote|}}}
     |{{#if:{{{height_m|}}}
     |{{#if:{{{height_m|}}}
Line 64: Line 66:
     }}
     }}


| label13 = Weight
| label14 = Weight
| data13 = {{#if:{{{weight_lbs|{{{weight_lb|}}}}}}
| data14 = {{#if:{{{weight_lbs|{{{weight_lb|}}}}}}
     |{{convert|{{{weight_lbs|{{{weight_lb|}}}}}}|lb|kg|0|abbr=on}}{{{weight_footnote|}}}
     |{{convert|{{{weight_lbs|{{{weight_lb|}}}}}}|lb|kg|0|abbr=on}}{{{weight_footnote|}}}
     |{{#if:{{{weight_kg|}}}
     |{{#if:{{{weight_kg|}}}
Line 73: Line 75:
     }}
     }}


| label14 = Throws
| label15 = Throws
| data14 = {{{handed|}}}
| data15 = {{{handed|}}}
 
| label16 = Hometown
| data16 = {{{hometown|}}}


| label15 = Hometown
| label17 = College
| data15 = {{{hometown|}}}
| data17 = {{{college|}}}  


| label16 = College
| header18 = {{#if:{{{yearstart|}}}{{{draftpick|}}}{{{yeartotal|}}}|Career Info}}
| data16 = {{{college|}}}  
| data19 = <hr>


| header17 = {{#if:{{{yearstart|}}}{{{draftpick|}}}{{{yeartotal|}}}|Career Info}}
| label20 = [[:Category:Drafts|Draft]]
| data20 = {{#if:{{{yearstart|{{{draft_year|}}}}}}|[[{{{yearstart|{{{draft_year}}}}}} UFFL Draft|{{{yearstart|{{{draft_year}}}}}}]] / {{#if:{{{draftround|{{{draft_round|}}}}}}|Round: {{{draftround|{{{draft_round}}}}}}|[[Undrafted players|Undrafted]]}} {{#if:{{{draftpick|{{{draft_pick|}}}}}}|/ Pick: {{#ifeq:{{{draftpick|{{{draft_pick}}}}}}|1|[[List of first overall UFFL draft picks|1st]]|{{Ordinal|{{{draftpick|{{{draft_pick}}}}}}}}}}|}}|}}
| data21 = {{#if:{{both|{{{yearstart|{{{draft_year|}}}}}}|{{{draftteam|{{{draft_team|}}}}}}}}|Drafted by [[{{{{{Convert/teamabbr|{{{draftteam}}}}}|{{Convert/teamabbr|{{{draft_team}}}}} }}}]] }}


| label18 = [[Draftees|Draft]]
| label22 = Years Pro
| data18 = {{#if:{{{yearstart|{{{draft_year|}}}}}}|[[{{{yearstart|{{{draft_year}}}}}} UFFL Draft|{{{yearstart|{{{draft_year}}}}}}]] / {{#if:{{{draftround|{{{draft_round|}}}}}}|Round: {{{draftround|{{{draft_round}}}}}}|[[Undrafted players|Undrafted]]}} {{#if:{{{draftpick|{{{draft_pick|}}}}}}|/ Pick: {{#ifeq:{{{draftpick|{{{draft_pick}}}}}}|1|[[List of first overall UFFL draft picks|1st]]|{{Ordinal|{{{draftpick|{{{draft_pick}}}}}}}}}} overall|}}|}}
| data22 = {{{yeartotal|}}}
| data19 = {{#if:{{both|{{{yearstart|{{{draft_year|}}}}}}|{{{draftteam|{{{draft_team|}}}}}}}}|Drafted by [[{{{{{Convert/teamabbr|{{{draftteam}}}}}|{{Convert/teamabbr|{{{draft_team}}}}} }}}]] }}


| label20 = Years Pro
| label23 = Awards
| data20 = {{#if:{{{debutyear|{{{career_start|}}}}}}|{{{debutyear|{{{career_start|}}}}}}–{{#if:{{{finalyear|{{{career_end|}}}}}}|{{{finalyear|{{{career_end}}}}}}|present}} }}
| data23 = {{{awards|}}}


}}<noinclude>
}}<noinclude>

Latest revision as of 03:52, 9 August 2021

({{{team}}}, {{{position}}})
No ID assigned
---
Species---


Template documentation[view] [edit] [history] [purge]

Type in this:

{{Infobox UFFL player
|PID={{#vardefineecho:PlayerID|40}}
|current_team={{PID|{{#var:plyr}}|21}}
|name={{PID|{{#var:plyr}}|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:

Edmond Theisen
({{{team}}}, {{{position}}})
Theisen Edmond.jpg
Player ID #No ID assigned
Nickname(s)Eddie
Team---
PositionLB
Jersey #53
GenderMale
Species---
Details

Born On (1990-10-11) October 11, 1990 (age 34)
Height6.33 feet (1.93 m)
Weight275 lb (125 kg)
ThrowsRight
HometownWalpole, NH, USA
CollegeEdgerton College
Career Info

Draft2015 / Round: 2 / Pick: 20th
Drafted by Chicago Outlaws
Years Pro7
Awards2018 United Pro Bowl Team

Click here to refresh the preview above