Template talk:Flag decoration
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Template:Flag decoration is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This template was considered for merging with Template:Flag on 2014 December 10. The result of the discussion was "do not merge". |
This template was considered for deletion on 30 October 2010. The result of the discussion was "no consensus". |
Tracking redinks, and noredlink=yes
[edit]Per the discussion at Template talk:Flagicon#Noredlinks, I have amended the template (in these edits[1]) to allow:
- the tracking of redlinks in Category:Flagdeco with missing country data templates (population: 0}
- the suppression of redlinks, by using the parameter
|noredlink=yes
I have documented this at Template:Flagdeco/doc (diff[2]).
--BrownHairedGirl (talk) • (contribs) 01:23, 27 November 2018 (UTC)
Proposal: display country/region name in the tooltip
[edit]I propose displaying country/region name in the tooltip by default. It will help visually impaired readers, as well as help readers recognize countries/regions with lesser-known flags. The variant value, if present, should be appended to the tooltip, e.g., "Bulgaria, 1946". — UnladenSwallow (talk) 15:22, 5 April 2020 (UTC)
- On a second thought, maybe we should not enable this by default, but with a parameter tooltip=yes (in most use cases {{flagdeco|…}} is already followed by country/region name, so there's no need for the tooltip). — UnladenSwallow (talk) 16:01, 5 April 2020 (UTC)
Minor improvement in the flagdeco/core sandbox
[edit]Here. I replaced:
{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}
with
{{{size|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}}
It should have the same effect—I tested it on a couple of pages with template preview—and be a smidgen faster with one less conditional. — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚 ☎ 01:58, 17 June 2021 (UTC)
Do you like the border?
[edit]I don't. (There is currently a 1px border) --Palosirkka (talk) 12:56, 27 August 2021 (UTC)
Template-protected edit request on 19 April 2023
[edit]This edit request to Template:Flagdeco has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The flag used for {[flagdeco|DRC|1963}} has been moved on Commons. Can some fix that? - Sumanuil. (talk to me) 01:05, 19 April 2023 (UTC)
- Completed at {{Country data Democratic Republic of the Congo}}: {{flagdeco|DRC|1963}} = (File:Flag of the Republic of the Congo (Léopoldville) (1963–1966).svg). P.I. Ellsworth , ed. put'er there 17:32, 19 April 2023 (UTC)
Template-protected edit request on 4 June 2024
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change invocations of template {{flagdeco/core}} to {{flag decoration/core}} in line with the recent name change, per WP:BRINT. Colonies Chris (talk) 10:26, 4 June 2024 (UTC)
- Done — Martin (MSGJ · talk) 10:32, 4 June 2024 (UTC)
- Thanks. Colonies Chris (talk) 10:49, 4 June 2024 (UTC)