Jump to content

Template talk:Football squad player: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Line 33: Line 33:


:@Gasheadsteve: No clever wizardry required; use {{tlx|flagcountry|CAF}} to get {{flagcountry|CAF}}. — [[User:Andrwsc|Andrwsc]] ([[User talk:Andrwsc|talk]] '''·''' [[Special:Contributions/Andrwsc|contribs]]) 20:28, 30 March 2010 (UTC)
:@Gasheadsteve: No clever wizardry required; use {{tlx|flagcountry|CAF}} to get {{flagcountry|CAF}}. — [[User:Andrwsc|Andrwsc]] ([[User talk:Andrwsc|talk]] '''·''' [[Special:Contributions/Andrwsc|contribs]]) 20:28, 30 March 2010 (UTC)

Per above and [[Wikipedia:Manual of Style (icons)#Accompany flags with country names]],
{{editprotect}}
Change
<blockquote><nowiki>| style="text-align: right;" |{{flagicon|{{{nat}}}|variant={{{natvar|}}}}}</nowiki></blockquote>
to
<blockquote><nowiki>| style="text-align: right;" |{{#if: {{{icon|}}} | {{#ifeq: {{{icon|}}} | yes | {{flagicon|{{{nat}}}|variant={{{natvar|}}}}} | {{flagcountry|{{{nat}}}|variant={{{natvar|}}}}} }} | {{flagcountry|{{{nat}}}|variant={{{natvar|}}}}} }}</nowiki></blockquote>

This incoporates a new parameter&mdash;"icon". If "icon" is empty (default) or not "yes", the country name will be shown. To show only the flag icon, simply add the parameter "icon=yes". The default case complies with [[Wikipedia:Manual of Style (icons)#Accompany flags with country names]], and having lists with names besides all the flags is still compliant with the guidelines. Any other sort of scheme as default goes against MOSFLAG. [[User:Jappalang|Jappalang]] ([[User talk:Jappalang|talk]]) 22:05, 19 July 2010 (UTC)


== Use in basketball team articles ==
== Use in basketball team articles ==

Revision as of 22:05, 19 July 2010

New template: {{cc3}}

I guess this can be used here. –Howard the Duck 05:46, 4 June 2009 (UTC)[reply]

Sincerely, seeing a South African footballer being listed as "(RSA) Player Name" seems quite pointless to me, average readers hardly know RSA actually means South Africa, flags are definitely more recognizable in that case. --Angelo (talk) 07:13, 4 June 2009 (UTC)[reply]

Date of birth column

Can somebody add a date of birth column? — Preceding unsigned comment added by TheBigJagielka (talkcontribs)

{{editprotect}} Copy code from User:Gnevin/sandbox5 Gnevin (talk) 17:28, 15 January 2010 (UTC)[reply]

(I'm not an admin). To be clear, what does the code in that sandbox do? It's difficult to tell. WFCforLife (talk) 17:33, 15 January 2010 (UTC)[reply]
Yes, please could you clarify, thanks. — Martin (MSGJ · talk) 18:01, 15 January 2010 (UTC)[reply]
It add a field called ref beside the flag as per the discussion, this change needs to be carried out at the same time as the change to Template:Football squad start which add a note about the flag field and makes some spacing changes Gnevin (talk) 21:44, 15 January 2010 (UTC)[reply]
Sorry, have wrong code in the sandbox. That was a rejected idea to hide the flag when ref wasn't there. I've fixed this now to just add a ref tag beside the flag Gnevin (talk) 21:52, 15 January 2010 (UTC)[reply]
 Done  Ronhjones  (Talk) 22:24, 15 January 2010 (UTC)[reply]

{{editprotect}} Change to Template:Football squad player/sandbox to fix issue caused by changed fs start Gnevin (talk) 01:48, 16 January 2010 (UTC)[reply]

Never mind pointless user can just add a ref Gnevin (talk) 01:57, 16 January 2010 (UTC)[reply]

{{editprotect}} Please revert this change as it relied on a change to fs start which has been removed Gnevin (talk) 02:04, 16 January 2010 (UTC)  Done changed to same as Template:Football squad player/sandbox  Ronhjones  (Talk) 14:12, 16 January 2010 (UTC)[reply]

Country names

I think that the name of the country need to be placed next to the flag of the players' nationalities, i.e. use the {{flag}} template instead of {{flagicon}}. Using just the flag without the name of the country assumes the reader has the knowledge and the ability to recognise the flag, which may not necessarily be the case, and even if a reader does know their flags they can be difficult to distinguish at the size they are displayed here. The various blue ensigns in use around the world can cause particular difficulty, not to mention pairs of countries like Indonesia/Monaco which have identical flags, or the various combinations of the pan-african colours.

There needs to be some sort of clever wizardry to make sure that the output is  Central African Republic, rather than  CAF, when the three-letter ISO code has been used with the 'nat=' parameter instead of the full country name. — Gasheadsteve Talk to me 13:27, 25 March 2010 (UTC)[reply]

That would indeed adress an abuse of WP:FLAG perpetuated in this template, but there are many other issues about the inclusion of flags that are not well resolved at present, like why are they considered relevant at all, especially for the vast majority of players who are nowhere near consideration for a national team; the false impression given about players who have played under what is not much more than a flag of convenience; presentation of incomplete information about players of multiple nationality or otherwise eligible for more than one team; and lack of verification. I would suggest holding fire until some or all of those have been resolved. Kevin McE (talk) 16:05, 30 March 2010 (UTC)[reply]
@Gasheadsteve: No clever wizardry required; use {{flagcountry|CAF}} to get  Central African Republic. — Andrwsc (talk · contribs) 20:28, 30 March 2010 (UTC)[reply]

Per above and Wikipedia:Manual of Style (icons)#Accompany flags with country names,

Change

| style="text-align: right;" |{{flagicon|{{{nat}}}|variant={{{natvar|}}}}}

to

| style="text-align: right;" |{{#if: {{{icon|}}} | {{#ifeq: {{{icon|}}} | yes | {{flagicon|{{{nat}}}|variant={{{natvar|}}}}} | {{flagcountry|{{{nat}}}|variant={{{natvar|}}}}} }} | {{flagcountry|{{{nat}}}|variant={{{natvar|}}}}} }}

This incoporates a new parameter—"icon". If "icon" is empty (default) or not "yes", the country name will be shown. To show only the flag icon, simply add the parameter "icon=yes". The default case complies with Wikipedia:Manual of Style (icons)#Accompany flags with country names, and having lists with names besides all the flags is still compliant with the guidelines. Any other sort of scheme as default goes against MOSFLAG. Jappalang (talk) 22:05, 19 July 2010 (UTC)[reply]

Use in basketball team articles

I noticed something while looking at the article for Olympiacos B.C. I've noticed it in some other articles, but this one made me decide to post.

The "Football squad" template is being used to list players transferring in and out of a team. Only one problem with its use in basketball articles: the "Football squad start" specifically references FIFA. For basketball, the correct governing body is FIBA. For basketball, the text should read (I'm correcting the text for clarity):

Note: Flags indicate national team as has been defined under [[International Basketball Federation|FIBA]] eligibility rules. Players may hold one or more more non-FIBA nationalities.

Think someone can fix this issue? Simplest way I see is to create a basketball version, though it might be a good idea to run it by WikiProject Basketball first. — Dale Arnett (talk) 05:54, 8 May 2010 (UTC)[reply]

Multiple Positions

What if a player is frequently played in more then one position e.g. Defender and Midfielder, and a primary position cannot be distinguished? Is it possible to input two positions successfully? Half Price (talk) 14:49, 25 May 2010 (UTC)[reply]

No, in that case just refer to the one position listed in the team website or, alternatively, to the one he is mostly used to. --Angelo (talk) 14:59, 25 May 2010 (UTC)[reply]
Thanks. Much appreciated. --Half Price (talk) 16:27, 25 May 2010 (UTC)[reply]