Template talk:National squad/Archive 1

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)

Hiding
Further to the discussions at Templates_for_deletion/Log/2007_March_8, 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)

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: [[Image:Flag of Ireland cricket team.svg|20px]]. 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 on both the flag entries. ArtVandelay13 14:01, 11 April 2007 (UTC)

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. 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)

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;" ! ! style="background: ; border: 1px solid #aaa; width:100%;" | |  - | !

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

border
Do the flags need to be bordered? Some already have a border, so it becomes a double border.
 * See also Template talk:Border &mdash;MC 19:35, 1 June 2007 (UTC)

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. ka la  ha  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". ka  la  ha  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)
 * ✅ Done. ck lostsword•T•C 09:00, 9 July 2007 (UTC)


 * It now has a purple border round the flag. slυмgυм [ ←→ &#93; 17:20, 9 July 2007 (UTC)


 * Okay, the solution to the purple border is here:

Line 2 & 8: ! style="background: transparent" |


 * This will remove it. ka  la  ha  18:13, 9 July 2007 (UTC)


 * ✅ Done - sorry, I was under the impression that you wanted the purple borders :). ck lostsword•T•C 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. ka  la  ha  07:23, 16 July 2007 (UTC)

Font size
Would it be possible to reduce the size of the font used in this template to make it the same as ? 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)

Dots
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:


 * In my opinion, not really an improvement, but I don't really object. slυмgυм [ ←→ &#93; 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υм [ ←→ &#93; 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:


 * instead of:


 * I'm kind of at a loss to explain this discrepancy. JACOPLANE &bull; 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υм [ ←→ &#93; 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   5  7  11:47, 25 July 2007 (UTC)
 * [[Image:Yes check.svg|20px]] 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 &bull; 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 &bull; 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   5  7  09:03, 10 August 2007 (UTC)

Make p12 - p15 optional?
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)
 * [[Image:Yes check.svg|20px]] Done. Cheers. --MZMcBride 22:55, 4 August 2007 (UTC)
 * That was fast. Thanks! – Sadalmelik 23:07, 4 August 2007 (UTC)

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= " 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). 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)

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)

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)

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)

Gender
I've added a parameter,, so that   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)

One flag
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: 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)
 * ✅ - I believe Bryan Derksen's edit counts as done. -- JHunterJ 02:58, 2 October 2007 (UTC)

Style change
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)

✅ 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)

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. &mdash;Moondyne 01:30, 29 November 2007 (UTC)

Change to full width?
Does anyone object to changing this template to full-width (along with similar templates and )? 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. пﮟოьεԻ   5  7  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. Londo  06  13:11, 20 April 2008 (UTC)

Add hCard microformat
editprotected Please add the hCard microformat, thus:

and, around each player, respectively, add nested spans thus:

and around the coach (including the label):

Thank you. Andy Mabbett | Talk to Andy Mabbett 21:18, 25 August 2008 (UTC)


 * ✅ Happy‑melon 10:19, 26 August 2008 (UTC)

[outdent] Thank you. I must apologise; the first part should be:

with no quote marks. For information, the "agent" class makes the player's hCards "child" properties of the wrapping "parent" hCard. Andy Mabbett | Talk to Andy Mabbett 10:27, 26 August 2008 (UTC)


 * I see that you've ✅ that; thank you, but for some reason those classes are not appearing in the final output, I can't see why - can anyone else help, please? Andy Mabbett | Talk to Andy Mabbett 11:14, 26 August 2008 (UTC)

border colour
Change the code from

to

allowing a custom border to be used. To go in style with for example Football manager history and Football squad chandler · 20:32, 30 March 2009 (UTC)
 * ✅ --CapitalR (talk) 22:16, 30 March 2009 (UTC)

Portuguese
I wish that insert the page into Portuguese Predefinição:Info/Time (National Squad here) to result in:

pt:Predefinição:Info/Time Lhca gkl (talk) 19:55, 3 July 2010 (UTC)
 * ✅ Varlaam (talk) 01:16, 30 April 2011 (UTC)

More than one coach
In that event, you have a singular prompt with plural data.

Any way to have an optional "Coaches:" prompt? Varlaam (talk) 01:06, 30 April 2011 (UTC)

Template updates to hlist format
I've done an updated version of the template which uses the hlist class in the sandbox. If I don't hear any objections, I'll copy over to live in a few days. -- WOSlinker (talk) 17:42, 12 December 2011 (UTC)

Navboxes fail to stack properly
I have done the templates for the Singapore national football team (ASEAN Football Championship squads) and they don't stack properly. You can see there's a margin in between 2 navboxes. My suspicion is that it has to do with the football squad template I used in order to have customised shirt numbers. The flags are not aligned at the same spot too. Is anyone able to offer a solution? Thanks. LRD NO (talk) 19:56, 19 March 2014 (UTC)

Solved. LRD NO (talk) 04:39, 21 March 2014 (UTC)

Line break
Per MOS:NBSP, I request to change each line of the "list1" to following:

present: * 1    proposal: * 1 &amp;nbsp;

The "Coach" line is ok. Sawol (talk) 05:10, 15 May 2014 (UTC)

I request the same editing for Template:National squad no numbers.

present: *  proposal: * &amp;nbsp;


 * ✅ –  Paine Ellsworth  C LIMAX ! 09:27, 15 May 2014 (UTC)

The 'comp' length affects the flag's width
Just take a look at Template:Italy_squad_2006_FIFA_World_Cup. You can see that the flag occupy too much space. When you shorten the content within the 'comp' field you will see that the flag is allocating correctly. I know only affect the look and feel but it would be nice if this is being corrected. Thanks

(Winston (talk)) —Preceding undated comment added 09:09, 8 November 2016 (UTC)

Page showing unknown parameter
In this template, I am able to see a hidden category Pages using national squad with unknown parameters. Please verify which parameter is causing that error and please resolve that error.Adithyak1997 (talk) 17:26, 8 January 2019 (UTC)
 * Are you referring to the use of the parameter loaded by this page to other pages, or here to itself? — xaosflux  Talk 13:46, 9 January 2019 (UTC)
 * Here itself.Adithyak1997 (talk) 13:50, 9 January 2019 (UTC)
 * can you take a look when you have a moment? — xaosflux  Talk 13:54, 9 January 2019 (UTC)
 * If you can, please compare the arguments present in module with that in the template.Adithyak1997 (talk) 14:04, 9 January 2019 (UTC)
 * , pages sorted under "!" are missing the information required to make the navbox title. I will add a note to the tracking category. Frietjes (talk) 14:19, 9 January 2019 (UTC)