Difference between revisions of "Template:Jctgap/doc"

From blackwiki
Jump to navigation Jump to search
imported>Denelson83
m (Typo - "i(n→s)")
imported>Imzadi1979
(→‎Usage: updating)
Line 6: Line 6:
 
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.
+
*'''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.
  

Revision as of 01:12, 31 December 2013

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