Template:AUshield/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This is the basic syntax you need to get an Australian shield for use in a junction listing. Just place this prior to a road name and fill in the variables.

Some helpful usage hints can also be found here.

{{AUshield|1|2|3|4|5|6|7|8}}

Here's what you should fill in

[edit source]
  • 1, 3, 5, 7: The code for the type of route. See the table below for the codes to use.
  • 2, 4, 6, 8: The route number.
    • For state routes that are alphanumeric, this is just the number, not the prefix letter.
    • For national highways that are alphanumeric, this includes the prefix letter.
  • Parameters 3 to 8 are optional, and should only be used when two ore more routes are multiplexed on the same road.
  • Always use an even number of parameters, as using an odd number of parameters will generate an error.
  • The parameters replace the numbers, i.e. it should not be |1=S, just simply |S.

Route Types

[edit source]
Route Type Code Example Example image
National Highway (numeric) N {{AUshield|N|1}} File:Australian national highway 1.svg
National Highway (alpha-numeric) {{AUshield|N|M1}} File:Australian national highway M1.svg
National Highway (ACT standard) ACTN {{AUshield|ACTN|23}} File:Australian national highway ACT 23.svg
National Route R {{AUshield|R|1}} File:Australian national route 1.svg
Alternate National Route {{AUshield|R|ALT23}} File:Australian national route ALT23.svg
State Route (numeric) S {{AUshield|S|2}} File:Australian state route 2.svg
Alternate State Route (numeric) {{AUshield|S|ALT30}} File:Australian state route ALT30.svg
State Route (numeric) – tollway {{AUshield|S|TOLL43}} File:Australian state route TOLL43.svg
Alpha-numeric Route
Use state where highway is located.
For interstate routes without a shield and name change use AN.
For alpha-numeric National Highways, use N.
AN {{AUshield|AN|A1}} File:AUS Alphanumeric Route A1.svg
NSW {{AUshield|NSW|M1}} File:AUS Alphanumeric Route M1.svg
NT {{AUshield|NT|C80}} File:AUS Alphanumeric Route C80.svg
QLD {{AUshield|QLD|M2}} File:AUS Alphanumeric Route M2.svg
{{AUshield|QLD|ALTA2}} File:AUS Alphanumeric Route ALTA2.svg
SA {{AUshield|SA|B90}} File:AUS Alphanumeric Route B90.svg
TAS {{AUshield|TAS|B34}} File:AUS Alphanumeric Route B34.svg
VIC {{AUshield|VIC|B400}} File:AUS Alphanumeric Route B400.svg
Alphanumeric (ACT standard) ACT {{AUshield|ACT|B23}} File:New South Wales alphanumeric route B23.svg
VIC / new QLD Toll Alpha-numeric Route Toll {{AUshield|Toll|M6}} File:AUS Alphanumeric Route M6 toll.svg
Metroad Met {{AUshield|Met|1}} File:AUS Metroad 1.svg
Tourist Drive T {{AUshield|T|2}} File:Australian Tourist Drive 2.svg
Old ACT Tourist Drive ACTT {{AUshield|ACTT|3}} File:Australian Capital Territory Tourist Drive 3.svg
Old Brisbane freeway route Bris {{AUshield|Bris|F3}} File:Brisbane freeway F3.svg
Old Melbourne freeway route Mel {{AUshield|Mel|F80}} File:Melbourne freeway F80.svg
Old New South Wales freeway route NSWF {{AUshield|NSWF|F4}} File:New South Wales freeway F4.svg
NSW detour route D {{AUshield|D|D1}} File:New South Wales detour route D1.svg
Additional icons:
Airport + {{AUshield|+|airport}} File:Western Australia MR-SM-11.svg
Hospital {{AUshield|+|hospital}} File:Western Australia MR-SM-1.svg
Special:
No Route Marker (Blank)
Used to align text on articles that would look messy otherwise. Use common sense.
None {{AUshield|None|<shield>}}
See below for accepted inputs.
File:AUS Metroad 8.svg Foo Highway
File:Met none.svg Foo Street
File:Australian national highway 15.svg Foo Highway
File:N none.svg Foo Highway
File:AUS Alphanumeric Route M780.svg Foo Motorway
File:AN4 none.svg Foo Avenue

Other settings

[edit source]
  • Alt text: By default, alt text and image linking is turned off. Use |alt=on to include alt text (e.g. State Route 2) and the default image link.
  • Size: The default size is x20px (height of 20 pixels). To change this, use |size= parameter, which accepts the same values as the [[File ]] syntax.
  • ALT/BUS shield sizes: The default size for alternative or business National Routes is 17px, while the default size for alternative State Routes is 21px, this will ensure the "main" part of the shield is equivalent to the default size of the standard shields.
Examples
What you type What you get
{{AUshield|S|2|alt=on}} State Route 2
{{AUshield|S|2|size=35px}} File:Australian state route 2.svg

Blank Markers

[edit source]

Currently available blanks exist for the following marker types:

  • N
  • N Alpha
  • R
  • S
  • Met
  • NSW Small
  • NSW Mid
  • NSW Large
  • AN4
  • AN3
  • AN2

Note: AN# refers to generic Non-NSW alphanumerics, with # denoting the number of characters on the shield (including lead letter).

TemplateData

[edit source]

See also

[edit source]