Template talk:Flagg

Suggestion: add a table-alignment parameter
At Special:Diff/1028180415, I had to swap out flaglist+link for for WP:PEIS reasons, but that did mean losing the. Could I add a "T" option (table, but different to "t") that causes the alignment setting to be output at the start of the template? This would default to left but be controlled by the existing align= parameter if needed. User:GKFXtalk 17:19, 17 June 2021 (UTC)

Asterisk optionality
Is it possible _not_ to display the asterisk in a case, such as with the article, list of European countries by population. I find it very distracting and redundant. --Mahmudmasri (talk) 15:07, 3 June 2022 (UTC)

Flagg|cxxlo for BLR/RUS players
What is the four-letter abbreviation parameter for Belarus/Russian sports athletes for, similar to , equivalent to  ? Qwerty284651 (talk) 12:15, 12 May 2023 (UTC)

PAGE ]]) 21:00, 21 January 2024 (UTC)
 * You can use, which is a wrapper for Module:flagg, as an alternative to flagathlete. --Ahecht ([[User talk:Ahecht|TALK

Does not work with colspan
See: User:Timeshifter/Sandbox205 and its file history.

Instead of

I had to use:

Here below is what shows up with

Substituting  for   does not help.

See bottom of section here: Help:Table. --Timeshifter (talk) 10:20, 17 June 2023 (UTC)

Flag of Martinique
Even though Martinique has a new flag as of 2023, the French flag still erroneously displays. As well as that, emojis depicting the flag have the racist snake flag (🇲🇶). OMGShay 92 (talk) 15:26, 30 June 2023 (UTC)

PAGE ]]) 21:02, 21 January 2024 (UTC)
 * @OMGShay 92 You should raise this at Template talk:Country data Martinique --Ahecht ([[User talk:Ahecht|TALK

Row moving over one cell. Table bug using Flagg template
Copied from Village pump (technical): --Timeshifter (talk) 22:31, 19 August 2023 (UTC)

Edit request 8 October 2023 for adding new "i" option to use IOC country code resolution Reply Suggestion
Add an extra "i" option, to use the IOC country codes for resolving the entity string to country data, using Module:Country alias/data. This is useful primary in Olympic contexts, where codes like "BRN" always refer to Bahrain rather than Brunei as they currently do with the default resolution options.


 * Testcase added to Flagg/testcases and tested ✅
 * Documentation added to Flagg/doc ✅

The edit is uncontroversial because it does not change the existing template/module behavior at all, unless the new "i" option is added.

Description of suggested change: See Module:Flagg/sandbox, where the change is completed.

Add this code after line 52 : local countryDataCountry = country if string.find(me, "i") then local titleIocCountryData = mw.title.newModule:Country alias/data local IocCountryData = require(tostring(titleIocCountryData)) local iocCountryAlias = IocCountryData.countryAliases[country] or country countryDataCountry = IocCountryData.countries[iocCountryAlias]["name"] end

Also, change line 73:

Also, change line 77:

--Habst (talk) 16:08, 8 October 2023 (UTC)


 * .  P.I. Ellsworth &thinsp;, ed.  put'er there 20:01, 8 October 2023 (UTC)

Washington, D.C.
Washington, D.C. is correct spelling according to the Wikipedia page.

Can flagg be fixed so that "Washington, D.C." shows up instead of just "Washington":

I would prefer not having to add another parameter (more work) to force the addition of D.C. to the link:



--Timeshifter (talk) 12:27, 10 October 2023 (UTC)