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;" | | 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}}}}}}} | ||
| | | header2 = {{#if:{{{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) | |||
| data4 = {{#if: {{{nickname|}}}}} | |||
| | |||
| label5 = Jersey # | | label5 = Jersey # | ||
| data5 = {{#if: {{{jerseynum|}}}}} | | data5 = {{#if: {{{jerseynum|}}}}} | ||
| label6 = {{#if:{{{ | | label6 = {{#if:{{{current_team|}}} | ||
|Team<!-- | |Team<!-- | ||
-->}} | -->}} | ||
| data6 = {{Convert/ | | data6 = {{Convert/teamabbr|{{PID|{{RID|{{PAGENAME}}}}|21}}}}[[Team::{{Convert/teamabbr|{{PID|{{RID|{{PAGENAME}}}}|21}}}}| ]] | ||
| class6 = role | | class6 = role | ||
Revision as of 03:24, 20 January 2021
--- | |
Gender | |
Species | --- |
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:
Player ID # | |
---|---|
Team | --- |
Position | Linebacker |
Gender | Male |
Species | --- |
Details | |
Born On | October 11, 1990 |
Height | 6.33 feet (1.93 m) |
Weight | 275 lb (125 kg) |
Throws | Right |
Hometown | Walpole, NH, USA |
College | Edgerton College |
Career Info | |
Draft | 2015 / Round: 2 / Pick: 20th overall |
Drafted by Chicago Outlaws |
The above documentation is transcluded from Template:Infobox UFFL player/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |