Template:Infobox UFFL player: Difference between revisions

From UFFL Wiki
mNo edit summary
m (Styling)
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:24em
| bodystyle = border:1px solid #660101; padding: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|}}}{{{nickname|}}}{{{jerseynum|}}}{{{current_team|}}}{{{gender|}}}{{{career_position|}}}{{{species|}}}|}}
| header2 = {{#if:{{{PID|}}}{{{nickname|}}}{{{jerseynum|}}}{{{current_team|}}}{{{gender|}}}{{{career_position|}}}{{{species|}}}|}}
Line 50: Line 51:
| data9      = {{PID|{{RID|{{PAGENAME}}}}|4}} [[Species::{{PID|{{RID|{{PAGENAME}}}}|4}}| ]]
| data9      = {{PID|{{RID|{{PAGENAME}}}}|4}} [[Species::{{PID|{{RID|{{PAGENAME}}}}|4}}| ]]


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


| label12 = Born On
| label12 = Born On
Line 83: Line 84:
| data17 = {{{college|}}}  
| data17 = {{{college|}}}  


| header18 = <hr>
| header18 = {{#if:{{{yearstart|}}}{{{draftpick|}}}{{{yeartotal|}}}|Career Info}}
| header19 = {{#if:{{{yearstart|}}}{{{draftpick|}}}{{{yeartotal|}}}|Career Info}}
| data19 = <hr>


| label20 = [[Draftees|Draft]]  
| label20 = [[Draftees|Draft]]  

Revision as of 16:00, 24 January 2021

({{{team}}}, {{{position}}})
No ID assigned
---
Gender
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

DraftDrafted by Chicago Outlaws
Years Pro7
Awards2018 United Pro Bowl Team

Click here to refresh the preview above