Template talk:Jct/Archive/2021

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


183 Toll Road (Bergstrom Expressway)

Now that there are two "183 Toll Roads" in the state of Texas, I'm trying to figure out how to disambiguate the two in order to add the latter shield to the template, but can't understand the module's code well enough to do so. ToThAc (talk) 20:52, 9 January 2021 (UTC)

Never mind, I think I have it figured out. ToThAc (talk) 23:39, 9 January 2021 (UTC)

Updates

With a bunch of testing, I went ahead and applied a lot of the changes Chinssai proposed a while ago. You've probably noticed a few things by now.

  1. The gap between shields and banners is gone now
  2. |road= is deprecated entirely; it won't display at all and it will throw an error code. Use |road|Main Street instead.
  3. Only one instance of |to#= is needed per template call. To plates will display on any following shields.
  4. Speaking of errors, Category:Jct template errors now displays different types of errors than previously.

Here are things that are in the pipeline or need to be addressed:

  1. The expensive Lua warnings came back, but the limit is 500. At present only 2 articles are affected.
  2. Turning on direction banners (need to fill in the table at commons:Commons:WikiProject U.S. Roads/Auxiliary plates where appropriate [see my objections above])
  3. Possibly resizing shields to 24px?
  4. Fixing RDT banner sizing

If you have any other comments or requests, let me know and I'll see what I can do. –Fredddie 05:18, 23 July 2021 (UTC)

is it me or is |nolink= not working?

So I'm trying:

{{Jct|province=BC|BC|99|city1=Vancouver}}
Hwy 99 – Vancouver
{{Jct|province=BC|BC|99|city1=Vancouver|nolink=y}}
Hwy 99 – Vancouver
{{Jct|province=BC|Hwy|99|dir1=south|nolink=y}}
Hwy 99 south

how do I get it to stop linking the "Hwy 99" part? —Joeyconnick (talk) 03:16, 29 July 2021 (UTC)

The following works:
{{Jct|province=BC|Hwy|99|dir1=south|nolink1=yes}}
Hwy 99 south
I don't know why the general case isn't working though. Imzadi 1979  03:48, 29 July 2021 (UTC)
Figured it out... thanks Imzadi1979:
{{Jct|province=BC|BC|99|city1=Vancouver}}
Hwy 99 – Vancouver
{{Jct|province=BC|BC|99|city1=Vancouver|nolink1=y}}
Hwy 99 – Vancouver
{{Jct|province=BC|Hwy|99|dir1=south|nolink1=y}}
Hwy 99 south
Gotta use nolink1Joeyconnick (talk) 18:13, 7 August 2021 (UTC)