Template talk:USA

(Redirected from Template talk:USA/doc)
Latest comment: 8 months ago by Ahecht in topic Use 23-pixel optimized variant.

Year field

edit

Thank you in advance for your consideration!

Mugs2109 (talk) 13:42, 9 April 2009 (UTC)

Please consider coding an additional function of Template:USA so the use of a "year" subfield (e.g.;

{USA|1945}}

generates the image of the United States Flag for that year, e.g. (100px used in this example so the 49 star field can be seen here on lower resolution screens):

  United States

Categorization

edit

{{editprotected}}

Please add this template to Category:United States flag templates —Preceding unsigned comment added by Ohms law (talkcontribs) 05:57, 21 June 2009 (UTC)Reply

  Question: Why is this extra level of categorisation even necessary? I personally think shortcuts for USA subnational flags are unnecessary as they are not in common usage and MOSFLAG advises against them being used. Additionally neither of those templates in the subcategory are being transcluded. Rambo's Revenge (talk) 16:17, 21 June 2009 (UTC)Reply
Actually, it probably isn't. I was going to make state and a few city templates (which is what started this), but that's not going to be practical due to the number of name collisions. I just didn't realize what problem it would be before requesting the edit protect here.
Ω (talk) 16:50, 21 June 2009 (UTC)Reply
  Not done: Okay, thanks for responding. For that reason I'm not doing this request. Rambo's Revenge (talk) 16:55, 21 June 2009 (UTC)Reply

Edit request on 26 June 2012

edit

On Facebook, Dulles High School shows up with location Sugarland, Maryland. Please change to Sugarland, TX. Thanks.

143.111.80.26 (talk) 13:36, 26 June 2012 (UTC)Reply

  Not done: This is the place to request amendments to the template {{USA}}, which produces   United States.
We have no control over what Facebook shows. --Redrose64 (talk) 14:11, 26 June 2012 (UTC)Reply

Protected edit request on 4 February 2015

edit

{{Tfm/dated|page=USA|otherpage=USA-MA|link=Wikipedia:Templates for discussion/Log/2015 February 4#Template:USA-MA|type=inline|help=off}}

Please either tag this for discussion or advise me to withdraw the merge nomination to make an edit request here, instead, if the tag would be viewed as disruptive. Thank you. —PC-XT+ 11:49, 4 February 2015 (UTC)Reply

The discussion is at Wikipedia:Templates for discussion/Log/2015 February 4#Template:USA-MA, if you want to look at it before answering. Thank you. —PC-XT+ 12:18, 4 February 2015 (UTC)Reply
I don't think we need to tag this and disrupt 60,000+ articles. I see the other template is tagged which should be sufficient. — Martin (MSGJ · talk) 12:27, 4 February 2015 (UTC)Reply
Thanks for the advice. This talk page posting will notify some, as well. The sandbox has the proposed changes, though it may improve in discussion; it is currently using a userbox helper template. —PC-XT+ 13:13, 4 February 2015 (UTC)Reply

State addition

edit

Following the discussion at Wikipedia:Templates for discussion/Log/2015 February 4#Template:USA-MA, I have suggested a state addition be added to the template. Example: {{USA|MA}}  Massachusetts. This can be used for all states. Any comments or other suggestions? --Aidan721 (talk) 19:58, 4 February 2015 (UTC)Reply

An example is in Template:USA/sandbox —PC-XT+ 18:58, 22 February 2015 (UTC)Reply

Size of flag

edit

Hi, idk if this is the right place to ask, and i am also not 100 percent sure how this flag thing works, that the exact size is displayed and linked. However i am wondering if one can change the normal used size of the US falg as an template/icon with size=24px--> because with 23 pixels the falg gets dizzy. at 24 it fits to the pixels and looks smooth. again idk if this is the right place to ask but i was wondering if someone can answer to this. thx!!--Joobo (talk) 12:44, 20 April 2015 (UTC)Reply

@Joobo: If you use {{flag|United States}}, which this template is a shortcut for, you can use the |size= parameter to change the size: {{flag|United States|size=40px}}  United States. Shortcut flag templates such as {{USA}} do not support the additional parameters {{flag}} has. SiBr4 (talk) 17:13, 20 April 2015 (UTC)Reply
thx for answering so fast. So in case i want to use a flag ,i got to change the size by my selfto the right pattern? so it is not possible to change the size of the US flag template from usually 23px   United States to 24 which looks like   United States for all flag icons of USA if you use this {{flag}}?. that could be better graphic and smoother as one can see.
thx for answering!--Joobo (talk) 21:01, 20 April 2015 (UTC)Reply
Changing the default size for the US flag only while keeping the rest the same is possible; the place to discuss such a change would be Template talk:Country data United States. I wouldn't support it, though, unless the default is changed for all flags (which I don't think is a good idea either, since a size change to make one flag look better will likely make some others look worse). SiBr4 (talk) 19:35, 21 April 2015 (UTC)Reply
edit

Please de-link "United States" per MOS:OVERLINK bullets 2 and 2.1. Thank you. ―Mandruss  00:17, 14 January 2019 (UTC)Reply

  Not done @Mandruss: this entire series appears to include the country name (e.g. Template:ENG) what is special about USA? — xaosflux Talk 01:36, 14 January 2019 (UTC)Reply
@Xaosflux: I don't expect that this will be the last template affected in this manner, but Wikipedia:Wikipedia is a work in progress. Unless you're willing to mass change all of them at the same time, we have to tolerate that inconsistency until the work is completed. If you are, that would be fine with me.
Further complicating matters is the fact that OVERLINK does not suggest non-linking all countries but only the most well-known, and it doesn't specify exactly which those are. I wouldn't dream of de-linking Burkina Faso, for example, but there are many countries that are obvious candidates for non-linking, starting with the United States. There is little case to be made that all should be linked because some are, in a template series any more than in open text (readers don't know it's a template). The largely technical decision to do this in templates does not set aside the core principle of OVERLINK: "An overlinked article contains an excessive number of links, making it difficult to identify links likely to aid the reader's understanding significantly." ―Mandruss  01:52, 14 January 2019 (UTC)Reply
@Mandruss: I'm not following your argument. I followed a few random hits from what links here: Brunei (where this is used within a nav box that would break navigation); Military_of_Chad (where it is used in an infobox that would only break navigation for this country); and Economy_of_the_Faroe_Islands (where it is used in a table that would also only break navigation for this country). So I don't think this is a good idea - though you are welcome to seek to determine if there is a consensus to override. (This is the traditional BRD cycle, just via requests - so we're down to discuss). — xaosflux Talk 03:39, 14 January 2019 (UTC)Reply
@Xaosflux: "Break" is a highly loaded word. When we non-link United States in body prose, do we say that navigation is broken?
You say that for the last two cases would only break navigation for this country—meaning the United States, I presume—but you seem to imply that the first case is somehow different from those. How so? At Brunei, I find United States only in a navbox about the East Asia Summit, and it looks to me like de-linking would merely prevent the reader from easily navigating to an article that—per OVERLINK—the reader doesn't need to that easily navigate to. Readers looking at that navbox need to know that the U.S. is a party to the summit, but in that context they don't need to learn more about the U.S. in general. Thus the only argument for leaving that link is a highly questionable cosmetic one, that all country names in that list need to be the same color blue, and that readers will be confused if they are not. I would dispute the assertion that every name in a navbox must be linked by definition of the word navbox, or at least that that's more important than the OVERLINK principle.
I'm happy to take this to this community, but I first wanted to see if I clearly understand your comments. ―Mandruss  04:17, 14 January 2019 (UTC)Reply
@Mandruss: in general I disagree with your overlink argument applying to only one country and from the note below, this isn't something that really can be done here at all). I suggest you follow up on the link below and you could argue that the default output for {{Flag}} could be to link or not to link, and request a parameter that can be used to change the output on pages where it is/isn't useful. — xaosflux Talk 16:34, 14 January 2019 (UTC)Reply
As for the difference between example 1 and the others, example one is a navbox consisting solely of these links, unlinking this output breaks navigation on that box. On the examples the output is more of a content list, so the overlink argument is slightly stronger, though arguing for only one specific country to be changed doesn't seem balanced here. — xaosflux Talk 16:37, 14 January 2019 (UTC)Reply
Please also note, this is really just a fancy redirect and this conversation would be best at Template talk:Flag. — xaosflux Talk 04:06, 14 January 2019 (UTC)Reply
Ok, if I take it to the community I can do it there instead. ―Mandruss  04:17, 14 January 2019 (UTC)Reply

Use 23-pixel optimized variant.

edit

This template currently outputs {{flag|United States}}:  United States. I am proposing to change it to {{flag|United States|23px}}:  United States, which is a pixel-art version of the flag optimized for being displayed at the default 23-pixel width used by the {{flag}} template. This flag still fits within the 23x15px size specified at Wikipedia:WikiProject Flag Template#Size, which should alleviate the concerns raised in the #Size of flag discussion above. --Ahecht (TALK
PAGE
) 04:31, 1 February 2024 (UTC)Reply

  Done, since there was no objection. Feel free to revert if you want further discussion. --Ahecht (TALK
PAGE
) 17:32, 18 February 2024 (UTC)Reply