Template talk:AUshield

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

eg:

would automatically produce:

Pacific Motorway (M1)

eg:

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 " " 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)


 * 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)


 * 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)

After a stoke of genius, or perhaps madness, I've coded a prototype in the sandbox. There are three modes: Some more work will be required for alternate/business routes also work: ;. Additional testing would be appreciated. - Evad37 (talk) 06:20, 3 September 2013 (UTC)
 * route will automatically produce text labels for a single route only, for use in the allocation field of the infobox.
 * Example:
 * infobox will produce the labels for multiple routes small text, following the name, which is inputed using name parameter.
 * Example:
 * 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 . 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:


 * 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)
 * 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  after the  . - Evad37 (talk) 04:55, 4 September 2013 (UTC)
 * support for alternate names: - Evad37 (talk) 09:15, 4 September 2013 (UTC)
 * 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)

Testing

 * Labels




 * Infobox list


 * Comments:
 * - The appropriate route name for this shield would be "F3 Freeway", or if thats hard "Freeway route F3", "Freeway route 3", or "Freeway 3" -- Nbound (talk) 01:39, 12 September 2013 (UTC)
 * - Evad37 (talk) 05:18, 12 September 2013 (UTC)

RJL Testing
No directions Road direction Route directions
 * Single road


 * Two roads
 * / Another Road east

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

thumb

Semi-protected edit request on 8 April 2018
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)


 * 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 renders as  which appears to be the right symbol for the Bolte Bridge in Melbourne. --Scott Davis Talk 12:48, 8 April 2018 (UTC)
 * Red question icon with gradient background.svg 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)

Similar to this sign at Punt Rd in Richmond, Vic as shown M1 has a blue background while it follows Citylink
 * Red information icon with gradient background.svg Not done: please establish a consensus for this alteration before using the 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)

Borderless NSW route shields
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)
 * 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)
 * 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)

Making it
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 (talk • contribs) 11:35, 13 September 2020 (UTC)

M28 and A50
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)

Making it
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)

Boundaries
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)

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