Template talk:Infobox NFL biography
Template:Infobox NFL biography is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Infobox NFL biography template. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19Auto-archiving period: 3 months |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
If empty with no input parameters
[edit]Dissident93, can you explain what the following is supposed to do?
{{#switch:{{{status|}}}
|--|-|–|=
|#default = {{#ifeq:{{lc:{{{current_team|{{{currentteam|}}}}}}}}|free agent||{{#ifeq:{{{current_team|{{{currentteam|}}}}}}|{{If empty}}||{{{status}}}}}}}
}}
it looks like you are using {{if empty}} with no input parameters? I believe the intent here is to
- return blank if
|status=–
or|status=-
or blank - otherwise, return blank if
|current_team=
is "free agent" - otherwise, return blank if
|current_team=
is blank? - otherwise, return the value in
|status=
if so, you can just replace the {{#ifeq:{{{current_team|{{{currentteam|}}}}}}|{{If empty}}||{{{status}}}}}
with {{#if:{{{current_team|{{{currentteam|}}}}}}|{{{status}}}| }}
and get rid of the {{if empty}} with no input parameters. Frietjes (talk) 14:16, 21 October 2024 (UTC)
- The intent was to suppress
|status=
when|current_team=
is empty (or free agent, which is discouraged), since it's common for it to be forgotten to be adjusted when a player is no longer playing with a team. I think I was just testing it and saw that it worked and didn't think to optimize it after. ~ Dissident93 (talk) 18:27, 21 October 2024 (UTC)- Dissident93, please discuss further proposed changes here after implementing them in the sandbox and demonstrating them on the testcases page. I have fixed two significant syntax errors in your template and module editing today. – Jonesey95 (talk) 04:56, 22 October 2024 (UTC)
CFL status broken
[edit]Dissident93, just to add onto this, your 14 October 2024 edits broke |cflstatus=
. |status=
and |cflstatus=
now both return the identical value of {{status}}. This should be fixed so |cflstatus=
returns is own {{cflstatus}} value again as the |cflstatus=
is used to denote a player's CFL nationality designation (National, American, or Global) and not their roster status (active, practice squad, injured, etc.). GreenRunner0 17:38, 28 October 2024 (UTC)
- It should be fixed now. ~ Dissident93 (talk) 17:51, 28 October 2024 (UTC)
Edit request to complete TfD nomination
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Template:Infobox NFL biography has been listed at Templates for discussion (nomination), but it was protected, so it could not be tagged. Please add:
{{subst:tfm|help=off|type=sidebar|1=Infobox Canadian Football League biography}}
to the top of the page to complete the nomination. Thank you. ~WikiOriginal-9~ (talk) 18:55, 18 November 2024 (UTC)
- Done — Martin (MSGJ · talk) 21:16, 18 November 2024 (UTC)
"Staff assistant"
[edit]What's that cover? Assistant coaches are staff assistants too. Is pastadmin supposed to be for general managers? Hmm. ~WikiOriginal-9~ (talk) 21:35, 29 January 2025 (UTC)
- C. O. Brocato is featured and has the scouting roles under administrator. ~WikiOriginal-9~ (talk) 21:42, 29 January 2025 (UTC)
- Scouting (and other roles like internships) aren't really administrative either. And what does that parameter cover that executive doesn't or can't? Merging them and listing "as a front office assistant / executive" should cover everything. ~ Dissident93 (talk) 22:43, 29 January 2025 (UTC)
- I'm not really sure what admin is for. I looked at staff assistant on Chris Ballard (American football) and it looks okay, so nevermind. ~WikiOriginal-9~ (talk) 22:57, 29 January 2025 (UTC)
- A lot of articles list scout under administrator, such as Bob Quinn or Jason Licht as a couple examples. Hey man im josh (talk) 15:08, 30 January 2025 (UTC)
- Scouting (and other roles like internships) aren't really administrative either. And what does that parameter cover that executive doesn't or can't? Merging them and listing "as a front office assistant / executive" should cover everything. ~ Dissident93 (talk) 22:43, 29 January 2025 (UTC)
- @WikiOriginal-9 @Dissident93: I just came across Mike Young (American football). I don't think most of his "staff" positions meet MOS:ROLEBIO and should even be in the lead, let alone infobox. They currently aren't there, but this "staff" change might encourage someone to add it. —Bagumba (talk) 10:33, 30 January 2025 (UTC)
- I doubt anyone will add them there. Looks like he was mainly a marketer, not actually involved in football operations (like a scout or director of player personnel). And there aren't any year spans in the body, so someone would have to do research to figure it out (and most people aren't going to do that) ~WikiOriginal-9~ (talk) 13:10, 30 January 2025 (UTC)
- I know what you mean about rolebio though. Albany Empire co-owner does look a tad bit silly on Antonio Brown's article. ~WikiOriginal-9~ (talk) 13:13, 30 January 2025 (UTC)
- Template-Class National Football League pages
- NA-importance National Football League pages
- WikiProject National Football League articles
- WikiProject Arena Football League articles
- Template-Class American football pages
- NA-importance American football pages
- WikiProject American football articles
- Template-Class Canadian football pages
- NA-importance Canadian football pages
- WikiProject Canadian football articles
- Template-Class college football pages
- NA-importance college football pages