Template:Jctco/doc

This is a template for generating a county entry in a junction list or exit list when there are no major junctions in a county.

Usage
Complete variable list: 

...and fill in the variables!

For the above parameters, here's what you should fill in: Any parameter which is empty can be omitted.
 * state: the state the intersection is at, do not use if cspan or lspan is specified for the row (use the state's postal abbreviation)
 * sspan: set to add a column for the state/province in a multi-state/provincial junction list. This uses the state or province's abbreviation to generate the link. This parameter needs to be set to the number of rows the state/province spans—if value=1, do not omit this parameter
 * state_special: (replaces state) state/province where the junction is located - use for custom entries only. Full wiki markup is required.
 * county: name of the county without wiki markup – the county is automatically linked by the template
 * county_note: a note that appears in small text below the county—used primarily for California.
 * ref: a reference that appears after the standard text.

For regular exit lists, use "exit" as the first parameter before any other parameters. Doing so will force the name of the crossing to span the location, distance, exit, destination and notes columns. This looks like: 

For exit lists that have old exit numbers displayed, use "old" as the first parameter before any other parameters. Doing so will force the "No junctions" note to span the old exit, new exit, destination and notes columns. This looks like: 

If a freeway has named interchanges, like the Pennsylvania Turnpike, add  after either   or.

TemplateData
{	"params": { "state": { "required": false, "label": "State", "type": "string", "description": "The postal abbreviation of the state the county is in." },		"sspan": { "required": false, "label": "State rowspan", "type": "number", "description": "Set to add a column for the state/province in a multi-state/provincial junction list. This uses the state or province's abbreviation to generate the link. This parameter needs to be set to the number of rows the state/province spans—if value=1, do not omit this parameter." },		"state_special": { "required": false, "label": "State (full wikitext)", "type": "string", "description": "The state/province where the county is located - use for custom entries only. Full wiki markup is required." },		"county": { "required": false, "label": "County", "type": "string", "aliases": [ "parish", "borough", "municipality" ],			"description": "The name of the county, without wiki markup." },		"county_special": { "required": false, "label": "County (full wikitext)", "type": "string", "description": "The name of the county - use for custom entries only. Full wiki markup is required." },		"cspan": { "required": false, "label": "County rowspan", "default": "1", "type": "number", "description": "The number of rows the county cell should span." },		"county_note": { "required": false, "label": "County note", "type": "string", "description": "A note that appears in small text below the county—used primarily for California." }	},	"description": "A template for generating a county entry in a junction list or exit list when there are no major junctions in a county." }