Template:Jcttop/doc

From blackwiki
< Template:Jcttop
Revision as of 01:15, 11 April 2009 by imported>TwinsMetsFan (Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template creates a WP:ELG-compliant heade…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template creates a WP:ELG-compliant header for junction lists. It can be combined with {{jctint}} to create a complete, standardized junction list for a route.

This template accepts these parameters, all optional:

  • location_ref: a reference for the locations in the table. The reference will be placed next to the "Location" heading
  • length_ref: a reference for the mileposts or kilometer posts in the table. The reference will be placed next to the "Mile" or "km" heading

Per an April 2008 change to WP:ELG, this template also accepts additional parameters for intracounty roads:

  • state: the two-letter postal abbreviation of the state that the road is in
  • county: the name of the county that the road is within

The presence of both parameters will remove the county column from the header and generate the following note above the table: "The entire route is in {{{county}}} County." The county will be wikilinked appropriately.

As part of that April 2008 change, more parameters are now accepted for roads within a location, such as a town or city:

  • location: the name of the location that the road is within
    • area: used to disambiguate between town, city, village, etc.
    • ctdab: further disambiguation by county

The presence of the location parameter will remove the location column from the header and generate the following note above the table: "The entire route is in {{{location}}}, {{{county}}} County." The location and county will be wikilinked appropriately.

See also

  • {{jctint}}, a template for creating junction list entries