Template:Jctco/sandbox
No major junctions |
![]() | This is the template sandbox page for Template:Jctco (diff). See also the companion subpage for test cases. |
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:
{{jctco|state= |county= }}
...and fill in the variables!
For the above parameters, here's what you should fill in:
- 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.
Any parameter which is empty can be omitted.
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:
{{Jctco|exit|state= |county= }}
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:
{{Jctco|old|state= |county= }}
If a freeway has named interchanges, like the Pennsylvania Turnpike, add |name
after either |exit
or |old
.
See also
- {{jctint}}, a related template for road junctions
- {{jctbridge}}, a related template for bridge or tunnel crossings
TemplateData
TemplateData for Jctco
A template for generating a county entry in a junction list or exit list when there are no major junctions in a county.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | state | The postal abbreviation of the state the county is in. | String | optional |
State rowspan | 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. | Number | optional |
State (full wikitext) | state_special | The state/province where the county is located - use for custom entries only. Full wiki markup is required. | String | optional |
County | county parish borough municipality | The name of the county, without wiki markup. | String | optional |
County (full wikitext) | county_special | The name of the county - use for custom entries only. Full wiki markup is required. | String | optional |
County rowspan | cspan | The number of rows the county cell should span.
| Number | optional |
County note | county_note | A note that appears in small text below the county—used primarily for California. | String | optional |
The above documentation is transcluded from Template:Jctco/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |