Template talk:Flag decoration

(Redirected from Template talk:Flag decoration/doc)
Latest comment: 5 months ago by Colonies Chris in topic Template-protected edit request on 4 June 2024

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:

  1. the tracking of redlinks in Category:Flagdeco with missing country data templates (population: 0}
  2. 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)Reply

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

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

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

Do you like the border?

edit

I don't. (There is currently a 1px border) --Palosirkka (talk) 12:56, 27 August 2021 (UTC)Reply

Template-protected edit request on 19 April 2023

edit

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

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

Template-protected edit request on 4 June 2024

edit

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

  Done — Martin (MSGJ · talk) 10:32, 4 June 2024 (UTC)Reply
Thanks. Colonies Chris (talk) 10:49, 4 June 2024 (UTC)Reply