Difference between revisions of "Template:Jctgap"
Jump to navigation
Jump to search
imported>Imzadi1979 m (try this...) |
imported>Happy5214 m (Fixing alignment) |
||
| Line 1: | Line 1: | ||
<noinclude><table></noinclude><tr> | <noinclude><table></noinclude><tr> | ||
| − | <td colspan={{{col|8}}} align | + | <td colspan={{{col|8}}} style="text-align:center;" {{#if:{{{type|}}}|{{#switch:{{{type}}} |
| − | |closed|unbuilt= | + | |closed|unbuilt={{Jctint/type|{{{type}}}}}|#default=}}|}}>{{{text|Gap in {{#switch:{{{state|}}}|MI=highway|#default=route}} }}}</td></tr><noinclude></table>{{documentation}}</noinclude> |
Revision as of 01:35, 31 December 2013
| Gap in route |
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
| The above documentation is transcluded from Template:Jctgap/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |