Difference between revisions of "Template:AUSinttop"

From blackwiki
Jump to navigation Jump to search
blackwiki>Evad37
(Mile→mi per WT:RJL#Mile_or_km)
blackwiki>ScottDavis
(pass through parameter 2, same as 1. This is already in the documentation to add a Name column if !2=name)
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

Revision as of 13:41, 21 August 2015


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