Jump to content

Template talk:AUshield

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

Proposed change to {{AUshield}}

[edit]

What would be everyones thoughts on extending the capabilities of AUshield, so as to fill out the WP:ACCESS requirements automatically.

eg:
{{AUshield|NSW|M1|name=[[Pacific Motorway]]}}
would automatically produce:
Pacific Motorway (M1)


eg:
{{AUshield|S|2|S|4|name=Foo Highway}}
would automatically produce:
Foo Highway (State Route 2 / State Route 4)

So as not to break existing code, this should only be turned on by adding the "name=" parameter. We should also keep the existing system as a backup incase of examples where manual coding will be easier/required/desired.

Thoughts?

-- Nbound (talk) 03:45, 13 July 2013 (UTC)[reply]

The small text is only really needed in the infobox, because of the limited width. In junction lists/tables, the normal font size can be used... which would make the coding more complicated. And there will be plenty of cases in road junction lists/tables where this won't work well – which is the main reason I created this template rather than use {{jctname}}, which doesn't handle complicated cases (such as a route only existing in one direction on a road that goes in both direction from a junction). - Evad37 (talk) 04:51, 13 July 2013 (UTC)[reply]
That is true, I personally use "[B23]" for routes in RJLs and "(east)" for directions in RJLs. The main reason for this proposal is that any future change is going to require all shield descriptions for WP:ACCESS to be changed by hand. I am very open to other suggestions. I have no issue per-se with the status quo... just that it will be more work. I will gladly stick with it though if no easy alternative can be found. -- Nbound (talk) 05:12, 13 July 2013 (UTC)[reply]

After a stoke of genius, or perhaps madness, I've coded a prototype in the sandbox. There are three modes:

  • |text=route will automatically produce text labels for a single route only, for use in the allocation field of the infobox.
    • Example:  National Highway 1
  • |text=infobox will produce the labels for multiple routes small text, following the name, which is inputed using |name= parameter.
    • Example:  Kwinana Freeway (National Route 1 / State Route 2)
  • |text=rjl can be used for junction list tables. These are more complicated. The display is dependant on the names entered using parameters |name1= to |name4= for road names (with wikilinks if appropriate). Concurrencies are formed by skipping a name#. Directions can be assigned to each named road using |ndir1= to |ndir=. Directions can be separately assigned to each route using |rdir1= to |rdir4=. Roads without shields and destinations can be tacked on at the end.
    • Examples:  Foo Highway (National Highway 1) east
    •  Another Highway (National Highway 1 north / A1 south / State Route 3)
    •  First Street (National Highway 1 north / A1 south) / Second Road (State Route 3) east
    •  Named Highway (National Highway 1 north / National Route 1 south) / Second Road (State Route 1) east / Some Street (Tourist Drive 2) north-east

Some more work will be required for alternate/business routes also work: File:Australian national route BUS15.svg Business National Route 15;  Albany Highway (Alternate State Route 30). Additional testing would be appreciated. - Evad37 (talk) 06:20, 3 September 2013 (UTC)[reply]

Nice work Evad . The RJL function could be a little restrictive in style (see Monaro Highway and Silver City Highway, for what Ive been working with recently), its definitely a good start though. Your first example isnt displaying the "east" in the first example btw either. -- Nbound (talk) 08:48, 3 September 2013 (UTC)[reply]
Hmm... I wouldn't recommend listing the internal road number - seems like too much detail for outside a road's specific article. However, I'll have a look at adding |altname1= to |altname4= parameters to allow for alternate road names or numbers. Some other style issues can be resolved through template usage, ie to have one line per road use separate template instances for each line (as per current situation). Let me know if there are any other style issues (but it would certainly be easier to code for a single style). And the example is now fixed, I forgot the 1 after the ndir. - Evad37 (talk) 04:55, 4 September 2013 (UTC)[reply]
plus Added support for alternate names:  Foo Highway (National Highway 1 / Bar Road) - Evad37 (talk) 09:15, 4 September 2013 (UTC)[reply]
Ive added them because the sources often refer to the road classifications rather than the names. For example it's actually quite hard to discuss the history of the Monaro Highway without discussing the interplay between State Highway 4 and State Highway 19. Especially in that case keeping in mind the former originally had the latter's current name. Similarly many roads were classified as highways long before they were named and its handy to have a single name to refer to a route in its entirety. The signed route number, where it exists will always be listed first (and AUshielded), as would be expected. -- Nbound (talk) 12:52, 4 September 2013 (UTC)[reply]

Testing

[edit]
Labels
  •  National Highway 1
  •  National Highway M1
  •  National Highway 23
  •  National Route 1
  •  Alternate National Route 23
  •  State Route 2
  •  Alternate State Route 30
  •  A1
  •  C80
  •  M2
  •  Alternate Route A2
  •  B90
  •  B34
  •  B400
  •  M1
  •  B23
  •  Metroad 1
  •  Tourist Drive 2
  •  Tourist Drive 3
  • File:Australian national route BUS15.svg Business National Route 15
  •  Melbourne Ring Road 80
  •  F3 Freeway
  •  Sydney Ring Road 5
  •  
  •  
Infobox list
  •  Some Highway (National Highway 1)
  •  Some Highway (National Route 1 / State Route 2)
  •  Some Highway (M1 / A1 / B100)
  • File:Australian national route BUS15.svg Some Highway (Metroad 1 / Tourist Drive 2 / Business National Route 15 / National Highway 23)
Comments

RJL Testing

[edit]
Single road

No directions

  •  Some Highway (National Highway 1)
  •  Some Highway (National Highway 1 / National Route 1)
  •  Some Highway (National Highway 1 / National Route 1 / State Route 1)
  •  Some Highway (National Highway 1 / National Route 1 / State Route 1 / Tourist Drive 1)

Road direction

  •  Some Highway (National Highway 1) north
  •  Some Highway (National Highway 1 / National Route 1) north
  •  Some Highway (National Highway 1 / National Route 1 / State Route 1) north
  •  Some Highway (National Highway 1 / National Route 1 / State Route 1 / Tourist Drive 1) north

Route directions

  •  Some Highway (National Highway 1 north)
  •  Some Highway (National Highway 1 north / National Route 1 south)
  •  Some Highway (National Highway 1 north / National Route 1 / State Route 1 east)
  •  Some Highway (National Highway 1 north / National Route 1 / State Route 1 / Tourist Drive 1 west)
Two roads
  •  Some Highway (National Highway 1) west / Another Road east
  •  Some Highway (National Highway 1) west / Another Road (National Route 1) east
  •  Some Highway (National Highway 1) west / Another Road (National Route 1 / State Route 1) east
  •  Some Highway (National Highway 1 / National Route 1) west / Another Road (State Route 1) east
  •  Some Highway (National Highway 1) west / Another Road (National Route 1 / State Route 1 / Tourist Drive 1) east
  •  Some Highway (National Highway 1 / National Route 1) west / Another Road (State Route 1 / Tourist Drive 1) east
  •  Some Highway (National Highway 1 / National Route 1 / State Route 1) west / Another Road (Tourist Drive 1) east
  •  Great Northern Highway (National Highway 95 north / National Route 1) / Reid Highway (State Route 3) west

new route image needed

[edit]

The inner ring route in Adelaide has been signposted as R1[1] for several months,[2] but there is not an image for {{AUshield|SA|R1}} presently renders as a red x15px. Could whoever knows how to make them properly please create one? Thanks. --Scott Davis Talk 13:14, 16 October 2017 (UTC)[reply]

  1. ^ "Road Route Numbers (Trail Blazer)". Data SA. Government of South Australia. 8 November 2016. Retrieved 16 October 2017.
  2. ^ "Adelaide 'Wetern' suburbs spelling error spotted on new road sign". ABC News. 18 May 2017.

thumb

Semi-protected edit request on 8 April 2018

[edit]

I am requesting that a Toll Option be added to the Alpha Numeric route numbers, this changes the green background to blue 103.217.167.150 (talk) 08:58, 8 April 2018 (UTC)[reply]

Could you please give an example of where you need to use something not supported? Ideally with a Google streetview link or similar to a photo of a sign with the example. The example of {{AUshield|S|TOLL43}} renders as which appears to be the right symbol for the Bolte Bridge in Melbourne. --Scott Davis Talk 12:48, 8 April 2018 (UTC)[reply]
 Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. L293D ( • ) 02:07, 13 April 2018 (UTC)[reply]

Similar to this sign at Punt Rd in Richmond, Vic as shown M1 has a blue background while it follows Citylink [1]

 Not done: please establish a consensus for this alteration before using the {{edit semi-protected}} template. Wikipedia talk:WikiProject Australian Roads would be a good place to start to see if this is a change that should be made. OhKayeSierra (talk) 08:20, 23 April 2018 (UTC)[reply]

Borderless NSW route shields

[edit]

As of 2020, route numbers in NSW are no longer shown with a white border. See https://www.rms.nsw.gov.au/trafficinformation/downloads/ttd_2020-01.pdf for details. While very few signs have been erected or changed to date, since the officially supported style is now borderless (matching all other states except ACT), I think the AUshield template should be updated to show NSW routes using the borderless style. (I don't actually know how to do this, so leaving this message here in the hope that someone can make this change!) Ausmeerkat (talk) 07:22, 8 June 2020 (UTC)[reply]

Good news, I figured out how to do this in the template. Bad news, many of the NSW routes don't have SVG files for the borderless version, so I reverted the change until we can get that sorted. Ausmeerkat (talk) 06:10, 12 June 2020 (UTC)[reply]
Missing shields have been uploaded, and template has been updated to use the borderless style for NSW. White border shields remain for ACT routes. Ausmeerkat (talk) 07:14, 15 June 2020 (UTC)[reply]

Making it

[edit]

Hello, does anyone know how to make new route markers? On the List of Road Routes in NSW, a State Route 266 Sign is needed (https://en.wikipedia.org/wiki/List_of_road_routes_in_New_South_Wales#Unofficial_Routes_or_QLD_State_Routes) and a M25 sign is needed (https://en.wikipedia.org/wiki/List_of_road_routes_in_New_South_Wales#Future_Road_Routes). Thanks! — Preceding unsigned comment added by Thek22900 (talkcontribs) 11:35, 13 September 2020 (UTC)[reply]

M28 and A50

[edit]

Hi, Does anyone know how to create an M28 as a proposed route for List of Road routes in New South Wales and A50 for the Nepean Highway in Victoria in List of Road Routes in Victoria.

Thanks Thent1234 (talk) 09:17, 23 September 2020 (UTC)[reply]

Making it

[edit]

Hi, does anyone know how to make B4. A B4 sign is needed on List of Road Routes in the Northern Territory https://en.wikipedia.org/wiki/List_of_road_routes_in_the_Northern_Territory#State_Routes

Thanks, Thent1234 (talk) 09:36, 24 September 2020 (UTC)[reply]

Boundaries

[edit]

The documentation could talk about where it gets the shields from and what the max number is. P.S. I find a lot of shields could almost be procedurally generated, but it doesn't matter. P.P.S. I noticed some VIC changes which were either deleted by a user who said they were non live or were placed in in raw text without the use of the template. Jordf32123 (talk) 06:29, 25 October 2021 (UTC)[reply]

B664

[edit]

A B664 icon is needed for road routes in Victoria Zakary2012 (talk) 02:34, 29 March 2024 (UTC)[reply]