Jump to content

Template talk:Infobox NFL biography

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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)[reply]

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)[reply]
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)[reply]

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)[reply]

It should be fixed now. ~ Dissident93 (talk) 17:51, 28 October 2024 (UTC)[reply]

Edit request to complete TfD nomination

[edit]

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)[reply]

 Done — Martin (MSGJ · talk) 21:16, 18 November 2024 (UTC)[reply]

"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)[reply]

C. O. Brocato is featured and has the scouting roles under administrator. ~WikiOriginal-9~ (talk) 21:42, 29 January 2025 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
@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)[reply]
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)[reply]
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)[reply]