Template talk:Jcon

Extras
Much as jct has extra symbols for intermodal transportation facilities and hospitals, I feel that extra icons should be added to this template for intersections or interchanges that lead to features such as airports or hospitals. The following would be the symbols that should be added to the template: Is there a way these five extra icons can be added to this template?  Dough   4872   00:26, 2 May 2015 (UTC)
 * Airport - File:Ontario M502.svg
 * Bus - File:Ontario M506.svg
 * Train Station - File:Ontario M509.svg
 * Ferry - File:Ontario M508.svg
 * Hospital - File:Ontario M401.svg
 * ✅ – BrandonXLF   (t@lk)  04:35, 4 October 2018 (UTC)

Would it be useful to add connections to Interstate Highways in this list? J4lambert (talk) 19:20, 27 March 2018 (UTC)

Ontario Highway 407 Logo
Hi, given that the provincial section is now open could you try to figure out how to replace the Highway 407 logo used in the jcon template; or better one rename the current one from 407 to 407ETR whilst the new one would be 407. This is the current logo used throughout: ; and this is what I would want to have it replaced with:. Any idea on how to do this? - RehmanK786 (talk) 20:11, 29 August 2018 (UTC)
 * ✅ – BrandonXLF   (t@lk)  03:05, 4 October 2018 (UTC)

Edit Request December 1, 2018
I request that Module:Jcon is replaced with Module:Jcon/sandbox (after  is replaced with  ) and Module:Jcon/data is replaced with Module:Jcon/data/sandbox and Template:Jcon/doc with User:BrandonXLF/sandbox/2. These changes allow for new functionality and a updated documentation.

New functions and fixes:
 * 1) Supports inputs of all cases (coverts to lowercase)
 * 2) Function supported is sorted alphabetically and sorted
 * 3) Parameter showred is added, it's shows red links when there's red links (less expensive?)
 * 4) Code is reduced for function jcon (more efficient)
 * 5) Region, county, leading and trailing spaces and more are removed from input
 * 6) City is replace with Municipal where it should be Municipal and not City
 * 7) Durham Regional Highways get correct signs
 * 8) Data is sorted alphabetically
 * 9) More comments in code

Please note I'm unable to edit templates and modules, so I cannot perform these edits myself. – BrandonXLF   (t@lk)  06:26, 1 December 2018 (UTC)


 * Given the intricacies of the changes, I have changed this to be a template-protected edit request so that someone with related knowledge can look at it. --DannyS712 (talk) 06:48, 1 December 2018 (UTC)
 * Are there test cases which show that this will not regress the current behavior of the module? --Izno (talk) 04:58, 2 December 2018 (UTC)
 * Yes at Template:Jcon/testcases. – BrandonXLF   (t@lk)  05:01, 2 December 2018 (UTC)
 * Red information icon with gradient background.svg Not done: I'm extended confirmed and it appears like I can edit just fine. If you would like someone to take another look, have you considered the technical village pump? Dolotta (talk) 02:13, 8 December 2018 (UTC)
 * I've reopened this request. As alluded to above, the requester is barred from editing templates and modules, except for sandboxes and testcases, for at least six months (see WP:RESTRICT), so he cannot effect this change himself. -happy5214 09:51, 8 December 2018 (UTC)
 * Thanks for letting me know. Happy editing! -- Dolotta (talk) 10:25, 8 December 2018 (UTC)
 * The editor in question is banned from making these changes themselves. So how does this editor's request for others to make changes for them not violate at least the spirit and intent of the ban, if not its actual wording? Are editors allowed to violate TB's by proxy?  Spintendo   17:48, 11 December 2018 (UTC)
 * After reading the discussion on his talk page part of the unblock agreement was can submit edit requests for changes to be made to templates he just can't edit in the Template and Module namespaces directly. Based on the discussion and the takeaway I got was this allows Brandon to still improve Templates and Modules in small uncontroversial ways.    Alucard 16  ❯❯❯ chat?    20:48, 11 December 2018 (UTC)
 * I just realized I didn't answer all your questions fully I apologize. Brandon is allowed to use the edit request templates to propose changes which was agreed to by . This is not violating Brandon's TB in anyway based on the discussions I read in his talk page archive and the unblock discussion by editors implementing his requests. My understanding the intent of this topic ban stems in part from where Brandon created a bunch of templates and modules that kept going through the WP:TfD process that ultimately was deleted. I do think that at WP:RESTRICT they should add he can use edit requests for clarification.   Alucard 16  ❯❯❯ chat?    21:24, 11 December 2018 (UTC)
 * Thank you for clarifying. Since I wasn't a party to those discussions, I appreciate your helping me to understand them. I agree with Dolotta that someone from the technical village pump would be ideal to make these changes. Has the request been duplicated there? I'd hasten to add that this is an unusual application of the COI-ER template, in that COI-ER's are almost never applied to internal-use Wikipedia templates.
 * As the remedy being used here applies to a topic ban, there is no traditional conflict of interest which exists. The template is being used to solve another issue, that of the topic ban, not a conflict of interest. In using the template in this manner, the interests in which confliction are being prevented are those interests in which it is desired that Brandon not violate a ban. They are not preventing Brandon from introducing bias into the project — or if they were, they would not be temporary — as bias is not typically considered to be easily switched on and off in such a manner.
 * Conflicts of interest are established situations where a person's role as an editor comes in conflict with their relationship to the subject of an article — not ones where their actions would conflict with an internal rule or regulation, which is more of an ethical dilemma. If Brandon were permanently banned from working on these templates, I could see that as a conflict of interest. The fact that it's for 6 months means that this 'confliction' is viewed by the powers that be as a temporary one.
 * If this is what has been decided upon then so be it, although there must be other ways to prevent Brandon from breaking his topic ban. Perhaps waiting 6 months?  Spintendo   17:25, 13 December 2018 (UTC)

Altering edit request to the  variant. Unless I'm mistaken that template should be used in this case. If anything, those who monitor it should be more informed template-wise that those monitoring the other list. I'm afraid the request may have ended up sitting for some time on the COI list and would have a better chance if it were listed under templates instead of COI. Hope this helps. Regards,  Spintendo   23:26, 13 December 2018 (UTC)
 * this page is not protected so it doesn't need it at all. If anyone that isn't sanctioned wants to do this, they can per WP:BRD. —  xaosflux  Talk 00:03, 14 December 2018 (UTC)
 * Yes check.svg Done Thanks for your contributions! Diffs: template data docs AdA&D  00:05, 14 December 2018 (UTC)
 * FWIW, I've opened Template_talk:Request_edit for anyone interested in building way for managing edit requests on unprotected pages from users under editing sanctions. — xaosflux  Talk 00:08, 14 December 2018 (UTC)

Ottawa "Regional" Roads
I notice that Ottawa roads are still displaying as 'Regional Road #' (where # is the road number) when using the template. Is there any possibility of changing that to display 'Ottawa Road #' instead? Also, is there a way to display Ottawa Road shields for this template as well? Thanks. BigBenzino (talk) 14:41, 9 June 2020 (UTC)
 * , sure, do you have a reference for the roads being called "Ottawa Road #"? Also, do you have the format for the road shield photos or do you mean you want one picture for all roads? – Brandon XLF  (talk) 19:08, 9 June 2020 (UTC)
 * Ottawa is a city, not a region; it's a single-tier municipality, so regardless of the area of the city you're in, you're still in the "city". I do not have any format in photos, but I can try to get one later, if needed. BigBenzino (talk) 16:19, 24 June 2020 (UTC)
 * @BigBenzino / @BrandonXLF: I'm bumping an old thread. I noticed that Template:Jcon is linking Ottawa Roads to 'Ottawa City Road %' (i.e. Ottawa City Road 174) (Template link: ), while the Ottawa numbered road articles are titled 'Ottawa Road %' (i.e. Ottawa Road 174). Is the best course of action for a fix to modify the template to the article link, or rename (move) the article to reflect the format? At this point I think the only article that would really be affected would be Ottawa Road 174. MuzikMachine (talk) 16:54, 28 November 2023 (UTC)

Possible Fixes/Enhancement Ideas
I've been doing some recent work and noticed that Template:Jcon is less functionality than Template:Jct, desipite its stated purpose of being an enhancement to Template:Jct within the Ontario context. I had a few enhancement ideas for Template:Jcon that I was wondering could be considered or added. I don't have the skillset to make some the edits myself.

Some fixes that should be looked into are:

'''1. Match shield size. '''

I noticed the default shield size was enlarged in Template:Jct so now there's a noticeable difference. Personally I prefer the shield size on Template:Jcon, but I'm thinking the sizing should be consistent between the two templates.

e.g. Template:Jct vs. Template:Jcon

2. Allow for more destinations.

With Template:Jcon it appears that city and town were treated separately, but now the commands are interchangeable. Allowing for up to four cities/towns would be helpful.

3. Fix direction placement on concurrencies

With concurrencies, Template:Jcon puts all the directions at the end while they should be placed after each entry

e.g. Template:Jct vs. Template:Jcon

Some enhancement ideas I had for the template are:

4. Incorporate the "To" function

The "To" function is not available on Template:Jcon despite Ontario having it's own Trailblazer shield set. Variations could be To1 (i.e. To Highway X) and To2 (i.e. Highway X to Highway Y).

e.g. Template:Jct ; ;

In a perfect world, the option of 'To' with the Shield Option (resulting in this shield), but a library of shields is currently unavailable.

5. Allow for multi-jurisdictional concurrencies

While King's Highway/County Road concurrencies technically do not exist as its a break in the County Road, concurrencies between County Roads two counties do exist if they are located on a county (or similar entity) boundary. If Template:Jcon could be configured to allow this to be represented, it could be a possible improvement, especially since there is now a way to do it on Template:Jct.

e.g.

Incorporated with a "To" function, it could allow to for links to King's Highways (if necessary):

e.g.

6. Allow for long text

Similar logic to the y with removes the shield and link, a proposed longtext (or a different name) would put the full name of the road (i.e. the County name). This could be useful if there were multi-jurisdictional concurrencies.

e.g. =  Peel Regional Road 7; y  Peel Regional Road 7 / Dufferin County Road 18 MuzikMachine (talk) 18:21, 17 July 2024 (UTC)


 * @MuzikMachine I made some changes to the template sandbox at Template:Jcon/sandbox to address your suggestions.
 * 1 - Since this change would affect every use of this template, we should get some more feedback before changing the size.
 * 2 - Added support for an infinite number of control cities
 * 3 - Fixed
 * 4 - Added "to" and "via" as they are both used in Ontario
 * 5 - Added with contype
 * 6 - Added with fulltext
 * Let me know what you think of the changes and if you're okay with them I'll add them to the live template. – Brandon XLF  (talk) 05:16, 21 July 2024 (UTC)
 * 5 - Added with contype
 * 6 - Added with fulltext
 * Let me know what you think of the changes and if you're okay with them I'll add them to the live template. – Brandon XLF  (talk) 05:16, 21 July 2024 (UTC)
 * Let me know what you think of the changes and if you're okay with them I'll add them to the live template. – Brandon XLF  (talk) 05:16, 21 July 2024 (UTC)
 * Let me know what you think of the changes and if you're okay with them I'll add them to the live template. – Brandon XLF  (talk) 05:16, 21 July 2024 (UTC)