Template talk:Jct/Archive/2015

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


Jct and route marker

I've just recently created a new page for a highway in Ghana - N1 road (Ghana), but the route marker isn't appearing when I use the jct road transclusion to add route junctions. I'd appreciate any help figuring this out - new to this template. Thanks! Manny9455 (talk) 20:18, 6 March 2015 (UTC)

@Manny9455: I changed Module:Road data/strings/GHA so that it points to the same file name as the main graphic at the top of the infobox. In doing so, the N2 marker appears now in the browser at the bottom of the infobox because that also uses the Lua module. Jct uses that module, so if you continue creating the missing graphics, the N12 marker will appear once the graphic exists. Imzadi 1979  20:36, 6 March 2015 (UTC)
Just to clarify, the graphics need to follow the same naming scheme though, or it won't work. Imzadi 1979  20:39, 6 March 2015 (UTC)

Multiple extras

Currently, {{jct/extra}} only allows for one extra graphic (airport, train station, hospital, etc) to be displayed at a time. Is there a way to allow for two or more extras to be displayed? For example, an exit might serve both an airport and a train station. Dough4872 20:55, 7 April 2015 (UTC)

Give us an example where this would be useful. –Fredddie 03:56, 8 April 2015 (UTC)
The eastern terminus of Delaware Route 18 connects to US 9/DE 404, which heads east to both the Sussex County Airport and the Cape May-Lewes Ferry, so both the airport and ferry symbols are needed. Dough4872 04:44, 8 April 2015 (UTC)
I can't say I agree with using the airport icon there. We're talking about a small county airport for general aviation, not scheduled commercial flights. –Fredddie 04:57, 8 April 2015 (UTC)
Both symbols are on the sign. --NE2 11:24, 8 April 2015 (UTC)

Anyone willing to take a look into this. Dough4872 15:01, 25 April 2015 (UTC)

Trying to get the country-specific extras for Canada and Mexico to work

I recently added more country-specific extra symbols to {{jct/extra}}. However, the symbols for Canada and Mexico are not working properly and display the default symbol, likely due to the use of the state/province code for these two countries. Is there a way to fix the template to define the specific symbols for Canada and Mexico? In addition, there is variation within Canada between provinces, in which Quebec uses different bus, rail, and airport signs than the rest of the country and Ontario uses a different hospital sign than the rest of the country. Dough4872 02:22, 15 April 2015 (UTC)

Extra icons are defined in Module:Jct – edits will need to be made there. - Evad37 [talk] 02:37, 15 April 2015 (UTC)
{{Jct/extra}} needs to be speedied. It is no longer transcluded by anything meaningful. -happy5214 06:51, 15 April 2015 (UTC)
done. --Rschen7754 01:26, 16 April 2015 (UTC)

Is anyone willing to work with the coding to add the icons for these countries? Dough4872 05:03, 30 April 2015 (UTC)

The country-wide symbols can be added using the existing code syntax – if you list those below, I'll add them. Variations between states or provinces should be possible, but will require a bit of thought and more code modification. - Evad37 [talk] 05:42, 30 April 2015 (UTC)
Here are the codes that can be added:

Airport

  • Canada - File:Ontario M502.svg (File:Québec I-300-1.svg for Quebec)
  • Chile - File:Chile IS-11b.svg
  • Croatia - File:Croatia road sign C47.svg
  • Indonesia - File:Indonesia New Road Sign Info 5a4.png
  • Mexico - File:Mexico road sign aeropuerto.svg
  • Norway - File:Norwegian-road-sign-771.0.svg
  • Ukraine - File:Ukraine road sign 5.65.png
  • Uruguay - File:Uruguay Road Sign I21.svg (maybe some way to modify this sign to remove the arrow)

Bus

  • Canada - File:Ontario M506.svg (File:Québec I-315.svg for Quebec)
  • Croatia - File:Croatia road sign C44.svg
  • France - File:France road sign C6.svg
  • Hungary - File:Hungary road sign E-039.svg
  • Italy - File:Italian traffic sign - fermata autobus.svg
  • Japan - File:Japanese Road sign 124-C.svg
  • Mexico - File:Mexico road sign parada de autobus.svg
  • Norway - File:Norwegian-road-sign-508.1.svg
  • Uruguay - File:Uruguay Road Sign I24.svg

Train Station

  • Canada - File:Ontario M509.svg (File:Québec I-310.svg for Quebec)
  • Chile - File:Chile IS-13b.svg
  • Indonesia - File:Indonesia New Road Sign Info 5A2.png
  • Japan - File:Japanese Road sign 125-C.svg
  • Mexico - File:Mexico road sign estacion de ferrocarril.svg

Ferry

  • Canada - File:Ontario M508.svg
  • Chile - File:Chile IS-14b.svg
  • Croatia - File:Croatia road sign C49.svg
  • France - File:France road sign CE10.svg
  • Italy - File:Italian traffic signs - auto su nave.svg

Hospital

  • Austria - File:Hinweiszeichen 2.svg
  • Canada - File:Québec I-280-1.svg (File:Ontario M401.svg for Ontario)
  • Chile - File:Chile IS-1b.svg
  • Czech Republic - File:IJ02cr.jpg
  • France - File:France road sign ID3.svg
  • Greece - File:Traffic Sign GR - KOK 2009 - P-22.svg
  • Hungary - File:Hungary road sign E-045.svg
  • Iceland - File:Iceland road sign E01.12.svg
  • Indonesia - File:Indonesian Road Sign d9a.png
  • Italy - File:Italian traffic signs - ospedale.svg
  • Mexico - File:Mexico road sign medico.svg
  • Poland - File:Znak D-21.svg
  • Russia - File:7.2 Russian road sign.svg
  • Slovakia - File:Dopravná značka II5.svg
  • Spain - File:Spain traffic signal s23.svg
  • Switzerland - File:CH-Hinweissignal-Spital.svg
  • Turkey - File:Turkish road sign 84.jpg
  • Ukraine - File:Ukraine road sign 6.2.gif
  • United Kingdom - File:UK traffic sign 827.2.svg
  • Uruguay - File:Uruguay Road Sign I16.svg

This is a good start for now. More can be added in the future. Dough4872 00:58, 1 May 2015 (UTC)

 Done, except for state/province specific icons – see Template:Jct/testcases/extra - Evad37 [talk] 02:47, 1 May 2015 (UTC)
Thanks. Dough4872 03:35, 1 May 2015 (UTC)
@Dough4872: Province-specific icons now work, see Template:Jct/testcases/extra#Canadian_provinces - Evad37 [talk] 10:00, 6 May 2015 (UTC)
Thanks very much! Dough4872 12:35, 6 May 2015 (UTC)

Three-digit Puerto Rico Tertiary route shields

I noticed this template uses the "Circle sign XXX.svg" shields for three-digit Puerto Rico Tertiary route shields. This is incorrect; three-digit tertiary route shields in Puerto Rico use smaller FHWA Series D numerals, not the tall Series B numerals that the standard "Circle Sign XXX" shields use. ANDROS1337TALK 00:59, 11 May 2015 (UTC)

Fixed, but at 20 pixels, who's going to really notice? –Fredddie 01:22, 11 May 2015 (UTC)