Template:Infobox NFL biography: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
style normalization
implement changes to hardcode template to reject "Free agent" as a current_team parameter per discussion at https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:WikiProject_National_Football_League&oldid=1079607448#Proposal:_remove_%22free_agent%22_from_infoboxes_permanently
Line 25: Line 25:
| {{#switch:{{{number|}}}
| {{#switch:{{{number|}}}
|--|-|–|=
|--|-|–|=
|#default = {{#ifeq:{{lc:{{{current_team|{{{currentteam|}}}}}}}}|free agent||No. {{{number}}}}}
|#default = No. {{{number}}}
}}
}}
| {{#switch:{{{current_team|}}}
| {{#if:{{{current_team|{{{currentteam|}}}}}}|<span class="org">{{#ifeq:{{lc:{{{current_team|{{{currentteam|}}}}}}}}|free agent|Free agent|{{{current_team|{{{currentteam|}}}}}}}}</span>}}
|free agent|Free agent|FA|=
}}
|#default = {{#if:{{{current_team|{{{currentteam|}}}}}}|<span class="org">{{{current_team|{{{currentteam|}}}}}}</span>}}
}}}}
| label2 = Position:
| label2 = Position:
| data2 = {{{position|}}}
| data2 = {{{position|}}}

Revision as of 19:31, 27 March 2022