Template talk:Infobox football official

(Redirected from Template talk:Infobox football official/doc)
Latest comment: 14 years ago by Thumperward in topic Accessibility
WikiProject iconInfoboxes
WikiProject iconThis template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject iconFootball Template‑class
WikiProject iconThis template is within the scope of WikiProject Football, a collaborative effort to improve the coverage of Association football on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Accessibility edit

Unfortunately, the accessibility of this template is not good. Please see Infobox accessibility for an explanation. The following needs to replace the current rows 11 onwards (to allow 6 entries); but row 8 also needs to be changed, and I'm not sure how to do that.

<code>
| label11     = <span style="font-weight: normal">{{{years1|}}}</span>
| data11a     = {{{league1|}}}
| class11a    = category
| data11b     = {{{role1|}}}
| class11b    = role

| label12     = <span style="font-weight: normal">{{{years2|}}}</span>
| data12a     = {{{league2|}}}
| class12a    = category
| data12b     = {{{role2|}}}

| label13     = <span style="font-weight: normal">{{{years3|}}}</span>
| data13a     = {{{league3|}}}
| class13a    = category
| data13b     = {{{role3|}}}
| class13b    = role
| class13b    = role

| label14     = <span style="font-weight: normal">{{{years4|}}}</span>
| data14a     = {{{league4|}}}
| class14a    = category
| data14b     = {{{role4|}}}
| class14b    = role

| label15     = <span style="font-weight: normal">{{{years5|}}}</span>
| data15a     = {{{league5|}}}
| class15a    = category
| data15b     = {{{role5|}}}
| class15b    = role

| header16    = {{#if:{{{confederation|}}}|International}}

| label17     = Years
| data17a     = {{#if:{{{confederation|}}}|'''League'''}}
| data17b     = {{#if:{{{internationalrole|}}}|'''Role'''}}

| label18     = <span style="font-weight: normal">{{{internationalyears|}}}</span>
| data18a     = {{{confederation|}}}
| class18a    = category
| data18b     = {{{internationalrole|}}}
| class18b    = role
</code>
Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 15:26, 14 September 2009 (UTC)Reply
As previously explained, this can't be done without adjusting every current deployment of the template. If you'd like to go about getting a bot requested for the work, then I'll deal with this one after {{infobox Football biography 2}} has been deployed. Chris Cunningham (not at work) - talk 13:30, 15 September 2009 (UTC)Reply
Thank you; but it can be done without adjusting every current deployment of the template. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 13:57, 15 September 2009 (UTC)Reply
Not without invalidating a substantial chunk of data in each infobox, which isn't really an acceptable solution (the visually impaired are not going to be any more able to read data which no longer exists). We'll get to this eventually, but it's a big job and needs to be done properly to minimise disruption and editor workload. Chris Cunningham (not at work) - talk 09:50, 17 September 2009 (UTC)Reply
I've been careful to craft the above change in a way that means that there will be no such invalidation, and no lost data. Why do you think otherwise? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 09:58, 17 September 2009 (UTC)Reply
Ah, right, I see you've left the current row 10 as it is. That would work, I suppose, but considering how many templates need to be transitioned anyway it would probably be better just to do both at once (get a bot to update the articles and remove support for the inaccessible version at the same time). Chris Cunningham (not at work) - talk 11:28, 17 September 2009 (UTC)Reply