Template talk:Jcttop

Parameter to suppress location?
Would it be possible to add a parameter, such as, that would suppress display of the "Location" column heading? This would be useful in instances where the entire route is located within one city of a county. --  LJ  ↗  03:50, 21 February 2011 (UTC)
 * Using  will 1) suppress the county and location columns and 2) add "The entire route is in Las Vegas, Clark County." above the table.  Imzadi 1979   →   04:25, 21 February 2011 (UTC)
 * Yeah, but I'm looking for a fix where the default hatnote is not produced, as a complement to the existing  parameter. A specific reason for this was when I was updating Nevada State Route 520 in Carson City. In this case, Carson City is a consolidated city-county, so the the above method got the desired table headers but results in the incorrect hatnote of "The entire route is in Carson City, Carson City County." I thought it might be easier to suppress the location column, instead of doing another modification to get a non-standard hatnote to appear for the relatively few instances this would be needed. Whatever works. --  LJ   ↗  05:36, 21 February 2011 (UTC)
 * Sounds more like the template needs support for routes located within an independent city. –  T M F 05:41, 21 February 2011 (UTC)
 * That would work as well. --  LJ  ↗  03:59, 22 February 2011 (UTC)

unnum parameter
I was going to update the junction list on Summerlin Parkway to use this template. That route is a freeway without exit numbers, wholly located in Las Vegas, NV. My code was and the result was the following:

As can be seen, the Exit column is still present and the "All exits are unnumbered." note was not produced. Did I do something wrong, or is there a code error? --  LJ  ↗  01:24, 18 August 2011 (UTC)
 * }
 * The "exit" isn't needed. Some edits today accidently removed the unnum stuff, but that's been restored.  Imzadi 1979  →   02:18, 18 August 2011 (UTC)
 * and the result was the following:


 * }

Edit request from Imzadi1979, 26 August 2011
Please sync the Template:Jcttop/sandbox here. This will rename the "County" column to "Quadrant" for the District of Columbia. This will make District of Columbia Route 295 appear correctly.

 Imzadi 1979  →   01:42, 26 August 2011 (UTC)
 * Yes check.svg Done Reaper Eternal (talk) 20:27, 26 August 2011 (UTC)

Edit request from Imzadi1979, 5 September 2011
Sync over template:jcttop/sandbox to restore some Michigan-specific coding that was lost along the way.  Imzadi 1979  →   21:38, 5 September 2011 (UTC)

 Imzadi 1979  →   21:38, 5 September 2011 (UTC)
 * ✅-- Jac 16888 Talk 14:44, 19 September 2011 (UTC)
 * 18 revisions had been made to the sandbox after this edit request was started, and those 18 revisions did not include the code needed.  Imzadi 1979  →   17:39, 19 September 2011 (UTC)
 * My bad, didn't look at the edit history of the sandbox. Is the sandbox ok to copy across now?-- Jac 16888 Talk 17:41, 19 September 2011 (UTC)
 * Yes, I have reverted to the version needed for this edit request. Additionally, the revisions made afterwards are to solve a problem that can be solved through other, simpler means.  Imzadi 1979  →   17:53, 19 September 2011 (UTC)
 * All good?-- Jac 16888 Talk 17:58, 19 September 2011 (UTC)
 * Yes, thanks.  Imzadi 1979  →   18:02, 19 September 2011 (UTC)

Issue with nocty=yes
See Connecticut_Route_172.

I am not using the county column because it's a sore subject in CT, but I want a hatnote above the table. I did a custom note and now there is a double space between the custom note and the table header. The space should not be there. –Fredddie™ 16:25, 11 September 2011 (UTC)


 * I just add this template immediately after the custom note, without an intervening line break. It's nothing with the template, and nothing can be changed in the template simply to avoid this; rather it is any line break after the custom note that's generating the extra blank line.  Imzadi 1979  →   17:40, 19 September 2011 (UTC)

Edit request from Imzadi1979, 23 September 2011
Please revert the last edit which is now breaking tables. See M-105 (Michigan highway) for an example of the crazy output we are getting.

 Imzadi 1979  →   21:18, 23 September 2011 (UTC)

Edit request from Imzadi1979, 27 September 2011
Update the following code from:

to:

This will allow the Notes column of a table to have a reference, such as it may rarely be required.

 Imzadi 1979  →   21:25, 27 September 2011 (UTC)
 * This is a good idea.   Ebe 123   (+) $talk Contribs$ 22:07, 27 September 2011 (UTC)
 * Yes check.svg Done Looks good. -- DQ  (t)   (e)  05:06, 28 September 2011 (UTC)

jcttop support for independent cities?
Can the template be modified to allow for independent city support. Ideally, it would be similar to jctint using the  parameter. I was updating Nevada State Route 531 to reflect its recently-decommissioned status and was going to leave the jct table in when I realized that the problem I mentioned in the "Parameter to suppress location" thread above had not been addressed. So typing something like  would produce the hatnote "The entire route is in Carson City." and suppress the county and location columns. Thanks. --  LJ  ↗  13:45, 12 October 2011 (UTC)
 * I support it, but we just need someone to code the addition. --Rschen7754 22:41, 18 October 2011 (UTC)
 * Ping... Was trying to do some table conversions and realized this never got resolved. I can find a workaround if needed. --  LJ  ↗  00:12, 28 May 2012 (UTC)
 * It should work, honestly the only thing missing was the hatnote. However, the independent city logic was carried over from Jctint/core.  That is, you just use Carson City. –Fredddie™ 01:05, 28 May 2012 (UTC)
 * The period is missing at the end of the hatnote sentence, but I was able to implement without problem. Thank you! --  LJ  ↗  01:14, 28 May 2012 (UTC)
 * ✅ --Rschen7754 01:23, 28 May 2012 (UTC)
 * The period is missing at the end of the hatnote sentence, but I was able to implement without problem. Thank you! --  LJ  ↗  01:14, 28 May 2012 (UTC)
 * ✅ --Rschen7754 01:23, 28 May 2012 (UTC)

Not sure what happened... this was working fine as of previous writing, but something is messed up now. The hatnote is appearing as "The entire route is in ." (not filling in the independent city) when using the green code above. --  LJ  ↗  04:01, 15 September 2012 (UTC)
 * Was editing Interstate 564 just now to templatize the jct table, and encountered the same problem as in previous message with independent city usage not showing up... --  LJ  ↗  10:04, 26 December 2012 (UTC)
 * See Template talk:Jcttop for more information on the semantic bug. QM 400032 (ta lk)  21:40, 20 May 2013 (UTC)

Edit request from Floydian, October 18, 2011
This is to change the County header to Division for Ontario only (where there are Counties, Districts, District Municipalities, Regions and a few more that I can't think of off the top of my head). It's also consistent with the RJLs on Ontario roads.

CHANGE: 

!scope="col"|

TO



!scope="col"|

--  ʄɭoʏɗiaɲ  τ ¢  22:23, 18 October 2011 (UTC)

Edit request on 15 April 2012
Please change: to This will insert a new parameter called  that would allow articles to substitute other descriptors instead of route, and remove a Michigan-specific switch. (The MIinttop template will instead specify its default of highway using the type code.) In the end, articles on county roads can be set to say "road" instead of "route" or "highway", better matching the text in the rest of article.

 Imzadi 1979  →   10:21, 15 April 2012 (UTC)
 * Yes check.svg Done Anomie⚔ 19:49, 16 April 2012 (UTC)

CAint incompatibility
For California junction lists, the km table column should not be used, as California uses postmiles instead of mileposts. Currently, the exit numbers are in the km column, and the columns to the right of it are shifted over by one. This should definitely be fixed. Thanks. -happy5214 23:55, 8 June 2012 (UTC)
 * Use CAinttop instead. –Fredddie™ 00:06, 9 June 2012 (UTC)
 * Did not see that. Thanks. -happy5214 02:12, 9 June 2012 (UTC)

Edit request on 22 June 2012
from
 * type

to
 * type

This seems to have been changed accidentally when we did all the updates last month. –Fredddie™ 17:04, 22 June 2012 (UTC)
 * &mdash; Martin (MSGJ · talk) 17:10, 22 June 2012 (UTC)

Location hatnote without county?
Kilpatrick Turnpike is entirely within one city but lies in multiple counties. I'd like to use the default "The entire route is in Oklahoma City" hatnote, but still use the county column. Passing the location to the template but not the county correctly omits the location from the table, but fails to display the hatnote. I'm guessing the portion of the template logic that controls the hatnote decides whether to display it based on whether the county parameter is non-null. Could we change it so that this is not the case? —Scott5114↗ [EXACT CHANGE ONLY] 10:14, 27 August 2012 (UTC)
 * See Template talk:Jcttop. QM 400032 (ta lk)  05:06, 17 May 2013 (UTC)

Edit request on 2 September 2012
This is a two-part request.
 * 1) Copy and paste the contents of to.
 * This will fix a couple issues reported in the last 24 hours. It will give us the ability to drop the sub2 (location) column without needing the sub1 (county) column.  It will also allow us to turn off the hatnote altogether with off.
 * 1) Copy and paste the contents below the first line of to .  Please make sure Jcttop is calling  and not.

–Fredddie™ 02:26, 2 September 2012 (UTC) ✅ --Rschen7754 02:29, 2 September 2012 (UTC)

Between states and countries
Shouldn't there be an alternate template for different states and countries? QM 400032 (ta lk)  23:36, 13 May 2013 (UTC)  — Preceding unsigned comment added by QM400032 (talk • contribs)
 * Some do have them. For the most part, though, this template can handle 99% of cases. –Fredddie™ 23:38, 13 May 2013 (UTC)
 * An example of a state-specific template that can replace this one is . T  C  N7 JM  23:39, 13 May 2013 (UTC)

"Both" answer doesn't seem to work on the "state_col" parameter
I typed: and instead it shifts columns back. What am I doing wrong? QM 400032 (ta lk)  22:29, 15 May 2013 (UTC)

gets you...

That being said, I'm not exactly sure what problem you're experiencing. –Fredddie™ 23:21, 15 May 2013 (UTC)
 * }

"County_col" parameter
Shouldn't there be a county/division parameter for routes between U.S. and Canada? QM 400032 (ta lk)  23:01, 15 May 2013 (UTC)  — Preceding unsigned comment added by QM400032 (talk • contribs)
 * I'm not sure there are any routes that go between the US and Canada for which we'd create a junction list. –Fredddie™ 23:23, 15 May 2013 (UTC)
 * Yeah. All the routes I know of that cross the border change designations and thus require a new junction list in a new article. T  C  N7 JM  02:11, 16 May 2013 (UTC)
 * Actually, there are five routes that DO have the same designation in United States and Canada (in no particular order): LSCT, LHCT, LECT, and Seaway Trail (All routes make up 80% of the Great Lakes Circle Tour.). QM 400032 (ta lk)  03:39, 17 May 2013 (UTC)  — Preceding unsigned comment added by QM400032 (talk • contribs)
 * And since those tours comprise several individual state or provincial highways which would have their own junction lists, none of the tours needs their own junction lists.  Imzadi 1979  →   03:42, 17 May 2013 (UTC)

Bugs
There's a current problem with another program, "indep_city". It's supposed to show "The entire route is in city", but instead it shows "The entire route is in ". Your help would be greatly appreciated!!! — Preceding unsigned comment added by QM400032 (talk • contribs)


 * }

Yep, there is something wrong. I think we attempted to fix it last year, but we had to revert right away because it broke other things. –Fredddie™ 05:50, 17 May 2013 (UTC)

I am also having this issue, I tested it with Honolulu and Denver.

and

--  Admr Boltz  14:20, 31 December 2013 (UTC)

My turn. –Fredddie™ 02:02, 1 January 2014 (UTC)


 * }

Yeah, I pointed this out in 2011 in a section above. It got fixed using the indep_city code, but then got changed back for some reason. --  LJ  ↗  06:43, 4 January 2014 (UTC)

unnum and former
Take a look at U.S. Route 25 in Michigan. At the time it last existed, Michigan had not yet applied exit numbers to the state, so all of the exits along the freeway segments of US 25 were unnumbered. The template used to correctly use the past tense when yes yes were jointly set, resulting in "All exits were unnumbered." (emphasis mine), but now we have "All exits are unnumbered." (emphasis mine again.) Can this get fixed. US 25 is at ACR and it's headed to FAC later this year, so the issue will need to be corrected before long.  Imzadi 1979  →   13:49, 30 July 2015 (UTC)
 * Fixed in the core sandbox. Chinissai (talk) 14:16, 10 May 2016 (UTC)
 * Any movement on this, ?  Imzadi 1979  →   06:09, 26 October 2016 (UTC)

State in the hatnote
Would it be possible to throw in some sort a switch to turn on the state in a hatnote. Allow me to demonstrate.


 * Current output

The entire route is in Caledonia County, Vermont.
 * }
 * Example output

This would be useful in RCS lists where more than one state is listed. –Fredddie™ 23:54, 25 October 2016 (UTC)

Hatnote parameter request
Is it worth the trouble to add a parameter to trigger a hatnote that says something to the effect of, "This route is inventoried from north to south"? I would suggest that the parameter be called "wrongdir" and used like this: north or east (for east to west). In addition, 'route' would have to be affected by type. –Fredddie™ 00:59, 3 December 2016 (UTC)

Can we suppress the miles column?
Hi, I'm editing New Zealand highways. Also, it's 2024 and there are now two entire generations of people who don't even know what a mile is. Is there an option to suppress the miles column? It's just confusing, especially since the numbered motorway exits in Auckland are based on the whole-number of kilometres from a fixed point. — Jon (talk) 04:16, 8 June 2024 (UTC)


 * @Jonathanischoice: there isn't such an option. Remember, we serve a global audience, and there's some countries that still use miles on their roadways: the US and the UK.  Imzadi 1979  →   04:30, 8 June 2024 (UTC)