ਫਰਮਾ:Jctbtm/doc
ਇਹ ਇੱਕ ਫਰਮਾ:Jctbtm ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
This template is used on approximately 13,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
Usage
ਸੋਧੋThis template is used to close a highway article's junction list table. It appends a table row with conversion information and closes the table syntax.
{{jctbtm |col= |key= }}
- keys: the color keys to use in an article, provided in a comma-delimited list. Use the codes from the following table.
- col: for the number of columns in the table. The default value is 6. (If
{{jctbtm|exit}}
is used in an exit list, the template will default to 7 columns. If{{jctbtm|old}}
is used in an exit list, the template will default to 8 columns.) - key: use to add an additional set of key information, such as the county superscripts on M-120 (Michigan highway)
- conv: used to turn the distance conversion key on and off. Currently the default behavior is to include the key, so to omit it, use
|conv=no
. In the future, the key will be omitted by default once a majority of articles use two distance columns; in that case use|conv=yes
to force its display.
Color key
ਸੋਧੋColor | Use | Notes | Code |
---|---|---|---|
#d3d3d3 | Closed/former | Previously complete and open, but now closed (temp. or perm.) | closed |
#ddffdd | Concurrency terminus | concur | |
#ffdead | Proposed | Interchange or route in the planning stages, where construction has not yet started | future |
#dcdcfe | ETC | Interchange or bridge requires the use of electronic toll collection | etc |
#ffff99 | HOV only | Interchange/intersection only accessible to high-occupancy vehicles (HOV) | hov |
#ffdddd | Incomplete access | Some ramps/movements missing | incomplete |
#dcdcfe | Tolled | Interchange or bridge is otherwise tolled as an exception to the rest of the roadway | toll |
#dff9f9 | Route transition | Indicates a transition from one route number to either another route number, or a section without a route number, along a named road | trans |
#ffdead | Unopened | Interchange being constructed, not yet open to traffic | unbuilt |
Sample
ਸੋਧੋ- Example 1, no colors:
{{jctbtm}}
1.000 mi = 1.609 km; 1.000 km = 0.621 mi |
- Example 2, all colors:
{{jctbtm|keys=concur,closed,future,hov,incomplete,trans,toll,etc,unbuilt}}
1.000 mi = 1.609 km; 1.000 km = 0.621 mi
|
- Example 3, some colors:
{{jctbtm|keys=concur,closed,incomplete,toll,unbuilt}}
1.000 mi = 1.609 km; 1.000 km = 0.621 mi
|
TemplateData
ਸੋਧੋTemplateData for Jctbtm
A template to close a junction table, optionally including a key of colors used in the table.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Additional columns | 1 | Use exit if there is a column for exit numbers, and old if there is a separate column for old exit numbers. | String | optional |
Columns to span | col | An explicit number of columns for the template to span. | Number | optional |
Display distance conversion key | conv | Use "yes" to activate the distance conversion key. (Currently unused until default behavior changed in the future, set to "no" to opt out.)
| String | optional |
Colors to display | keys | A comma-separated list of colors to display in the key. Allowed values are closed, concur, etc, hov, incomplete, toll, trans, and unbuilt. | String | optional |
Additional notes | notes key | The text to add to the bottom of the legend, if additional notes are needed. | String | optional |