Difference between revisions of "Template:AUSinttop"

From blackwiki
Jump to navigation Jump to search
blackwiki>Evad37
(add tracking category for mainspace)
m (29 revisions imported)
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
{{Jcttop/core
 
{{Jcttop/core
 
|1={{{1|}}}
 
|1={{{1|}}}
 +
|2={{{2|}}}
 
|region={{#switch: {{uc:{{{state|}}} }}
 
|region={{#switch: {{uc:{{{state|}}} }}
 
         | SA  = South Australia
 
         | SA  = South Australia
Line 22: Line 23:
 
|sub2_ref={{{location_ref|}}}
 
|sub2_ref={{{location_ref|}}}
 
|unit=km
 
|unit=km
|unit2=Mile
+
|unit2=mi
 
|length_ref={{{length_ref|}}}
 
|length_ref={{{length_ref|}}}
 
|old_ref={{{old_ref|}}}
 
|old_ref={{{old_ref|}}}

Latest revision as of 14:12, 16 October 2020


LGALocationkmmiDestinationsNotes
Template documentation[view] [edit] [history] [purge]

This template creates the header row for a road junction list table for Australian roads. Use the individual state templates for each row ({{AUS-WAint}} / {{ACTint}} / {{NSWint}} / {{NTint}} / {{QLDint}} / {{SAint}} / {{TASint}} / {{VICint}}), and close the table using {{Jctbtm}}.

Usage

Standard usage: {{AUSinttop}} This will create column headings for: LGA, Location, km, Mile, Destinations, and Notes

Additional columns

  • For roads through more than one state, add the parameter |state_col=State, or use |state_col=State/Territory for roads through the ACT and NT).
  • For an exit number column, use |1=exit
  • For exit number and old exit number columns, use |1=old
  • For a named interchange column, use |2=name

Changing or removing columns

  • To change the label of the LGA column, use |sub1=column name
  • To turn off the column, for roads within a single LGA, use |noLGA=yes

References

The following parameters are available to add references to columns. <ref> tags are required.

  • |LGA_ref= or |sub1_ref=
  • |location_ref=
  • |length_ref=
  • |old_ref=
  • |exit_ref=
  • |name_ref=
  • |dest_ref=
  • |notes_ref=

See also

Wikipedia:Manual of Style/Road junction lists