Difference between revisions of "Template:ACTint/doc"
blackwiki>Nbound (district usage) |
m (11 revisions imported) |
||
| (7 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{documentation subpage}} | ||
This is a template for generating an intersection or exit for an Australian Capital Territory road article. It is a member of the {{tl|Jctint}} suite of templates. | This is a template for generating an intersection or exit for an Australian Capital Territory road article. It is a member of the {{tl|Jctint}} suite of templates. | ||
| Line 7: | Line 8: | ||
<nowiki>{{ACTint</nowiki> | <nowiki>{{ACTint</nowiki> | ||
| − | <nowiki>| | + | <nowiki>|district=</nowiki> |
| − | <nowiki>| | + | <nowiki>|dspan=</nowiki> |
<nowiki>|location=</nowiki> | <nowiki>|location=</nowiki> | ||
| Line 31: | Line 32: | ||
<nowiki>{{ACTint</nowiki> | <nowiki>{{ACTint</nowiki> | ||
| − | <nowiki>| | + | <nowiki>|district=</nowiki> |
| − | <nowiki>| | + | <nowiki>|dspan=</nowiki> |
<nowiki>|location=</nowiki> | <nowiki>|location=</nowiki> | ||
| Line 49: | Line 50: | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
}} | }} | ||
| − | ==Within a single | + | |
| + | ==Within a single district== | ||
If a road is entirely within a single district, you may omit the district column by using the following code: | If a road is entirely within a single district, you may omit the district column by using the following code: | ||
{{pre| | {{pre| | ||
| Line 91: | Line 93: | ||
Also note that the table should be preceded by line explaining the omitted column, such as: | Also note that the table should be preceded by line explaining the omitted column, such as: | ||
<pre width=100%> | <pre width=100%> | ||
| − | The entire freeway is in the Gungahlin | + | The entire freeway is in the Gungahlin District. |
</pre> | </pre> | ||
| + | |||
==Parameters== | ==Parameters== | ||
For the above parameters, here's what you should fill in: | For the above parameters, here's what you should fill in: | ||
| − | * ''' | + | * '''district:''' The name of the district the intersection is in. Full wiki markup is required. |
| − | * ''' | + | * '''dspan:''' number of rows the district spans. If value=1, omit this parameter. If set, '''district''' should be omitted from the other rows it spans. |
| − | * '''location:''' the suburb the intersection is in. The text entered here will be wikilinked to ''<text entered>, Australian Capital Territory'', so if the intersection is in multiple suburbs, you must use '''location_special''' (see below). | + | * '''location:''' the suburb the intersection is in. The text entered here will be wikilinked to ''<text entered>, Australian Capital Territory'', so if the intersection is in multiple suburbs, you must use '''location_special''' (see below). For areas outside the designated suburbs, use {{para|location|none}} |
* '''lspan:''' number of rows the location spans—if value=1, omit this parameter. If set, '''location''' (or '''location_special''') should be omitted from the other rows it spans | * '''lspan:''' number of rows the location spans—if value=1, omit this parameter. If set, '''location''' (or '''location_special''') should be omitted from the other rows it spans | ||
* '''type:''' use to specify a shading for that intersection's row. The permitted types are: | * '''type:''' use to specify a shading for that intersection's row. The permitted types are: | ||
| Line 103: | Line 106: | ||
** '''mplex''' or '''concur''': for a route multiplexing terminus or concurrencies. | ** '''mplex''' or '''concur''': for a route multiplexing terminus or concurrencies. | ||
** '''unbuilt:''' for unbuilt roadway intersections/interchanges. | ** '''unbuilt:''' for unbuilt roadway intersections/interchanges. | ||
| − | ** '''incomplete:''' for incomplete intersections/interchanges where all movements are not supported (Northbound exit and southbound entrance, etc) | + | ** '''incomplete:''' for incomplete intersections/interchanges where all movements are not supported (Northbound exit and southbound entrance, etc.) |
** '''hov''' for interchanges that are only for High occupancy vehicle lanes | ** '''hov''' for interchanges that are only for High occupancy vehicle lanes | ||
| − | ** '''toll''' or '''etc''' for an interchange where tolls or electronic toll are collected | + | ** '''toll''' or '''etc.''' for an interchange where tolls or electronic toll are collected |
| − | ** Note: If the type parameter is used, the table must include a colour key at the bottom of the table. Use {{ | + | ** Note: If the type parameter is used, the table must include a colour key at the bottom of the table. Use the {{para|keys}} parameter in {{tl|jctbtm}} to generate a compliant legend. |
* '''km:''' the distance, in kilometres, of the intersection from the start of the road. Only enter numerical values, as these will be used to automatically generate a Miles column. Use '''km2''' if the location is in a range of kilometres (see below) | * '''km:''' the distance, in kilometres, of the intersection from the start of the road. Only enter numerical values, as these will be used to automatically generate a Miles column. Use '''km2''' if the location is in a range of kilometres (see below) | ||
* '''road:''' road that the article route intersects at this junction. This should be formatted as follows:<route shield/s> <wikilinked Road Name> <ndash> <wikilinked destinations> | * '''road:''' road that the article route intersects at this junction. This should be formatted as follows:<route shield/s> <wikilinked Road Name> <ndash> <wikilinked destinations> | ||
** Generate route shields using {{tl|AUshield}} | ** Generate route shields using {{tl|AUshield}} | ||
| − | ** If there are multiple roads ( | + | ** If there are multiple roads (i.e. intersecting road changes name at this intersection), use a slash (/) to separate roads |
** Generate an ndash (–) and wikilinked destinations using {{tl|ACTcity}} | ** Generate an ndash (–) and wikilinked destinations using {{tl|ACTcity}} | ||
** If destinations are to be entered manually, an ndash can be generated by the HTML character code &ndash; | ** If destinations are to be entered manually, an ndash can be generated by the HTML character code &ndash; | ||
| Line 136: | Line 139: | ||
*{{tl|jctgap}}, a template for generating a row for a gap in the route | *{{tl|jctgap}}, a template for generating a row for a gap in the route | ||
*{{tl|jcttunnel}}, a template that generates rows for tunnel crossings | *{{tl|jcttunnel}}, a template that generates rows for tunnel crossings | ||
| − | *{{tl|jctrestarea}}, a template that generates rows for rest areas, service areas and the like | + | *{{tl|jctrestarea}}, a template that generates rows for rest areas, service areas and the like<!-- |
| − | |||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
[[Category:Highway templates]] | [[Category:Highway templates]] | ||
| + | |||
| + | }}</includeonly> | ||
Latest revision as of 10:52, 15 October 2020
| 40px | This is a documentation subpage for Template:ACTint. It contains usage information, categories and other content that is not part of the original template page. |
This is a template for generating an intersection or exit for an Australian Capital Territory road article. It is a member of the {{Jctint}} suite of templates.
Contents
General usage
This is the basic syntax you need to get a complete intersection table. Just copy and paste the code below:
{{AUSinttop|sub1=District}}
{{ACTint
|district=
|dspan=
|location=
|lspan=
|type=
|km=
|road=
|notes=
}}
{{Jctbtm}}
...and fill in the variables! For more entries, use this:
{{ACTint
|district=
|dspan=
|location=
|lspan=
|type=
|km=
|road=
|notes=
}}
Within a single district
If a road is entirely within a single district, you may omit the district column by using the following code:
{{AUSinttop|noLGA=yes}}
{{ACTint
|location=
|lspan=
|type=
|km=
|road=
|notes=
}}
{{Jctbtm}}
...and fill in the variables! For more entries, use this:
{{ACTint
|location=
|lspan=
|type=
|km=
|road=
|notes=
}}
Also note that the table should be preceded by line explaining the omitted column, such as:
The entire freeway is in the Gungahlin District.
Parameters
For the above parameters, here's what you should fill in:
- district: The name of the district the intersection is in. Full wiki markup is required.
- dspan: number of rows the district spans. If value=1, omit this parameter. If set, district should be omitted from the other rows it spans.
- location: the suburb the intersection is in. The text entered here will be wikilinked to <text entered>, Australian Capital Territory, so if the intersection is in multiple suburbs, you must use location_special (see below). For areas outside the designated suburbs, use
|location=none - lspan: number of rows the location spans—if value=1, omit this parameter. If set, location (or location_special) should be omitted from the other rows it spans
- type: use to specify a shading for that intersection's row. The permitted types are:
- closed: for highway intersections or interchanges that are now closed to traffic
- mplex or concur: for a route multiplexing terminus or concurrencies.
- unbuilt: for unbuilt roadway intersections/interchanges.
- incomplete: for incomplete intersections/interchanges where all movements are not supported (Northbound exit and southbound entrance, etc.)
- hov for interchanges that are only for High occupancy vehicle lanes
- toll or etc. for an interchange where tolls or electronic toll are collected
- Note: If the type parameter is used, the table must include a colour key at the bottom of the table. Use the
|keys=parameter in {{jctbtm}} to generate a compliant legend.
- km: the distance, in kilometres, of the intersection from the start of the road. Only enter numerical values, as these will be used to automatically generate a Miles column. Use km2 if the location is in a range of kilometres (see below)
- road: road that the article route intersects at this junction. This should be formatted as follows:<route shield/s> <wikilinked Road Name> <ndash> <wikilinked destinations>
- Generate route shields using {{AUshield}}
- If there are multiple roads (i.e. intersecting road changes name at this intersection), use a slash (/) to separate roads
- Generate an ndash (–) and wikilinked destinations using {{ACTcity}}
- If destinations are to be entered manually, an ndash can be generated by the HTML character code –
- notes: any notes regarding that junction. This must include an explanation for any usage of the type-generated shading.
Additional Parameters
In addition to those in the basic syntax, the following parameters may be used:
- location_special: (replaces location) the location where the junction is located - use for custom entries only, such as when an intersection is in multiple suburbs. Requires full wiki markup.
- km2: use as the second measurement (km being the first) if an there are intersections with a road spread out between two points along the article route.
- uspan: number of rows the units spans—if value=1, omit this parameter. If set, km and km2) should be omitted from the other rows it spans.
- rcspan: number of columns the road cell spans-if value=1, omit this parameter. Set
|rcspan=2 to generate a left aligned cell that spans both the destination and notes column. Do not use for features such as a rivers and bridges - see place below. Important: if using this parameter, set|notes=none to avoid the notes cell spilling over the edge of the table. - nspan: number of rows the notes spans—if value=1, omit this parameter. If set, notes should be omitted from the other rows it spans.
- place or bridge or tunnel: a feature, such as a bridge or tunnel. This will appear in a multicolumn cell (centre aligned) that spans the destinations and notes columns. Full wiki markup is required for links, otherwise the result will be plain text.
- pspan or bspan or tspan: number of rows the above multicolumn cell spans-if value=1, omit this parameter.
Any parameter which is empty can be omitted.
See also
- {{jctname}}, {{AUshield}} and {{ACTcity}}, are templates used to generate route shields and wikilinked destinations
- {{AUSinttop}}, a template that generates a MOS:RJL-compliant header for the junction list
- {{jctbtm}}, a template that closes the junction list table
- {{jcttop}}, {{CTint}}, {{ILint}}, {{INint}}, {{MIint}}, {{MNint}}, {{NHint}}, {{NYint}}, {{OHint}}, {{PAint}}, {{VTint}}, {{WIint}} are other templates in the {{Jctint}} suite, used in American road junction lists
- {{jctbridge}}, a template that generates rows for bridge crossings
- {{jctco}}, a template that generates rows for counties without junctions
- {{jctgap}}, a template for generating a row for a gap in the route
- {{jcttunnel}}, a template that generates rows for tunnel crossings
- {{jctrestarea}}, a template that generates rows for rest areas, service areas and the like