Template talk:National squad

From Wikipedia, the free encyclopedia

Template:National squad is permanently protected from editing, as it is a heavily used or visible template.

Substantial changes should be proposed here, and made by administrators if the proposal is uncontroversial, or has been discussed and is supported by consensus. Use {{editprotected}} to attract the attention of an administrator in such cases.
Any contributor may edit the template's documentation to add usage notes, categories or interwiki links.

Contents

[edit] Moving flag

changed flag to upper left hand side, looks better IMOSquadoosh 07:23, 28 July 2006 (UTC)

Changed flags again to inside the players box, looks way better and also fixes flag clashes with backgroundsSquadoosh

Hi Squadoosh, I had to revert your changes since the aspect of the templates had become undesirable in IE. Mxcatania 13:15, 28 July 2006 (UTC)

Everything is undesirable in IE.  Slumgum T. C.   21:19, 28 July 2006 (UTC)

Ugh IE sux. lol. Squadoosh 22:18, 28 July 2006 (UTC)

[edit] Hiding

Further to the discussions at Wikipedia:Templates_for_deletion/Log/2007_March_8#All_national_team_Squad_TP_other_than_World_Cup, and the many earlier discussions over the proliferation of these templates, and the fear of clutter, I've had a go at implementing a 'hide' option, similar to other templates. It's in my namespace currently, some examples are at User:ArtVandelay13/squadstest. It uses all the variables as the current template, so if it was copied into here, it could be done without affecting any of the templates using it. ArtVandelay13 02:20, 15 March 2007 (UTC)

It looks horrible, very ugly now. Should be reverted to classic version. Also, it is a very handy template, no need to insert hide option. - Darwinek 14:44, 16 March 2007 (UTC)
The font was too small (which I've remedied - see example), but apart from that, and the flag moving, it's hardly any different. ArtVandelay13
It probably depends on which browser do you use. The font is nearly the same on my IE6, I haven't recorded any grievances from other users on its size. And the "hide" option is quite redundant. There are many huge and very large templates which need that function. Our national squad templates are not the case. - Darwinek 15:00, 16 March 2007 (UTC)
Sorry, I meant the font was too small in my template, which is probably why it looked ugly. I've now fixed it and it's the same as the current template. The only difference now is the flag in a different place. The hide option is becoming more and more necessary, as although the templates are small, a lot of players have several, and they are ibcreasing in number as the rules are starteing to be relaxed (i.e. to allow European Championship squads). See the above discussion. ArtVandelay13 15:09, 16 March 2007 (UTC)
I think only FIFA WC templates should be allowed. We just need to gain consensus in WikiProject for that issue. It is probably only a matter of time when they will be deleted. - Darwinek 22:37, 16 March 2007 (UTC)


[edit] flag request

{{editprotected}} Using this code means that the flag displayed has to be that of the 'country' typed in the code. This flag sometimes does not fully represent the sports team. For example the Ireland Cricket team represents both the Republic of Ireland and Northern Ireland. However when this code is used and the country name 'Ireland' is typed, only the flag of the Republic of Ireland is displayed. This flag does NOT represent the people of Northern Ireland and the absence of the Northern irish flag is VERY offensive. May I suggest the alteration of this code to display both flags which the team represents or the ability to use the neutral flag of the Ireland cricket team. Thanks

What is the image for the neutral flag for the Irish Cricket team? CMummert · talk 12:24, 8 April 2007 (UTC)
I am disabling the editprotected tag; feel free to enable it again if there is consensus for a change to be made. CMummert · talk 23:25, 10 April 2007 (UTC)
See: . This also occurs to the , and is currently breaking 3 various templates for the cricket teams they're used for (West Indies and Ireland), (see:
Template:West_Indies_Squad_2003_Cricket_World_Cup
Template:West_Indies_Squad_2007_Cricket_World_Cup
Template:Ireland_Squad_2007_Cricket_World_Cup).
Unfortunately I'm not entirely sure where the fault in the coding lies, if anyone could help me out. Cheers. AllynJ 01:40, 11 April 2007 (UTC)
I don't see what the error is with the West Indies box, but your idea of making a fake country template for the team is exactly what I would have proposed. CMummert · talk 02:13, 11 April 2007 (UTC)
What do you see? Where the flags should be on the Windies one it says "Flag of West Indian cricket team" instead of posting the image, which in turn stretches the top row of the table to a size much larger (vertically) than it should be. AllynJ 03:05, 11 April 2007 (UTC)
What I see in the 2003 box is that there is no image where there ought to be one. In firefox the alt text causes the image box to expand, in opera it does not. CMummert · talk 03:11, 11 April 2007 (UTC)
This could be easily solved with an optional flagcountry field, changing the code to {{flagicon|flagcountry|country}} on both the flag entries. ArtVandelay13 14:01, 11 April 2007 (UTC)

[edit] De Rosario and #24

Why does this template go to 23? I'm asking this because Dwayne De Rosario wore #24 during the 2000 CONCACAF Gold Cup, according to [1]. This means that his name cannot be displayed correctly in Template:Canada Squad 2000 CONCACAF Gold Cup Champions. Cows fly kites (Aecis) Rule/Contributions 14:46, 18 April 2007 (UTC)

Fifa insist that shirts are numbered 1-23. It seems that Concacaf don't. The consensus is that only Club templates and Fifa World Cup templates should be made.  Sʟυмgυм • т  c  20:26, 18 April 2007 (UTC)
Is there a way to include De Rosario in this template using his proper number, or should the template be TFD'd? Cows fly kites (Aecis) Rule/Contributions 11:51, 23 April 2007 (UTC)

[edit] Implementing flag variant

{{editprotected}}

I request changing the header to the following to allow flag variants (flagvar = ???; useful for displaying old flags):

{| class="toccolours" style="width: 80%; margin: 0.5em auto; text-align: center; clear: both;"
! {{border|{{flagicon|{{{country}}}|{{{flagvar|}}}}}}} 
! style="background: {{{bg|transparent}}}; border: 1px solid #aaa; width:100%;" | [[{{{team link|{{{country}}} national football team}}}|<span style="color: {{{fg|inherit}}};">{{{title|{{{country}}} squad}}}</span>]] <span style="color: {{{fg|inherit}}};">-</span> [[{{{comp link|{{{comp}}}}}}|<span style="color: {{{fg}}};">{{{comp}}}</span>]]
! {{border|{{flagicon|{{{country}}}|{{{flagvar|}}}}}}}

Chanheigeorge 00:51, 24 April 2007 (UTC)

Y Done. --ais523 14:07, 24 April 2007 (UTC)
Thanks. Chanheigeorge 22:51, 24 April 2007 (UTC)

[edit] border

Do the flags need to be bordered? Some already have a border, so it becomes a double border.

See also Template talk:BorderMC 19:35, 1 June 2007 (UTC)

[edit] Change class and style

I request to change the first line to following:

{| class="navbox" style="width: 80%; margin:0.5em auto;"

, as {{Football squad2 start}}. kalaha 18:24, 5 July 2007 (UTC)

Could you try to get a rough consensus for this? If nobody objects just re-enable the template in a couple of days or so. GDonato (talk) 13:00, 6 July 2007 (UTC)
Well, I just think that when the team nav box is changed it looks stupid, when the nat team nav box is "old styled". kalaha 13:20, 6 July 2007 (UTC)

Template re-enabled, I'll leave this to someone more experienced who understands the changes better. GDonato (talk) 18:36, 6 July 2007 (UTC)

Y Done. ck lostswordTC 09:00, 9 July 2007 (UTC)
It now has a purple border round the flag.  slυмgυм [ ←→ ] 17:20, 9 July 2007 (UTC)

{{editprotected}}

Okay, the solution to the purple border is here:

Line 2 & 8:

! style="background: transparent" | {{flagicon|{{{country}}}|{{{flagvar|}}}}}
This will remove it. kalaha 18:13, 9 July 2007 (UTC)
Y Done - sorry, I was under the impression that you wanted the purple borders :). ck lostswordTC 19:19, 15 July 2007 (UTC)
No, no, no, no... The first edit should not be reverted. Now nothing has happend since this discussion started. kalaha 07:23, 16 July 2007 (UTC)

[edit] Font size

Would it be possible to reduce the size of the font used in this template to make it the same as {{football squad2 start}}? Would be better for the uniformity of the football squad templates. - PeeJay 20:28, 20 July 2007 (UTC)

I would strongly argue against reducing text size. No content should be at a font size smaller than the user's default size, set in their browser - i.e. in HTML terms 100%. Anything less is a major accessibility no-no. - fchd 21:25, 20 July 2007 (UTC)

[edit] Dots

{{editprotected}} The | should be changed to , as it easier to read and understand. SpecialWindler talk 00:51, 22 July 2007 (UTC)

This would be a visible change to the template's formatting, so I'm just leaving this open a bit longer to see if there are any objections. --ais523 16:40, 24 July 2007 (UTC)
It would look something like this:
Flag of England England Squad - 2006 FIFA World Cup Quarter-finalists Flag of England

1 Robinson • 2 Neville • 3 A. Cole • 4 Gerrard • 5 Ferdinand • 6 Terry • 7 Beckham • 8 Lampard • 9 Rooney • 10 Owen • 11 J. Cole • 12 Campbell • 13 James • 14 Bridge • 15 Carragher • 16 Hargreaves • 17 Jenas • 18 Carrick • 19 Lennon • 20 Downing • 21 Crouch • 22 Green • 23 Walcott • Coach: Eriksson

In my opinion, not really an improvement, but I don't really object.  slυмgυм [ ←→ ] 19:28, 24 July 2007 (UTC)
As per Slumgum, no real improvement. Will also make these templates slightly harder to edit, as the pipe symbol is easily accessible from most keyboards, while the bullet isn't. - fchd 19:33, 24 July 2007 (UTC)
That's not correct. The bullet (or pipe) symbol is within the template, so there's no need for anyone to type a bullet when creating one.  slυмgυм [ ←→ ] 19:42, 24 July 2007 (UTC)
You're right - I apologise for my error. - fchd 19:55, 24 July 2007 (UTC)
I actually did have some problems with this transition, see User:Jacoplane/Temp, and User:Jacoplane/Temp2. Using the dot for some reason creates problems with the optional parameters for players after no. 15. So I get:
Page name December 07 January 08 February 08 March 08
Wikipedia talk:WikiProject Video games 3382 4131 4555 5594
Wikipedia:WikiProject Video games

2483

3806

3582

3879

Portal:Video games

3612

5918

5601

5685

Article guidelines

473

888

732

992

Assessment

587

964

730

1337

Cleanup

232

349

251

437

Peer review

198

351

311

541

Magazines

709

1217

906

1438

Video Game Images

223

536

493

466

Deletion

1375

1174

623

1194

New article announcements

455

497

481

798

Essential articles

84

182

147

150

Featured articles

220

508

731

629

Good articles

286

350

335

386

Atari

69

106

90

87

Command & Conquer

64

77

87

89

Devil May Cry

71

120

88

136

Grand Theft Auto 99 110 175 124
Silent Hill 61 88 78 70
Suikoden 29 46 44 44
Visual novels 125 106 104 97
instead of:
I'm kind of at a loss to explain this discrepancy. JACOPLANE • 2007-07-24 21:20
Can't answer that, but I have discovered that bullets also have a peculiar effect on the club templates. When used in stead of numbers in the club templates - in IE - they prevent natural breaks, meaning that the whole squad can end up on one line!  slυмgυм [ ←→ ] 21:43, 24 July 2007 (UTC)
Fixed: I did that on User:Jacoplane/Temp, you but the bullets in the wrong spot. Hope that helps, change your mind. SpecialWindler talk 07:11, 25 July 2007 (UTC)
I have to say I still prefer | as a separator. Number 57 11:47, 25 July 2007 (UTC)
Done. Cheers. --MZMcBride 13:59, 1 August 2007 (UTC)
Done, but without real consensus? - fchd 14:31, 1 August 2007 (UTC)
Well nobody really objected, personally I kind of like it better with the dots. If people massively object to this change I'm sure we'll find out soon enough. JACOPLANE • 2007-08-1 18:38
That's not how Wikipedia normally works - it takes consensus to change things. There are two people preferring the pipe (me & Number 57),and just the original poster noting preference for the change. Others, for instance Slumgum and yourself, have stated no preference. - fchd 19:20, 1 August 2007 (UTC)
Yes it is, being bold (without being reckless) is one of the things that makes wikis work. If consensus emerges that the change is no good, it can easily be changed back. JACOPLANE • 2007-08-1 19:35
Prefer the vertical lines myself, so I'm hoping for a revert. - Dudesleeper · Talk 12:43, 2 August 2007 (UTC)

Why do people prefer the veritcal lines, there absolutely ugly. You can't tell between numbers players. Happy with the change. SpecialWindler talk 11:42, 3 August 2007 (UTC)

I like the current version with dots better that the old with |'s. – Sadalmelik 21:28, 4 August 2007 (UTC)
"No-one really objected"? Are my comments above invisible? Number 57 09:03, 10 August 2007 (UTC)

[edit] Make p12 - p15 optional?

{{editprotected}} Would it be possible to change the template, that the players p12–p15 were all optional (just like the bigger numbers are)? National squad is also used with cricket squads in Cricket World Cup. The maximum number of players in the early Cricket World Cups was 14 and many teams took only 12 or even 11 players with them. Now one needs to use dummy parameters (e.g. p15 = None), which of course is visible in the squad box, too (see e.g Template:West Indies Squad 1975 Cricket World Cup). There actually also is Template:Cricket squad, which is not used at all at the moment... I could modify and use that, but in my opinion that would be templatecruft as there is no reason why cricket and football could not use the same template. – Sadalmelik 21:23, 4 August 2007 (UTC)

Done. Cheers. --MZMcBride 22:55, 4 August 2007 (UTC)
That was fast. Thanks! – Sadalmelik 23:07, 4 August 2007 (UTC)

[edit] Standardizing this navbox using the navbox generic template

This navbox template looks nice and clean, but it's missing some standard features and formatting found in many modern navboxes such as view/discuss/edit links and an autocollapsing hide/show feature. This could be fairly easily implemented by turning this navbox into a specialized wrapper for the much more generic {{navbox generic}} template. I've already whipped up a version as an example. The current template produces:

whereas my wrapper template in its current form would produce:

The only addition needed is the "name" parameter, which allows for the view/discuss/edit links to be created. This could be added to all of the existing templates quite easily by inserting the string "|name= {{subst:PAGENAME}}" into each. There are fewer than 500 templates using this meta-template so it wouldn't take very long, and could be done before switching template code so there'd be no period where the template looks "broken".

What does everyone think? Navbox generic is quite customizable so the formatting could be tweaked to resemble the old template much more closely, if necessary, though I personally like the more compact default layout. Bryan Derksen 01:30, 13 August 2007 (UTC)

It's been two weeks with no response so I'll assume no objections. I'll convert over tomorrow. Bryan Derksen 18:58, 25 August 2007 (UTC)

Could you move the flags into the grey content area, either side of the squad list? They look untidy in the header row, and make its height inconsistent. ArtVandelay13 19:10, 25 August 2007 (UTC)
Navbox generic has a parameter for adding an image, but it displays only on the right side of the navbox body (see Template:Navbox generic/doc#Layout of table). I've changed the example template to do this and bumped up the size of the flag a bit to make it look prettier as a stand-alone image, how's it look to you? Bryan Derksen 20:56, 25 August 2007 (UTC)
Better, but I think it makes it a bit unbalanced. I was thinking of something like this (from an earlier attempt of mine to add the hide functionality):

But if the standard template prohibits is, then fine. ArtVandelay13 22:29, 25 August 2007 (UTC)

I just switched over to {{navbox}}, which allows left images. It's normally not my preferred template but it looks like in recent months it's been converging a lot towards navbox generic; the left image appears to be the only major difference between them now. Bryan Derksen 22:57, 25 August 2007 (UTC)

I've also updated Template:National squad no numbers accordingly. Chanheigeorge 21:46, 26 August 2007 (UTC)

[edit] Border

Shouldn't there be a border around the entire template because some countries have more than just two colors on their flag so one can be the border. Like croatia has 3 prominent colors on their flag but the template only has 2 (red and white).DP08 01:24, 15 August 2007 (UTC)

[edit] Two old little-used templates

While I was updating all the various templates that use this one with the "name" parameter, I discovered Template:Club squad and Template:Club squad no numbers. Each is used in only one squad template, and only one of those squad templates is used in a single article, so I'm thinking they're abandoned templates. Shall I put them up for deletion, converting over the one usage of it to this template? Bryan Derksen 20:42, 26 August 2007 (UTC)

Yeah, they can go; the templates that refer to them can be deleted too - they are historical squad templates, which are not needed. ArtVandelay13 21:10, 26 August 2007 (UTC)

[edit] And also Template:Cricket squad2 start

I also just discovered Template:Cricket squad2 start and associated accessory templates, which was used to create a number of navboxes in the same pattern as this one but with customized numbering. I can see an easy way to roll this in to this template as well; provide an optional "list" parameter that overrides the default list formatting and allows arbitrary content to be put inside. I've updated my sandbox template to show what I mean, see User:Bryan Derksen/Template sandbox for an example of one of the squad2 templates converted over. Any objections to me doing that one too? Bryan Derksen 22:23, 26 August 2007 (UTC)

Done. Also added an optional "note" parameter while I was at it. Bryan Derksen 02:07, 29 September 2007 (UTC)

[edit] Gender

I've added a parameter, gender, so that title links to the correct national football squad. I did this to eliminate the need for the forked Template:National women's squad. Now, specifying "female" will output Country women's national football team; anything else will give Country national football team. The implementation is a switch statement; if it's ever decided that men's teams should be at Country men's national football team this would be an easy thing to include. Mackensen (talk) 03:00, 30 September 2007 (UTC)

Looks like the womens' squad template is completely orphaned now. Shall I delete it? Bryan Derksen 06:44, 30 September 2007 (UTC)
Probably. I'd mention to the creator; then he can tag it db-author. Mackensen (talk) 12:15, 30 September 2007 (UTC)
It took time to reply, but yes, thanks for that. I'll speedy it --Montchav (talk) 12:12, 26 December 2007 (UTC)

[edit] One flag

{{editprotected}}
Having replicated flag images is a bit silly. I realize that people love symmetry, but an ornament for ornamentaton's sake does not befit an encyclopedia. I respectfully suggest zapping the flag image on the right. When I fist saw this in the US Women's 2007 World Cup template, I thought immediately of jingoistic flagwaving excesses. I even wrote in that template's discussion page that I'm about to remove one image. Having found it to be a problem rooted in a protected global template used everywhere, I am making this request here instead. --Mareklug talk 06:58, 30 September 2007 (UTC)

I agree in general, though personally I think removing the left flag would be better since that matches the more common standard for image-bearing navboxes on Wikipedia and also allows more flexibility with the navbox template (last I checked it can only display left-side images when there are no group headers). What say everyone? Bryan Derksen 07:13, 30 September 2007 (UTC)
Might be useful to review this proposed guideline: Wikipedia:Use of flags in articles ---J.S (T/C/WRE) 18:51, 30 September 2007 (UTC)

I've removed one. The guideline is still just a proposal, but in combination with Mareklug's specific request and my own personal opinion it seems like that's the way things are leaning. This also has the added benefit of giving a tiny bit more space to the text, making the template more compact overall. Bryan Derksen 01:45, 2 October 2007 (UTC)

Y Done - I believe Bryan Derksen's edit counts as done. -- JHunterJ 02:58, 2 October 2007 (UTC)

[edit] Style change

{{editprotected}}I would like to request that you make the following change:

|bodystyle=width: 80%; text-align: center; clear: both;

remove: margin: 0.5em auto;
it prevents the proper stacking of navboxes, as you can see in Carlos Valderrama (footballer), Dino Zoff.

also i would suggest (not request) removing the 80% width, but that's probably a different issue... thanks --Ben Stone 07:37, 1 November 2007 (UTC)

Y Done A good point, I was just coming here to find out how to do that so you've saved me the trouble! They should all stack nicely now. The Rambling Man 11:22, 5 November 2007 (UTC)

[edit] Player link partly obscured by flag

Re Template:The Invincibles squad. In Firefox (1024x768), the Ron Saggers link is partly obscured by the Australian flag. With IE its fine. I can't see what's causing this. —Moondyne 01:30, 29 November 2007 (UTC)

[edit] Change to full width?

Does anyone object to changing this template to full-width (along with similar templates {{Football squad}} and {{Football manager history}})? Or does anyone know of a place where that discussion already happened? It looks to me like the width was set to 80% when this template was created years ago and just never changed since. Nearly all Navboxes use 100% width and it looks funny when there are pages with both the 100% width ones and these 80% width ones adjacent to each other. In addition, 80% is so close to 100% that we might as well just make it match up with other templates. Finally, on some lower resolution screens the extra 20% can make all the difference in making the template readable. I'm all for the conversion to standardize the widths....anyone have thoughts on this? --CapitalR (talk) 12:35, 17 April 2008 (UTC)

Fine by me - some of the manager boxes are far too large with 80% width. I don't think it will, but you might want to check that the change doesn't conflict with any football box stuff though. пﮟოьεԻ 57 11:01, 18 April 2008 (UTC)
Glad to hear you agree. I took a look at the Football box, and I don't think there should be a problem there. Those are mostly hard-coded to have 47em width, so they already don't quite match up with the 80% width of these boxes. --CapitalR (talk) 08:07, 19 April 2008 (UTC)
I would be against this, we have an agreed standard that works both on a technical and aesthetic level, I would have the box returned to 80% width.Londo06 13:11, 20 April 2008 (UTC)