Template talk:Country data Peru

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconSouth America: Peru Template‑class
WikiProject iconThis template is within the scope of WikiProject South America, a collaborative effort to improve the coverage of articles related to South America on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Taskforce icon
This template is supported by WikiProject Peru.

Template-protected edit request on 22 June 2018[edit]

Please add | flag alias-football = Flag of Peru (state).svg and | altvar = {{{altvar|}}} so the flag used by FIFA (confirmed here) is able to be used for football templates. Thanks, S.A. Julio (talk) 11:34, 22 June 2018 (UTC)[reply]

 Done — Martin (MSGJ · talk) 12:47, 22 June 2018 (UTC)[reply]

Template-protected edit request on 9 September 2021[edit]

Hopefully I'm doing this right. I'm not tech-savvy, so I'd like to propose these changes to the page for the different flags used in different periods of time that are missing from this page. It goes all the way from the imperial period to today's republic. I'd appreciate these be added since they appear to not exist for no reason here.

Proposed code changes
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Peru
| flag alias = Flag of Peru.svg
| flag alias-spain = Flag of Cross of Burgundy.svg
| flag alias-1820 = Flag of Tacna Regiment (1820 proposal).svg
| flag alias-1821 = Flag of Peru (1821-1822).svg
| flag alias-1822 = Flag of Peru (1822).svg
| flag alias-1822a = Flag of Peru (1822-1825).svg
| flag alias-1825 = Flag of Peru (1825–1884).svg
| flag alias-confederation = Flag of the Peru-Bolivian Confederation.svg
| flag alias-north = Flag of Peru (1825–1884).svg
| link alias-north = North Peru
| flag alias-south = Flag of South Peru.svg
| link alias-south = South Peru
| flag alias-1884 = Flag of Peru (1884–1950).svg
| flag alias-state =  Flag of Peru (state).svg
| flag alias-army = Flag of the Peruvian Army.svg
| link alias-army = Peruvian Army
| flag alias-naval= Flag of the Peruvian Navy.svg
| link alias-naval = Peruvian Navy
| flag alias-air force= Flag of the Peruvian Air Force.svg
| link alias-air force = Peruvian Air Force
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = spain
| var2 = 1820
| var3 = 1821
| var4 = 1822
| var5 = 1822a
| var6 = 1825
| var7 = confederation
| var8 = north
| var8 = south
| var9 = 1884
| var10 = state
| var11 = naval
| var12 = marines
| var13 = military
| var14 = navy
| var15 = air force
| var16 = army
| redir1 = PER
</noinclude>
}}

180app (talk) 16:08, 9 September 2021 (UTC)[reply]

To editor 180app:  done – tweaked it here and there. Let me know if you think it needs more tweaking. I'll watch this talk page for awhile. It's better to suggest any changes in this template's sandbox. Best to you! P.I. Ellsworth - ed. put'r there 02:53, 30 September 2021 (UTC)[reply]
To editor Paine Ellsworth: Thank you very much! It's perfect :) I would've done it myself but I just couldn't get my head around it haha. If it's not too much trouble I left a similar request in the Bolivia page, but nonetheless thank you again so much :D 180app (talk) 03:11, 30 September 2021 (UTC)[reply]
It's a pleasure! and I'm looking into the Bolivia template now. P.I. Ellsworth - ed. put'r there 03:16, 30 September 2021 (UTC)[reply]
@180app and Paine Ellsworth: There's an error in the code. var 8 is used twice, this is causing a template error on every article that this template transcludes. I've removed var8 = north for now as it looked to be incorrect, hopefully it will prevent the error categories filling up with all 26,000 transclusions. Please confirm that this was the correct thing to edit. - X201 (talk) 10:48, 1 October 2021 (UTC)[reply]
@X201: Only now have I noticed my duplicate. The flag used there is the same as var6 = 1825 nonetheless so that one can be used regardless, I had just added an alias I believe it's called. Thank you very much :) 180app (talk) 12:39, 1 October 2021 (UTC)[reply]

To editors 180app and X201: according to the Republic of North Peru article, File:Flag of Peru (1825–1884).svg is the correct flag. Good catch, editor X201! Sorry for my error. I restored the North Peru variant and this time there are no duplicate variant numbers. Thanks again, so very much! P.I. Ellsworth - ed. put'r there 17:11, 1 October 2021 (UTC)[reply]

Naval ensign[edit]

As in other country data templates, the "navy" template should display the naval ensign. As shown on the Peruvian Navy page, the naval ensign of Peru should be:

| flag alias-navy = File:Flag of Peru (state).svg

Thanks. Jauhsekali (talk) 14:38, 30 September 2021 (UTC)[reply]

"Navy" should show the navy flag, which is File:Flag of the Peruvian Navy.svg. The naval ensign of Peru should be shown as File:Flag of Peru (state).svg using "naval", not "navy". So "naval" has been changed to the naval ensign. P.I. Ellsworth - ed. put'r there 06:18, 1 October 2021 (UTC)[reply]

Just fyi, the confusing naval/navy mixing under "Military ensigns" has been fixed by editing the doc page. P.I. Ellsworth - ed. put'r there 19:06, 1 October 2021 (UTC)[reply]

Football flag template[edit]

Hi all, is there a particular reason why the football team template is different from the flag of the country? eg: {*{fb|Peru}*} gives the state flag Peru. I figured I just didn't know that its actually different for the national football teams, but I'm yet to come across a reason why it is different from the flag of the country Peru. If someone could explain for me that would be wonderful. Cheers. Idiosincrático (talk) 14:47, 6 December 2022 (UTC)[reply]