Template:Infobox UFFL player: Difference between revisions
From UFFL Wiki
mNo edit summary |
mNo edit summary |
||
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: | | bodystyle = float:right; width:24em | ||
<!--- style="font-size:89%; line-height:16px; 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}}}}};" ---> | ||
Line 50: | Line 50: | ||
| data9 = {{PID|{{RID|{{PAGENAME}}}}|4}} [[Species::{{PID|{{RID|{{PAGENAME}}}}|4}}| ]] | | data9 = {{PID|{{RID|{{PAGENAME}}}}|4}} [[Species::{{PID|{{RID|{{PAGENAME}}}}|4}}| ]] | ||
| header10 = <hr>{{#if:{{{birth_date|}}}{{{birth_place|}}}{{{hometown|}}}{{{handed|}}}{{{college|}}}{{{height_ft|}}}{{{height_m|}}}{{{weight_lbs|}}}{{{weight_kg|}}}|Details}} | | header10 = <hr> | ||
| header11 = {{#if:{{{birth_date|}}}{{{birth_place|}}}{{{hometown|}}}{{{handed|}}}{{{college|}}}{{{height_ft|}}}{{{height_m|}}}{{{weight_lbs|}}}{{{weight_kg|}}}|Details}} | |||
| | | label12 = Born On | ||
| | | data12 = {{{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}} | ||
| | | label13 = Height | ||
| | | 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 65: | ||
}} | }} | ||
| | | label14 = Weight | ||
| | | 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 74: | ||
}} | }} | ||
| | | label15 = Throws | ||
| | | data15 = {{{handed|}}} | ||
| | | label16 = Hometown | ||
| | | data16 = {{{hometown|}}} | ||
| | | label17 = College | ||
| | | data17 = {{{college|}}} | ||
| | | header18 = <hr> | ||
| header19 = {{#if:{{{yearstart|}}}{{{draftpick|}}}{{{yeartotal|}}}|Career Info}} | |||
| | | label20 = [[Draftees|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}}}}}}}}}}|}}|}} | ||
| | | data20 = {{#if:{{both|{{{yearstart|{{{draft_year|}}}}}}|{{{draftteam|{{{draft_team|}}}}}}}}|Drafted by [[{{{{{Convert/teamabbr|{{{draftteam}}}}}|{{Convert/teamabbr|{{{draft_team}}}}} }}}]] }} | ||
| | | label21 = Years Pro | ||
| | | data21 = {{{yeartotal|}}} | ||
| | | label22 = Awards | ||
| | | data22 = {{{awards|}}} | ||
}}<noinclude> | }}<noinclude> |
Revision as of 15:33, 24 January 2021
No ID assigned | |
---|---|
--- | |
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 #No ID assigned | |
---|---|
Nickname(s) | Eddie |
Team | --- |
Position | LB |
Jersey # | 53 |
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 | Drafted by Chicago Outlaws |
Years Pro | 7 |
Awards | 2018 United Pro Bowl Team |
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. |