Template:Infobox UFFL player: Difference between revisions

From UFFL Wiki
(Mediawiki update, WIP. Still a lot of broken variables, but formatting is loosely correct)
mNo edit summary
Line 7: Line 7:
| 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;"> {{Infobox UFFL player/style|{{{team}}}}} !important;>({{{team}}}, {{{position}}})</span><br />
| 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 />


| 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 24: Line 24:
| headerstyle = {{Infobox UFFL player/style|{{Convert/teamabbr|{{{team}}}}}}}
| headerstyle = {{Infobox UFFL player/style|{{Convert/teamabbr|{{{team}}}}}}}


| label2 = {{#if:{{{PID|}}}
| header2 = {{#if:{{{PID|}}}
  |PID<!-- -->}}
  |<small>Player ID #<!-- -->}}</small>
| data2 = {{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|3}}}}[[Position::{{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|3}}}}| ]]
| data2 = <small><!-- {{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|3}}}}[[Position::{{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|3}}}}| ]]-->{{RID|{{PAGENAME}}}}</small>
| class2 = role
| class2 = role


<!---
| label4 = Nickname(s)
{{#if: {{{PID|}}} |
| data4 = {{#if: {{{nickname|}}}}}
{{!}} colspan="2" {{!}} <div style="font-size: 12px; text-align: center"> Player ID: {{{PID}}} </div>}}
--->
 
| header3 = {{#if: {{{nickname|}}}}}
| data4 = {{{nickname|}}}


| label5 = Jersey #
| label5 = Jersey #
| data5 = {{#if: {{{jerseynum|}}}}}
| data5 = {{#if: {{{jerseynum|}}}}}


| label6 = {{#if:{{{team|}}}
| label6 = {{#if:{{{current_team|}}}
|Team<!--
|Team<!--
               -->}}
               -->}}
| data6      = {{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|21}}}}[[Position::{{Convert/pos|{{PID|{{RID|{{PAGENAME}}}}|21}}}}| ]]
| data6      = {{Convert/teamabbr|{{PID|{{RID|{{PAGENAME}}}}|21}}}}[[Team::{{Convert/teamabbr|{{PID|{{RID|{{PAGENAME}}}}|21}}}}| ]]
| class6      = role
| class6      = role



Revision as of 02:24, 20 January 2021


({{{team}}}, {{{position}}})
---
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 #
Team---
PositionLinebacker
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 overall
Drafted by Chicago Outlaws

Click here to refresh the preview above