Wikipedia talk:WikiProject Football/Templates

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconFootball Project‑class
WikiProject iconThis page 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.
ProjectThis page does not require a rating on Wikipedia's content assessment scale.

Soft redirect to:Wikipedia talk:WikiProject Football
This page is a soft redirect.

Please create new discussions on the general WikiProject Football talk page. The discussions below are kept only for historical value.


Discussions 2006–2015

Template standardization[edit]

How about standardizing all those templates on the bottom of most of the football related articles? I've thought about this for a while, and my proposition is pretty simple, the bottom page template boxes are started with a {{fb start}} template, and ended with a {{fb end}} template. All other templates, for national leagues, international competitions, club history series, and anything other, should then be modified so that they can be placed between the start and end tags to produce a good looking infobox. An example of the written code could look something like this:

{{fb start}}
{{Football in Sweden}}
{{Allsvenskan}}
{{Royal League}}
{{fb end}}

And it would produce this result. See the 1-5 links on the page for examples on how {{fb start}}, {{Football in Sweden}}, {{Allsvenskan}}, {{Royal League}} and {{fb end}} could look like. The whole meaning of this would be a system where any infobox could be placed on any page without having to have them as separate boxes, or rewriting the templates, meaning that in theory it should be simple to group into one infobox the listing of the teams in the FA Premier League with the listing of the Asian football federations and the Man Utd infobox, together with standard links for Swedish football.

Standard colours for header rows, standard methods for listing teams, and other standardizations should also be introduced to make these boxes look good when combining several different pieces. Comments? -- Elisson Talk 19:31, 2 February 2006 (UTC)[reply]

Looks ok to me. CTOAGN (talk) 20:33, 3 February 2006 (UTC)[reply]

I've created {{fb start}} (redirects to {{football box start}}) and {{fb end}} (redirects to {{football box end}}), so feel free to either discuss what the standard boxes should look like, or start implementing the standard in football infoboxes. -- Elisson Talk 01:23, 4 February 2006 (UTC)[reply]

I support your proposal. It looks pretty good in the version from your sandbox. About its actual implementation, we could even start right now. I don't think people will get disappointed by that, it's not a particularly invasive change. --Angelo 21:59, 25 February 2006 (UTC)[reply]
I think it looks good, and should be implemented. Oldelpaso 01:52, 26 February 2006 (UTC)[reply]
I'm all for it. -Aabha (talk) 03:39, 26 February 2006 (UTC)[reply]
I think it's a great addition. veila# 04:00, 26 February 2006 (UTC)[reply]
Great! I've spent this evening modifying some 500 pages to go with the standard. I've changed the {{International football}}, {{Football World Cup}} and {{Non-FIFA teams}} templates, the templates for national teams and national associations for all six confederations, and a few more. I think these were the thoughest to get through, so even though there are several dozens of templates left, they should be easier to handle as they aren't scattered all over Wikipedia, which means you olny need to modify a few pages at a time (which was not the case with the International football template ;) ). -- Elisson Talk 22:00, 26 February 2006 (UTC)[reply]

Proposal[edit]

Layout[edit]

  • {{fb start}}:
    {| class="toccolours" style="margin: 0.5em auto; width:47em; clear: both;"
    This starts the box and produces the standard layout and defines margins and width.
  • {{fb end}}:
    |}
    This ends the box.
  • {{Copa América}} (a template listing stuff):
    <noinclude>{{fb start}}</noinclude>
    This does nothing to the template except making it easier to see how a template looks.
    |-
    This starts a new row.
    !colspan="12" style="background:#BFD7FF;"|[[Copa América]]
    This designs the started row to be a header row, defines the column span, defines background colour and produces the header text (linked, in this case).
    |-
    This starts a new row.
    |colspan="12" style="text-align:center;"|
    This designs the started row, defines the column span and centers the text that will follow.
    <!-- NBSPs prevent wrapping-->
    This is just a note to the editors of the template that the   entries in the text that will follow prevents wrapping in the middle of a link.
    [[South American Championship 1916|Argentina&nbsp;1916]]&nbsp;|
    ...
    [[Copa América 2004|Peru&nbsp;2004]]&nbsp;|
    [[Copa América 2007|Venezuela&nbsp;2007]]<noinclude>
    This is the text that is contained in the started row. The last entry should not be ended by any pipe. but instead by the <noinclude> tag. This prevents extra rows to be added when using the template.
    {{fb end}}</noinclude>
    This does nothing to the template except making it easier to see how a template looks, note that the <noinclude> starting tag must be placed on the row above.
  • {{Football in Sweden}} (a template with tables):
    <noinclude>{{fb start}}</noinclude>
    This does nothing to the template except making it easier to see how a template looks.
    |-
    This starts a new row.
    !colspan="12" style="background:#BFD7FF;"|[[Football in Sweden]]
    This designs the started row to be a header row, defines the column span, defines background colour and produces the header text (linked, in this case).
    |-
    This starts a new row.
    |colspan="3" style="text-align:center;"|[[Swedish Football Association|National association]]
    |colspan="3" style="text-align:center;"|[[Sweden national football team|National team]]
    |colspan="3" style="text-align:center;"|[[List of football clubs in Sweden|List of clubs]]
    |colspan="3" style="text-align:center;"|[[Swedish football champions|Champions]]
    This designs the started row, defines four columns, defines the column span and centers the text that follows.
    |-
    This starts a new row.
    |colspan="3" style="text-align:center;"|[[Football records in Sweden|Records]]
    |colspan="3" style="text-align:center;"|[[Sweden women's national football team|Women's national team]]
    |colspan="3" style="text-align:center;"|[[List of women's football clubs in Sweden|List of women's clubs]]
    |colspan="3" style="text-align:center;"|[[Seasons in Swedish football|Seasons]]
    This designs the started row, defines four columns, defines the column span and centers the text that follows.
    <noinclude>{{fb end}}</noinclude>
    This does nothing to the template except making it easier to see how a template looks.

Discussion[edit]

The width defined in {{fb start}}
  • What should it be set to? As this affects every box that uses this standardization, it should fit every use. Too narrow would make boxes with long lists very "high", and too wide would make boxes with little information very "empty". I think something around 45-50em seems fine. -- Elisson Talk 18:00, 1 March 2006 (UTC)[reply]
    • A bit more, maybe. I suggest 55em. Anyhow, what about using percentiles instead of absolute values? I guess it would fit better with every different resolution configuration. --Angelo 02:19, 2 March 2006 (UTC)[reply]
      • Percentiles might be better. -- Elisson Talk 13:10, 2 March 2006 (UTC)[reply]
        • Won't percentiles cause breakage if a user increases the font size? I'd advocate sticking with ems myself. veila# 09:16, 3 March 2006 (UTC)[reply]
The header colour defined in the template
  • I believe that we should use a standard colour for templates, and #BFD7FF is a fairly "neutral" colour. The colour can of course be different in case of for example a club box like {{Manchester United}}. -- Elisson Talk 18:00, 1 March 2006 (UTC)[reply]
    • That's good. By the way, I recently implemented that colour on all the Italian football templates, from Serie A to Serie C2/C. --Angelo 02:19, 2 March 2006 (UTC)[reply]
The total number of columns defined in the template
  • I have set this number to 12, to make most designs currently used still be compatible with the standardization. 12 is dividible by 1, 2, 3, 4, 6 and 12, which allows many configurations of the number of columns in table boxes. This number is crucial as any two separate boxes that are added between the same {{fb start}} and {{fb end}} need to have the same total column number (but not necessarily the same configuration). -- Elisson Talk 18:00, 1 March 2006 (UTC)[reply]
    • Twelve? Isn't it too much?!? Whatever, if it does not add any relevant issue of development for possible future template, it's good anyway. --Angelo 02:19, 2 March 2006 (UTC)[reply]
      • Twelve is the lowest number dividible by two, three and four. Having less "total columns" than that would make it impossible to design good looking templates with one of these numbers of columns. -- Elisson Talk 13:10, 2 March 2006 (UTC)[reply]
    • Is it necessary to design the set of template so that the number of columns must be defined in every inner template (and hard-coded to the magic number 12)? That may be an overkill to some newbies, especially considering that most templates only have one column. Is it possible to presume the number of column of every inner template to be 1, and shift the burden of defining inner tables within a template to those templates (and their authors) who'd like to have multiple-columns? --Pkchan 18:14, 7 March 2006 (UTC)[reply]
      • It is necessary if we want to be able to combine templates which have different numbers of columns. At least I can't think of any other way to solve it. – Elisson Talk 18:25, 7 March 2006 (UTC)[reply]
        • What I am thinking of is this: Wikipedia:WikiProject Football/Templates/Sandbox. I haven't solved the issue of the inner template's cell background being white, but I believe that that can be easily solved by adopting the toccolour class' background to the inner table's style definition (that part can, in fact, be governed by another template). This way, the internal layout of an inner template is at the discretion of its author, and ordinary template writers don't have to take care of this magic number 12 in most cases unless he/she would like to design a multi-column one. --Pkchan 18:45, 7 March 2006 (UTC)[reply]
        • Inner tables fixed. --Pkchan 14:48, 25 March 2006 (UTC)[reply]

Is this ready for adoption yet?[edit]

Since there hasn't been any discussion in quite some time on this proposal, is it fair to assume that the current incarnation is ready for use? Or is Pkchan's alternative compelling enough to warrant further debate? The World Cup means that every football related page I come across seems to have a small forest of infoboxes at the bottom, so it seems a good time to try and get this agreed upon and brought into use. veila# 05:29, 20 June 2006 (UTC)[reply]

If it is possible to do what Pkchan suggested, then I think we should try to fix that before adopting the whole thing. Otherwise it is almost complete. I'll work on it a little and see what I can do. – Elisson Talk 13:12, 20 June 2006 (UTC)[reply]
I just did a quick check and it seems that between 1000 and 1500 pages now include the fb start/end templates. I think inertia might have defined the winning solution already. Or does Pkchan's method permit colspan values that are designed for the original? veila# 11:46, 21 June 2006 (UTC)[reply]
Pkchan's method allow for users to use any configuration of the columns, and they do not need to make the number of columns add up to 12. So I think that is the way to go. On the other hand, this means that all templates that have been adjusted for use with the {{fb start}} and {{fb end}} need to be re-adjusted. But there seems to be "only" around 60 navboxes out there that needs to be edited, so I think we should go for that and allow more flexibility for the templates.
I've moved the necessary templates to the template namespace, at {{fb inner start}} and {{fb inner end}}. These should be used in the navbox template itself, and not in the pages which should have the navbox. I'll move the above proposal to the main page as there seems to be consensus for using it, will also add more in depth explanation on how to implement and use the templates.
Elisson Talk 12:29, 21 June 2006 (UTC)[reply]
I've now added info to the project page, and also created a template that should be added to all navbox templates, as it explains usage and adds the navbox template to a category for easy browsing. Now we only have to convert the already modified navboxes to the new standard. – Elisson Talk 14:36, 21 June 2006 (UTC)[reply]
And now I think I have updated all templates to the new standard. – Elisson Talk 23:35, 21 June 2006 (UTC)[reply]

Help please![edit]

I have created a navibox for all English County Football Associations at Template:County Football Association.
I have since used the instructions here to convert this into a standard navibox for use within the {{fb start}} {{fb end}} templates.
However, despite following the instructions exactly, the standardised template seems not to close properly (therefore incorporating subsequent templates into it - see Cambridge_University_Association_Football_League#External links for what I mean.)
What have I done wrong? --MLD 15:25, 10 October 2006 (UTC)[reply]

You have done nothing wrong. It is just that not all templates are standardised yet, and may thus not work with {{fb start}} and {{fb end}}. I've fixed it for Cambridge University Association Football League. – ElissonTC 16:20, 10 October 2006 (UTC)[reply]
Oh, I see! The problem was that the existing {{Football in England}} template was not yet standardised - I thought it was because I'd missed a step in creating the {{County Football Association}} template.
Maybe I'll have a look at standardising that one next! Thanks for your help
--MLD 16:53, 10 October 2006 (UTC)[reply]

New templates[edit]

I have created three more to fit this style - {{AUS fb general}}, {{AUS fb A-League}}, {{AUS fb states}}. Do these need to be listed anywhere (apart from the category which they are automatically a member of?) Examples of their use is at Wikipedia talk:WikiProject A-League. -- Chuq 06:28, 23 October 2006 (UTC)[reply]

infobox user template[edit]

I just created Template:User River Plate‎, is already there a place/category where I should added ? thks.--Jor70 23:38, 1 May 2007 (UTC)[reply]

This template isn't centred on some pages, can anyone tell me why? Stu ’Bout ye! 09:12, 28 June 2007 (UTC)[reply]

CAF Champions League 2007[edit]

It appears that something with the standardized headers if damaging the layout at CAF Champions League 2007. Would whoever is coordinating these changes please look into repairing this? --After Midnight 0001 00:58, 29 June 2007 (UTC)[reply]

National Team Squads[edit]

Help please! I'm trying to add national team squads for the countries competing in this years Asian Cup finals. I'm using the template which is used for the World Cup squads but I'm running into problems with the players numbers. The World Cup squads are required to number their players sequentially (ie 1-23). However the same rules don't apply for the Asian Cup. I created Australia fine as they have followed the 1-23 principal but some of the other teams miss lower numbers and issue their players with others (ie Oman has no 16, 19, 22 or 23, but they have 24, 25, 26 & 28). But if I skip past the missing numbers, the template won't show the players beyond number 23.

Can anyone please help me get past this problem? I could have used the standard club template, however I chose to use the national team template because the national team's flags are included automatically.Nicko edo...TALK... 00:24, 13 July 2007

I think you shouldn't make more of the templates. The discussion has been made before here and a lot of continental championship templates are deleted. I was not involved in the discussion before but I'm pretty sure that they will nominate your template for deletion soon as they only keeping the world cup squad templates. You can also take a look at User:Neier/Soccer templates for deletion discussion archive. Martin tamb 15:31, 12 July 2007 (UTC)[reply]

Actually this has recently changed and the new guidlines are being discussed here. So Asian cup would qualify for a navbox. Paul  Bradbury 20:07, 12 June 2008 (UTC)[reply]

About standar stub icon[edit]

what about adding here some reference about the always standar {{Soccer icon}}?--Andersmusician VOTE 03:57, 18 July 2007 (UTC)[reply]

{{Football squad player}} doesn't comply with WP:Flags

Flag icons may be appropriate as a visual navigational aid in tables or lists provided that citizenship, nationality or jurisdiction is intimately tied to the topic at hand, such as comparison of global economic data or reporting of international sporting event results. They should always be accompanied by their country names at least onceGnevin (talk) 09:36, 18 February 2008 (UTC)[reply]

Special Clubs[edit]

Is there a template for the eight teams never to have played outside the top two tiers of English football (Arsenal, Chelsea, Everton, Liverpool, Manchester United, Newcastle United, Tottenham Hotspur and West Ham)? And if not, should there be? DIPPY (talk) 17:40, 12 April 2008 (UTC)[reply]

As per discussion at WP:Flags, I'd like to add a note about nationality to this template as per Wikipedia:Manual_of_Style_(flags)#Use_of_flags_for_sports_people.Something along the lines of {{note|Nat. shown here indicates sporting nationality as defined by FIFA}} —Preceding unsigned comment added by Gnevin (talkcontribs) 07:50, 5 June 200[1]

I noticed that another user had changed the A-League article from using Template:Infobox Sports league infobox to a customer one specfically for the A-League (ie. a redundant one). In the interest of consistent layouts I started modifying test versions of the Sports league one. To test my changes I went to grab the code used in Premier League to find there is a separate one for football leagues! The Sports league one was created Aug 2006 and the Football league one Dec 2006. Is there any particular reason a separate template was created?

The same applies for Template:Infobox Football league season vs Template:Infobox sports season. IMHO the sports season one looks nicer... -- Chuq (talk) 03:25, 7 June 2008 (UTC)[reply]

I don't feel that this is practical. The "sports" templates are already a bit overbearing, what with the sheer number of different parameters needed to cover various different sporting events. By keeping separate templates we can keep cruft to a minimum; so long as the code is kept simple and the template presentation is left to sensible defaults where possible, it shouldn't make that much of a difference which one is used. I'm sure there was a debate about this over a different pair of templates some time last year, with the result that the football version was kept as a separate template. Chris Cunningham (not at work) - talk 19:02, 11 June 2008 (UTC)[reply]
Note: Author of both sport templates.
While nominating a template at TFD, I've noticed that on a discussion a day before my nomination, there is a discussion of deleting a country-specific infobox into a more general one, and it seems these infoboxes are in the process of being merged into their general infoboxes. Another example is Template:Infobox football club being used in all association football articles, instead of country-specific ones (especially with the peculiarity of the MLS).
Also, the sports season infobox was created in mind for all sports since after almost all sports leagues share the most basic features such as the type of sport, the name, date of establishment, etc. In fact, the Premier League appeared on the Main Page using the sports infobox, and with the current version in the infobox, it has virtually the same info as the football league infobox, only that the "related competitions" parameter is further separated into "Domestic cup(s)" and "International cup(s)" (an unnecessary parameter IMHO, since they can all be accomodated into the related competitions, plus the parameter is too jargon-ish); plus I thought I had added a relegation/promotion parameter to the sports league infobox but it seems I haven't, although I had that intention of having it when I creating that.
Another thing is that football is the only sport that I know of that has a specific infobox for such cases, about a year ago they were using the sports league infobox and I dunno how it was changed into the football league infobox.
As for the sports season infobox, I'd want to see it be used everywhere too, but only on league competitions, not on articles about the yearly cup competitions or the playoff tournaments or the championship series/finals. I think those should have their own infoboxes since they are more specialized (examples include Template:Infobox SuperBowl and Template:NBA Finals summary), or have the specific sport WikiProjects devise the same infoboxes with alike competitions (like Template:PBA Finals summary being completely redundant with the NBA one). –Howard the Duck 17:30, 8 January 2009 (UTC)[reply]
P.S.: I don't think this WikiProject will even allow the thought of deleting those templates but this an idea worth considering in the long run. –Howard the Duck 17:34, 8 January 2009 (UTC)[reply]

Another set of redundant templates are Template:Infobox sports rivalry and Template:Infobox football derby. –Howard the Duck 15:56, 10 January 2009 (UTC)[reply]

Now merged. Plastikspork ―Œ(talk) 23:52, 14 May 2010 (UTC)[reply]

Help needed with new template[edit]

Hi all - I've just created a new template - {{Chatham Cup seasons}} - but don't know enough coding to make the columns line up. Any help would be much appreciated! Grutness...wha? 06:48, 31 July 2008 (UTC)[reply]

I've had a stab at it, see if it's ok for you. Nanonic (talk) 07:54, 31 July 2008 (UTC)[reply]
Much better, thanks :) Grutness...wha? 08:30, 31 July 2008 (UTC)[reply]

I'm not sure if there is a notability criteria for templates but do Southport F.C. qualify for having a template for managers considering they presently have for the squad? I would create one myself but I haven't got a clue where to start, i should be able to fill it with information however. Thanks Uksam88 (talk) 15:22, 2 March 2009 (UTC)[reply]

Never mind..done it myself Template:Southport F.C. managers Uksam88 (talk) 02:32, 25 March 2009 (UTC)[reply]

Nanstallon United Youth Football Club has been created with material from the article on Nanstallon village. It is felt the material is too detailed for an article on a small village; and that the club warrants its own article. It needs attention (and, in particular, verifiable sources) so it would be good if an editor(s) from WP:Football could have a look at it. Andy F (talk) 20:10, 30 April 2010 (UTC)[reply]

North Petherwin Football Clubhas been created with material from the article on North Petherwin parish. It is felt the material is too detailed for an article on a parish; and that the footy club warrants its own article. It needs attention (and, in particular, verifiable sources) so it would be good if an editor(s) from WP:Football could have a look at it. Andy F (talk) 10:33, 1 May 2010 (UTC)[reply]

New Userbox[edit]

I created a new userbox for members and i'd like for it to be nominated as new userbox. {{User:Ras Benjih/WikiProject Football/Women's football task force}}

Ras Benjih (talk) 16:04, 9 September 2015 (UTC)[reply]

Template:FIFA World Cup, expansion, others "World Cup" organize by FIFA[edit]

My proposal new "group6 = "World Cup" organize by FIFA" and his list "list6 = FIFA World Cup · FIFA Women's World Cup · FIFA Confederations Cup · FIFA international tournaments for youth football: FIFA U-20 World Cup, FIFA U-17 World Cup, FIFA U-20 Women's World Cup, FIFA U-17 Women's World Cup· Club football: FIFA Club World Cup· Football variants: futsal FIFA Futsal World Cup, beach soccer FIFA Beach Soccer World Cup." Need some fix but is a add of information.--Feroang (talk) 01:28, 14 April 2011 (UTC)[reply]

And add the same Others WC seccion to the others templates involves in: Template:FIFA Women's World Cup, Template:FIFA Confederations Cup,Template:FIFA Club World Cup, Template:FIFA U-17 Women's World Cup, Template:FIFA U-17 World Championship, Template:FIFA U-20 Women's World Cup, Template:FIFA U-20 World Cup/Championship --Feroang (talk) 01:59, 14 April 2011 (UTC)[reply]

3 team bracket template with two-legged final[edit]

Is there a template for bracket for 3 teams with single-legged semi, followed by final over two legs ? Haven't been able to find one in the categories of templates, and that's the new format for the Championship Stage of the 2015 J1 League this year. The current bracket being used is for single leg only. Can someone clever make a new template for this, or have knowledge of some other competition where its been used before ? Matilda Maniac (talk) 20:46, 22 November 2015 (UTC)[reply]