Template talk:Fb

Latest comment: 9 months ago by StAnselm in topic altlink

Dealing with DABs

edit

Is there any way to make {{fb|USA}} point directly to United States men's national soccer team and not the DAB United States national soccer team article? If not, then I think {{USAf}} should not be replaced with the {{fb}} template. Neier 12:17, 25 June 2007 (UTC)Reply

Yes, there is, but I am still working on the implementation. I will announce when the transition is complete on Wikipedia talk:WikiProject Football. Note that I have not replaced any instances of {{USAf}} yet for precisely this reason. I will only make replacements when the {{fb}} version is a "perfect" replacement. Andrwsc 16:21, 25 June 2007 (UTC)Reply

Comment: The USA isn't the only country with a nonstandard national team article. I'm sure there are a couple of others, but I know these off the top of my head. — Dale Arnett 03:00, 28 June 2007 (UTC)Reply

Yes, I know this. As I mentioned on the project talk page, 189 out of 207 FIFA codes currently work because they use the standard article name format. I am currently sandboxing a solution for the other 18, plus an assortment of non-FIFA teams. However, I am not replacing any that aren't 100% compatible. Please be patient for me to get the remainder working. Andrwsc 03:18, 28 June 2007 (UTC)Reply
I forgot to follow up, but all these are working properly now (avoiding the dab page). Andrwsc 00:24, 6 July 2007 (UTC)Reply

Ireland

edit

Using {{fb|Ireland}} gives   Ireland, however looking at MOS:FLAGS this would seem to be a breach of the section "Inventing new flags and using non-flag stand-ins", does anyone know where the use of the St.Patrick's Soltaire comes from in relation to Irish Soccer? —Preceding unsigned comment added by Fasach Nua (talkcontribs)

Better to ask this question at Wikipedia:WikiProject Football. This template merely simplifies the rendering of the flag and wikilink for the long-standing consensus of how the IFA team is represented before it was called "Northern Ireland". (Use {{fb|Northern Ireland}} for that.) Andrwsc (talk) 16:49, 18 November 2007 (UTC)Reply
Thanks, I've moved the discussion there Fasach Nua (talk) 21:11, 18 November 2007 (UTC)Reply

See Wikipedia_talk:WikiProject_Football#Ireland

Morocco

edit

Using {{fb|MOR}} gives Template:Country data MOR which links to Morocco Fed Cup team (Fed Cup tennis team article) and not Morocco national football team (the football/soccer team). Obviously something has gone wrong.

Aaron carass (talk) 20:48, 3 March 2009 (UTC)Reply

The country code for Morocco is actually MAR. Try {{fb|MAR}}. Somebody created a malformed Template:Country data MOR some months ago, which I have just deleted. — Andrwsc (talk · contribs) 21:17, 3 March 2009 (UTC)Reply
Thanks.
Aaron carass (talk) 22:22, 3 March 2009 (UTC)Reply

East Timor

edit

The country has recently been a subject to a vote whether the Wikipedia's article should rename it East Timor or Timor-Leste. The first option clearly won. So all the national teams of East Timor should be named that way. Is there any way to link the {{fb|TLS}} to East Timor national football team instead of Timor-Leste, to avoid the massive redirection? Tibullus (talk) 20:22, 14 November 2010 (UTC)Reply

This is a discussion best held at WT:FOOTY, but any naming consensus for the East Timor article does not automatically mean that the Timor-Leste national football team article should be renamed. A separate consensus must be reached, and clearly the team is known as "Timor-Leste" in the football context per FIFA etc. — Andrwsc (talk · contribs) 05:06, 15 November 2010 (UTC)Reply

FR Yugoslavia/Serbia and Montenegro

edit

{{fb|Serbia and Montenegro}} and {{fb|FR Yugoslavia}} and their 3 letter codes link to the current Serbia team yet its predecessor has its own article. VEOonefive 19:32, 21 November 2010 (UTC)Reply

non linked country name

edit

Can you add a parameter that allows you have the country without the link so it's in just plain text please. regards Govvy (talk) 12:23, 8 February 2013 (UTC)Reply

I would also like this feature. Currently, this automatically happens when this template is used on the national football team article of the corresponding country, but in all other cases, it is still linked. This is not necessary, for example, on separate lists of results for a certain team. It would be nice if we could unlink the country on those articles too, not just on the main article. In fact, it may be possible to make it automatic by leaving it unlinked as long as you find the country name anywhere in the current page URL. —Sygmoral (talk) 00:18, 1 September 2015 (UTC)Reply
These is no unlinked version of {{fb}} as far as I'm aware (with the current flag template system, pretty much any change in the format requires a separate template), though you could use the general {{flagg}} template: {{flagg|unue|France|avar=fb}}  France. Alternatively, there is the general-purpose {{flagu}} for a flagicon with unlinked country name. That, however, unlike Flagg, does not automatically change the flags and names to football-specific variants, so you'd have to use the variant and name parameters (or redirects) where necessary.
  • {{fb|China}}  China
  • {{flagg|unue|China|avar=fb}}  China
  • {{flagu|China}}  China
  • {{flagu|China|name=China PR}}  China PR
  • {{flagu|China PR}}  China PR
  • {{fb|Ireland}}  Ireland
  • {{flagg|unue|Ireland|avar=fb}}  Ireland
  • {{flagu|Ireland}}  Ireland
  • {{flagu|Ireland|football}}  Ireland
SiBr4 (talk) 15:20, 1 September 2015 (UTC)Reply

Palestine

edit

{{fb|Palestine}} doesn't work properly. It displays as   Palestine instead of   Palestine.

(In case it gets fixed later on, it's displaying as   [[Palestine {{{altlink}}}|Palestine]].)

This is causing mis-display at articles such as 2006 AFC Challenge Cup. --Metropolitan90 (talk) 03:41, 30 June 2014 (UTC)Reply

Help on cywiki please

edit

I've copied this template to the Welsh language wiki, but the syntax is the wrong way round. In Welsh, the noun always comes first with adjectives following, describing it. Hence my message on cywiki, if someone could help, please. It effects a large number of links, as you know. Llywelyn2000 (talk) 06:16, 29 December 2014 (UTC)Reply

Is there any where else I should post this message, please? Llywelyn2000 (talk) 10:43, 8 January 2015 (UTC)Reply

 Malaya

edit

This template is redirect to Malaysia national football team. I just create the Malaya national football team and working on it, hope any administrators or template editor can fix the link. Molecule Extraction (talk) 11:09, 25 November 2016 (UTC)Reply

Almost two years have passed since I made this request but still get no response. Frietjes, as you are one of the template editor, can you help to update this template since I don't have any permission to edit high risk template? Molecule Extraction (talk) 21:52, 4 June 2018 (UTC)Reply
Molecule Extraction, okay, I changed Template:Country data Malaya. Frietjes (talk) 12:21, 5 June 2018 (UTC)Reply
Thank you so much Frietjes.   Molecule Extraction (talk) 02:48, 6 June 2018 (UTC)Reply

Dealing with DABs again

edit

{{fb|Isle of Man}} produces a link to the dab page Isle of Man national football team. It would be nice if it magically guessed whether to link to Ellan Vannin football team or Isle of Man official football team depending on the context. As that's never going to happen, please does anyone have a more practical suggestion for dealing with this case? Certes (talk) 00:38, 14 July 2017 (UTC)Reply

I've diverted the relevant articles to use {{flagicon}} and an explicit link. We can restore the use of {{fb}} if and when it works for this case. Adding
| link alias-football = Isle of Man official football team
to {{Country data Isle of Man}} would be a half-hearted solution but doesn't work where the Ellan Vannin team is intended, and vice versa. Perhaps {{fb}} needs an explicit "don't do any clever title manipulation; just draw the flag and link to this article" parameter.
I'm also seeing more and more articles on women's football which could benefit from this template. The common factor is that the relationship between country and team is one-to-many whereas the templates assume it to be one-to-one. A clever solution might solve both problems simultaneously and have applications elsewhere such as youth teams. Certes (talk) 18:11, 9 October 2017 (UTC)Reply

I am deleting this template from all pages where it is creating a disambiguation link for Isle of Man. A template with no provision for addressing disambiguation links is a net negative for the project, and should be deleted altogether, and replaced with one that is actually designed to work in the environment of Wikipedia. bd2412 T 01:47, 28 December 2017 (UTC)Reply

@BD2412 and Certes: You missed a couple (unsurprisingly, for one of these ridiculously convoluted undebuggable templates). Men's Football at the 2015 Island Games also had {{fb}} wrapped up inside {{Infobox International Football Competition}}, linking to the DAB page Isle of Man national football team; and Women's Football at the 2015 Island Games had {{fb}} linking to the same DAB page which is about the men's teams. I've followed BD2412's solution, and replaced {{fb}} by {{flag}} or similar. If nothing else, those two pages should now be out of WP:DPL's hair.
That exercise took 30 minutes out of my life which I will not get back, and should not have been necessary. Narky Blert (talk) 23:03, 11 January 2018 (UTC)Reply

Add template:nft to 'see also'

edit

The no-flag template variant. VEOonefive 17:19, 16 April 2018 (UTC)Reply

French Guiana

edit

'fb|GUF' still produces   when it should produce  . The green and yellow flag has not been the overseas department's flag since 2015. Also, CONCACAF uses the official tricolor flag on their nation index. TrailBlzr (talk) 02:31, 19 March 2019 (UTC)Reply

Template-protected edit request

edit

I'd like to make an edit request to fix the two Linter errors this page has... and it's honestly a really silly fix.

The last two lines of the template have }} and </span> on a new line after "football" for the altvar parameter. I'd like to have those curly braces and ending span tag be put on the same line as the altvar parameter instead.

Through some strange interaction with the documentation template, having those curly braces and span end tag on a different line is why the template page displays only the last two curly braces on a new line. Putting them on the same line as the altvar parameter gets everything on one line again and removes the Linter errors. I've checked this modification in the template sandbox if you want to refer to it. Wsan2 (talk) 18:53, 22 April 2019 (UTC)Reply

Crimea vs Crimean Tatars

edit

Please devide template   Crimea to box { { fb | Crimea } } and { { fb | Crimean Tatars } }. Because we have two exist teams: Crimea national football team and Crimean Tatars national football team, I advise indicate in exist template   Crimea flag of Republic of Crimea and make redirect to Crimea national football team. And after make new template:   Crimean Tatars with flag of Crimean Tatars and redirect to Crimean Tatars national football team. After this I correct information in the articles that link to both templates.. But I can not make and correct this templates. Please help me...--Benedetto xviii (talk) 01:24, 1 December 2019 (UTC)Reply

@Benedetto xviii: Is this what you were looking for?
Let me know if there are any issues. S.A. Julio (talk) 03:38, 1 December 2019 (UTC)Reply
Thank you very much!!! --Benedetto xviii (talk) 15:42, 1 December 2019 (UTC)Reply

Template-protected edit request on 2 April 2020

edit

Please move </noinclude> to a new line to fix Special:LintErrors. There is some weirdness when parsing without this newline. See change in template Sandbox. Tholme (talk) 09:53, 3 April 2020 (UTC)Reply

  DoneJonesey95 (talk) 13:16, 3 April 2020 (UTC)Reply
edit

Is there an option where you can delink with this template? Govvy (talk) 08:51, 12 July 2021 (UTC)Reply

@Govvy: See #non linked country name above. Nehme1499 11:33, 30 July 2022 (UTC)Reply

China PR

edit
 – * Pppery * it has begun... 13:38, 30 July 2022 (UTC)Reply
edit

Please change "altlink = national football team" to "altlink = men's national football team". All the men's teams' pages have now been moved, and in some cases (e.g. Spain) "national football team" is ambiguous and this template sends readers to a disambiguation page (per Wikipedia talk:WikiProject Football#National team RfC). StAnselm (talk) 04:26, 23 September 2023 (UTC)Reply

  Completed. P.I. Ellsworth , ed. put'er there 10:06, 23 September 2023 (UTC)Reply
I do not think this change should have been made. It is not the case that all such pages have been moved (for example, Ecuador national football team) and this has created many broken links in other pages. Furthermore it is unnecessary since there is already Template:Fbw. Tffff (talk) 12:31, 23 September 2023 (UTC)Reply
  Undone for further consideration. P.I. Ellsworth , ed. put'er there 13:34, 23 September 2023 (UTC)Reply
We note that the Spain national football team is no longer a dab page – now located at Spain national football team (disambiguation). And a new move request has been opened at Talk:Afghanistan national football team. P.I. Ellsworth , ed. put'er there 13:44, 23 September 2023 (UTC)Reply
Pinging editors Amakuru, MaterialWorks, StAnselm and Tffff for your info. P.I. Ellsworth , ed. put'er there 14:00, 23 September 2023 (UTC)Reply
Thanks. I think this change will have to be made eventually - maybe the other pages should be moved first. StAnselm (talk) 14:14, 23 September 2023 (UTC)Reply