Template talk:USCongDistState

message: This template survived a debate at TfD. The discussion can be found here. -Splashtalk 01:06, 25 November 2005 (UTC)
thread_title: TfD debate

message: Don't use templates within other templates.  You'll need to find another method. -- Netoholic @ 03:36, 17 January 2006 (UTC)
thread_title:  [[Wikipedia:Avoid using meta-templates]] 

message: The link to the govtrack.us congressional district maps are broken for states with spaces in the names.  For instance, for New Jersey, the link winds up only having "state=New", which the govtrack site is unable to process.—The preceding unsigned comment was added by 71.250.37.29 (talk • contribs) 22:30, 7 November 2006  (UTC-5)
:I added an overriding optional arg to the tpl named "abbrev" in which the state postal abbreviation can be given. Providing this in the templates for states with spaces in their names fixes this problem (govtrack prefers postal abbreviations). See for example the fixed . - Keith D. Tyler ¶ (AMA) 21:38, 9 January 2007 (UTC)
thread_title:  Link to govtrack map broken for some states 

message: Should the list of senators from each state go under "See also"?  I think so.  Any objections?  --zenohockey 00:01, 11 December 2006 (UTC)
replies: text: Done.  My edit also made the elements that aren't state-specific (United States congressional districts - Congressional apportionment - Redistricting - Gerrymandering), plus the GovTrack.us map link, smaller.  It should fit nicely on all sizes of screens.  --zenohockey 06:12, 12 December 2006 (UTC)
thread_title:  Senators 

message: A category should not be assigned automatically by this template.  Therefore all of the automatic categories must be replaced first by manual categories (Category:Congressional districts of Foo) and then the category code taken out of this template.  That's a lot of work (approx. 600 articles, but it can be done slowly.—Markles 18:56, 10 January 2008 (UTC)
thread_title:  Category application 

message: Help please The template for the Northern Mariana Islands, , results in a map link of:
http://www.govtrack.us/congress/findyourreps.xpd?state=Northern
Which goes nowhere. Can someone fix this? —Justin (koavf)❤T☮C☺M☯ 00:51, 22 September 2008 (UTC)
thread_title:  Broken 

message: On many (most) of the templates, the "Current districts" list isn't used.  See  versus . The list of obsolete districts effectively tells which are current, so the "Current districts" is essentially duplicate. Let's remove the "Current district" list, and save some space. --William Allen Simpson (talk) 13:49, 12 April 2009 (UTC)
thread_title:  Current districts 

message: Current, the  parameter of  includes a hard-coded wikilink to Redistricting.  Please replace that with conditional logic that chooses the wikilink depending on the state.  As of the time of this request, there are two states for which the result should be state-specific:  Redistricting in Arizona and Redistricting in Pennsylvania; for all other states, the resulting wikilink should still be Redistricting.  
Since this template is part of a series of systematically-named articles, feel free to take advantage of the naming convention that ensures affected article names begin with state names, as seen 
here.
Thanks in advance.  67.101.5.237 (talk) 07:56, 10 February 2012 (UTC)
replies: text: Could the anon user please complete GoldRingChip's request so this page can be removed from the request category. If not it will have to go uncompleted as the interface thinks it's a really old request and is flagged up as such. --andy4789 ★ · (talk? contribs?) 16:41, 11 February 2012 (UTC)
replies: text: I've "turned off" the request while we are waiting for a response. That way all of the editors who service the edit semi-protected requests don't waste time coming here to see if there is work to do. Please follow the directions in the small template to reactivate your request. Thanks, Celestra (talk) 16:54, 12 February 2012 (UTC)
replies: text: I tried to recruit someone to do the work, first here at Talk:WikiProject Templates and then on the talk page of the newest member of that project, but neither new member Rubenerd nor any of the 113 talk watchers there bothered to reply.  Perhaps a registered editor might have better luck getting a volunteer?  67.101.5.62 (talk) 07:12, 19 February 2012 (UTC)
replies: text: I think it depends on where you post. I watch WP:VPT, WP:RT and various request categories, which is how I found this one. I would have done it sooner if it hadn't been turned off before I saw it originally, but that's standard practice when you're waiting on input from the requester. On requests to templates that require some templating knowledge, maybe they should be left open if the requester says they can't provide the needed code. At any rate, I made the change and sorry it took so long! — Bility (talk) 08:28, 19 February 2012 (UTC)
thread_title:  Edit-semiprotected template request 

message: Although Special:WhatLinksHere/16 includes Template:USCongDistStateOH and many Ohio congressional district articles, I can't find the link to 16.  Could someone please help me with this?  Thanks!  GoingBatty (talk) 01:13, 8 December 2014 (UTC)
replies: text: From some quick testing, the template is just :Template:USCongDistState with some terms filled in, including current=16. Changing this value to 15 drops it off of the WhatLinksHere/16 and puts it into WhatLinksHere/15. Illinois, with 18 districts, appears in WhatLinksHere/18. There are multiple ParserFunctions in USCongDistState calling  that I can't unravel. Nanonic (talk) 01:45, 8 December 2014 (UTC)
replies: text:  Since you've worked on this template quite a bit, could you please help with this?  Thanks!  GoingBatty (talk) 02:54, 8 December 2014 (UTC)
replies: text: #ifexist causes a WhatLinksHere entry. The template has multiple #ifexist:. PrimeHunter (talk) 03:08, 8 December 2014 (UTC)
replies: text:  Thanks!  Is there a different way to code this template that doesn't generate the incorrect WhatLinksHere entries?  Thanks!  GoingBatty (talk) 03:34, 8 December 2014 (UTC)
replies: text: The problem came in on 15 October 2013 with  by . I think that they were trying to amend links on-the-fly by using a plural only when appropriate, misunderstanding how  works: I get the impression that this parser function is being used to test if the parameter has been supplied or not - that is one use of . Thus, if each instance of  were altered to  it may work as intended, and fix the original problem here too. --Redrose64 (talk) 13:02, 8 December 2014 (UTC)
replies: text:  Yup, that was me. My mistake, I'm afraid.  Thanks for catching it and alerting me. Do you want me to try to fix it, or do y'all want to handle it?—GoldRingChip 15:02, 8 December 2014 (UTC)
replies: text:  I made the suggested substitution, but it still shows up in Special:WhatLinksHere/16.  You were right that my intent was to find plurals.  Why didn't your solution work?—GoldRingChip 15:14, 8 December 2014 (UTC)
replies: text: Probably because you only edited the template, so it will take the transcluding pages some time to work through the job queue. Go to any page at Special:WhatLinksHere/16 that you are sure uses , and WP:NULLEDIT the page - if you then refresh Special:WhatLinksHere/16, you should find that the page that you nulledited no longer shows. It's tedious doing that for all the pages affected, which is why we have the job queue. --Redrose64 (talk) 15:28, 8 December 2014 (UTC)
replies: text: Thanks, problem solved. I purged the pages, but that didn't do it.  Now I know to Null Edit it next time.  Thanks for noticing this and for keeping me honest!—GoldRingChip 18:36, 9 December 2014 (UTC)
thread_title:  Request help removing incorrect links