Difference between revisions of "Template:Jctgap/doc"
Jump to navigation
Jump to search
imported>Imzadi1979 m (c/e documentation) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | ||
| − | This is a template for generating an entry in a junction list or exit list when there | + | This is a template for generating an entry in a junction list or exit list when there is a gap in the route. |
==Usage== | ==Usage== | ||
Complete variable list: | Complete variable list: | ||
<pre width=100%> | <pre width=100%> | ||
| − | {{jctgap |col= |text= }} | + | {{jctgap |col= |type= |text= }} |
</pre> | </pre> | ||
For the above parameters, here's what you should fill in: | For the above parameters, here's what you should fill in: | ||
| − | + | *'''col:''' number of columns the cell needs to span. Default is 5. | |
| + | *'''type:''' use to specify a shading for that junction's row. The two permitted types are: | ||
| + | **'''closed:''' for gaps caused by sections removed from the highway | ||
| + | **'''unbuilt:''' for gaps caused by unbuilt highway sections | ||
| + | **'''Note:''' the default text cannot be used if a color is set. [[MOS:RJL]] requires colorized rows to have some explanation for the color. | ||
*'''text:''' custom text if desired. | *'''text:''' custom text if desired. | ||
| Line 17: | Line 21: | ||
==See also== | ==See also== | ||
*{{tl|jctint}}, a related template for road junctions | *{{tl|jctint}}, a related template for road junctions | ||
| − | *{{tl|jctbridge}}, a related template for bridge or tunnel crossings | + | *{{tl|jctbridge}}, a related template for bridge or tunnel crossings |
| + | <includeonly>{{Sandbox other||<!-- | ||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
[[Category:Highway templates]] | [[Category:Highway templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 22:49, 25 April 2020
| 40px | This is a documentation subpage for Template:Jctgap. It contains usage information, categories and other content that is not part of the original template page. |
This is a template for generating an entry in a junction list or exit list when there is a gap in the route.
Usage
Complete variable list:
{{jctgap |col= |type= |text= }}
For the above parameters, here's what you should fill in:
- col: number of columns the cell needs to span. Default is 5.
- type: use to specify a shading for that junction's row. The two permitted types are:
- closed: for gaps caused by sections removed from the highway
- unbuilt: for gaps caused by unbuilt highway sections
- Note: the default text cannot be used if a color is set. MOS:RJL requires colorized rows to have some explanation for the color.
- text: custom text if desired.
Any parameter which is empty can be omitted.
See also
- {{jctint}}, a related template for road junctions
- {{jctbridge}}, a related template for bridge or tunnel crossings