Template talk:Country data Poland

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Edit request from Greenshed, 14 April 2010 - please use SVG in preference to GIF[edit]

{{editprotected}} Please delete flag alias-air force = Flaga Lotnictwa.gif and replace with flag alias-air force = PL air force flag IIIRP.svg. Many thanks. Greenshed (talk) 22:24, 14 April 2010 (UTC)[reply]

Polish military variant flags[edit]

At the moment, some Polish military flag variants are rendered with a 1-pixel border, when they are not quadrilateral shaped. Please remove the border when rendering these flags, so that they appear without a border, as well as being rendered at 25 pixels wide.

  1. Remove 1-pixel border from the listed flag variants below when rendered as a flagicon, due to their irregular shape and not being quadrilateral flags.
  2. Render these flags at 25 pixels width to compensate for the lack of border, since quadrilateral flagicons are rendered at 23-pixels with a 1-pixel border.

The flag variants needed to have their 1-pixel borders removed are:

  1. naval-1946
  2. naval-1919
  3. naval
  4. air force

Thank you! Illegitimate Barrister (talk) 08:02, 28 January 2014 (UTC)[reply]

I can't edit this template myself, though for anyone who can, point 1. can be realized by adding the lines
|border-naval-1946 =
|border-naval-1919 =
|border-naval =
|border-air force =
As for the second point, since the default size should be changed only for some of the available variants, that would mean messing around with parser functions some more than with other templates. I think changing the |size = {{{size|}}} line to
|size = {{#if:{{{size|}}}|{{{size}}}|{{#ifeq:{{{variant}}}|naval-1946|23px}}{{#ifeq:{{{variant}}}|naval-1919|23px}}{{#ifeq:{{{variant}}}|naval|23px}}{{#ifeq:{{{variant}}}|air force|23px}}}}
should work (though this code should be tested in a sandbox first). SiBr4 (talk) 19:41, 28 January 2014 (UTC)[reply]
Note that on other country data templates on which some variants don't need borders, the default size isn't changed for these variants only (see for example IS, NO, DK, DE, SE and FI). That does make the non-bordered flag icons somewhat smaller (e.g. Germany Germany Sweden Sweden), so a size change in this template should be applied to these templates too. I can create a template containing the mentioned parser functions that should make specifying sizes for certain variants easier. SiBr4 (talk) 19:53, 28 January 2014 (UTC)[reply]
Not done: please establish a consensus for this alteration before using the {{edit template-protected}} template.
The reason you need a consensus for border elimination is because, if I read this discussion correctly, the only way to kill the borders is with the border = parameter, and that will kill all the borders, to include the ones on the rectangular flags. Such a change would require an attempt to gain agreement/consensus before it can happen. The size parameter's alteration depends upon what happens with the border/no border discussion. – Paine Ellsworth CLIMAX! 04:37, 29 January 2014 (UTC)[reply]
  • Done: I removed the border from the four flags as requested. SiBr4's suggestion worked; adding the empty parameters removes the border produced by Template:Flagicon/core. I also resized them, but used the switch ParserFunction instead of multiple ifeqs. That should do it. Paine Ellsworth, I don't mean to step on your toes; the discussion you provided is nearly six years old and functionality has increased since then. Cheers, LittleMountain5 06:06, 29 January 2014 (UTC)[reply]
    Hmm, I noticed one issue: the size still defaults to 23px instead of 25px when the air force or navy templates are used, because they add an empty {{{size|}}} parameter. I'm not sure if there's any way to fix that. Thoughts? LittleMountain5 06:18, 29 January 2014 (UTC)[reply]
    I thought about using a {{#switch}} instead of the {{#ifeq}}s only after I posted my comment, so thanks for using that. Can the other Northern European country data templates I listed be changed in the same way or should that be requested at the respective template talk pages? SiBr4 (talk) 09:35, 29 January 2014 (UTC)[reply]
    There may be another way to do this, see below. LittleMountain5 20:47, 29 January 2014 (UTC)[reply]
    Bravo! I learn something new everyday. My toes are fine. The important thing is that you've found a way to do the job. Is that documented anywhere? I did not come across it after several hours of searching. As for the size parameter, isn't it true that it can be changed in individual air force and navy icon templates? If users want 25px, they can use the size parameter within the icon templates to defeat the default value. Isn't that the whole purpose of the size= param? Maybe all that's needed is a brief explanation under "Other information" at the bottom of the doc page? – Paine Ellsworth CLIMAX! 19:58, 29 January 2014 (UTC)[reply]
    PS. I have added this border = functionality to Template:Country showdata#Flag variants. PS added by – Paine Ellsworth CLIMAX!
    Thanks for the documentation, I couldn't find any either. Yes, the navy and air force templates allow manual size changes (as do flag and flagicon), but I was trying to find a way to standardize the default size of the borderless flags. For example, right now {{flag|Poland|naval}} produces  Poland (25px), but {{navy|Poland}} produces  Polish Navy (23px). The problem on the navy and air force templates actually isn't the {{{size|}}} parameter that I mentioned before, it's the lack of a {{{variant}}} parameter, which I think may be fixable. I'll play around with it in a sandbox. Also, there may be a way to remove the ParserFunctions completely, by adding something along the lines of "if size is empty and border-variant is empty, then 25px" to each core template. I'll look into it. LittleMountain5 20:47, 29 January 2014 (UTC)[reply]
    If that's possible, that would surely be a more consistent solution than specifying a parser-function-driven default size on each template with non-rectangular flags. SiBr4 (talk) 21:23, 29 January 2014 (UTC)[reply]
    After racking my brain for several days, I had an epiphany this morning. I think this relatively minor change should fix all borderless flag sizes, at least for the navy template. I also updated the default size to reflect the consensus established in this discussion. If one or several of you could take a look and make sure that it works, that would be great.
    There's one last problem: specifying |border-naval= like we did here not only removes the border from the variant "naval", but also from all of the other naval variants because of navy/core's construction. For example, {{navy|Poland|auxiliary}} yields  Polish Navy; there should be a border, but there isn't. Any ideas?
    Once that is fixed (and everything else is checked), the other templates (air force/core, army/core, country flagbio, flag/core, flagbig/core, flagc/1, flagcountry/core, flagdeco/core, flagicon/core, flaglink/core, flagright/core, and flagu/core) will need to be updated in a similar fashion. LittleMountain5 22:02, 1 February 2014 (UTC)[reply]
    @Illegitimate Barrister, SiBr4, and Paine Ellsworth: LittleMountain5 20:19, 2 February 2014 (UTC)[reply]
    In {{flag}} and other "general" templates, changing the default size for borderless flag will be simpler than in {{navy}}, as there's no need to consider the "naval" variant and its sub-variants separately from other variants. I don't know exactly how {{navy}} works, but does {{navy|Poland|auxiliary}} work if the border for the auxiliary variant is explicitly set using |border-navy-auxiliary={{{border|border}}}? SiBr4 (talk) 20:32, 2 February 2014 (UTC)[reply]
    Yes, the other templates will certainly be easier. And yes, filling in the borders for the naval variants explicitly would probably work, but that's a pain in the neck... There must be an easier way. LittleMountain5 22:39, 2 February 2014 (UTC)[reply]
    Aha! I think I figured it out. {{navy/sandbox|Poland}}, {{navy/sandbox|Poland|1919}}, and {{navy/sandbox|Poland|auxiliary}} all work:  Polish Navy,  Polish Navy,  Polish Navy. Everything should work correctly now, hopefully. LittleMountain5 22:55, 2 February 2014 (UTC)[reply]
FYI, I moved the border = functionality to Wikipedia:WikiProject Flag Template#Other common parameters, a page that is referenced on the {{Country showdata}} page and is a more central and appropriate reference page. Should still be easy for editors to find it when necessary. – Paine Ellsworth CLIMAX! 23:10, 3 February 2014 (UTC)[reply]

Flag of the Polish-Lithuanian Commonwealth[edit]

Please, could someone add this historical flag to this template? Polish-Lithuanian Commonwealth DiegoPonga (talk) 11:37, 10 June 2017 (UTC)[reply]

There's a separate template:  Polish-Lithuanian Commonwealth. I've added links to it and some other related templates on the /doc page. SiBr4 (talk) 19:15, 16 January 2019 (UTC)[reply]

Template-protected edit request on 12 January 2019[edit]

Remove
flag alias-2000 = Flag of Poland (WFB 2000).svg
flag alias-2004 = Flag of Poland (WFB 2004).svg
and their corresponding vars
These flags are just based on the shades used in pictures in different editions of the CIA World Factbook (you can see if you open the flag image) and not are official or even real changes to the flag used by Poland, they should not be included and especially not linked to a specific year
Havsjö (talk) 10:04, 12 January 2019 (UTC)[reply]

 Done SiBr4 (talk) 19:12, 16 January 2019 (UTC)[reply]

edit request[edit]

Please add: | border-marines = – Illegitimate Barrister (talkcontribs), 10:04, 13 April 2020 (UTC)[reply]

 Done — MRD2014 (talk) 14:49, 13 April 2020 (UTC)[reply]
Danke. – Illegitimate Barrister (talkcontribs), 14:51, 13 April 2020 (UTC)[reply]

Inappropriate flag representing Polish Navy[edit]

I was quite surprised to find template showing obscure flag  Polish Navy referring to Polish Navy. I am actively involved in warships on Polish Wikipedia. In my opinion, it should be changed in template {{navy|Poland}} to standard naval ensign ( Polish Navy), which is universally recognized symbol of Polish Navy. The point is, that Navy flag is used only for ceremonial purposes in shore garrisons, and never seen flying on ships. Even in Poland hardly anybody knows this flag (I was only aware, that such thing existed, but I didn't know its look either). Hence, it is misleading, when other navies are marked in articles with proper ensign or jack, which are actually used and associated with the navy. Moreover, Navy flag was introduced only in 1993, so any usage of this flag in earlier context, especially World War II, is wrong. Pibwl ←« 09:27, 1 June 2022 (UTC)[reply]

 Done. P.I. Ellsworth , ed. put'r there 20:07, 1 June 2022 (UTC)[reply]

Inappropriate flag representing Polish Navy 2[edit]

The same situation as above, but this time with template {{naval|Poland}}, used in headers in current infoboxes in most articles on Polish ships, like ORP Jastrząb. Also in template "naval" there should be naval ensign of Polish ships File:Naval Ensign of Poland.svg, as in current {{navy|Poland}} template  Polish Navy (note, that in a request above these flags have currently switched places due to change in templates). Both templates should be the same to avoid confusion which template should be used, while usage of red Navy flag File:PL_navy_flag_IIIRP.svg in any template is redundant. Polish ensign is universally recognized symbol of Polish Navy (disregarding small changes of eagle version), while Navy flag, introduced only in 1993, is used only for ceremonial purposes in shore garrisons (as I wrote before, even in Poland hardly anyone knows this flag). Pibwl ←« 12:19, 5 January 2023 (UTC)[reply]

Template-protected edit request on 23 April 2023[edit]

Rename:

  • State Flag of Poland.svgFlag of Poland (with coat of arms).svg Rkt2312 (talk) 15:16, 23 April 2023 (UTC)[reply]
 Completed. P.I. Ellsworth , ed. put'er there 23:42, 23 April 2023 (UTC)[reply]