Difference between revisions of "Template:Jctint/core"
Jump to navigation
Jump to search
imported>Rschen7754 m (Reverted edits by Rschen7754 (talk) to last version by Imzadi1979) |
imported>Scott5114 (Updating to /sandbox version on behalf of User:Imzadi1979) |
||
| Line 1: | Line 1: | ||
| − | < | + | <tr style="text-align:left"> |
| − | </ | + | {{#if:{{{unitary|}}}|<td align={{{unitary_align|left}}} colspan=3>{{{unitary}}}</td>|<!-- |
| + | |||
| + | -->{{#ifeq:{{{primary_topic|}}}|no|<!-- | ||
| + | |||
*/LOCATIONS/* | */LOCATIONS/* | ||
**/almost always disambiguated (USA)/** | **/almost always disambiguated (USA)/** | ||
-->{{#if:{{{regionspan|}}}|<td rowspan={{{regionspan|1}}}>{{#if:{{{region_special|}}}|{{{region_special}}}|[[{{{region}}}]]}}</td>| }} | -->{{#if:{{{regionspan|}}}|<td rowspan={{{regionspan|1}}}>{{#if:{{{region_special|}}}|{{{region_special}}}|[[{{{region}}}]]}}</td>| }} | ||
{{#if:{{{indep_city|}}}|<td rowspan={{{sub2span|1}}} colspan=2>[[Independent city|City]] of [[{{{indep_city}}}, {{{indep_city}}}|{{{indep_city}}}]]<br><small>{{{sub1_note|}}}</small>| | {{#if:{{{indep_city|}}}|<td rowspan={{{sub2span|1}}} colspan=2>[[Independent city|City]] of [[{{{indep_city}}}, {{{indep_city}}}|{{{indep_city}}}]]<br><small>{{{sub1_note|}}}</small>| | ||
| − | {{#if:{{{indep_city_special|}}}|<td rowspan={{{sub2span|1}}} colspan=2>{{{indep_city_special}}}<br><small>{{{sub1_note|}}}</small>| | + | {{#if:{{{indep_city_special|}}}|<td rowspan={{{sub2span|1}}} colspan=2 align={{{indep_city_align|left}}}>{{{indep_city_special}}}<br><small>{{{sub1_note|}}}</small>| |
{{#if:{{{sub1|}}}|<td rowspan={{{sub1span|1}}}>[[{{{sub1}}} {{{sub1name}}},_{{{region}}}{{!}}{{{sub1}}}]]<br><small>{{{sub1_note|}}}</small></td>|{{#if:{{{sub1_special|}}}|<td rowspan={{{sub1span|1}}}>{{{sub1_special}}}<br><small>{{{sub1_note|}}}</small></td>|}}}}}} | {{#if:{{{sub1|}}}|<td rowspan={{{sub1span|1}}}>[[{{{sub1}}} {{{sub1name}}},_{{{region}}}{{!}}{{{sub1}}}]]<br><small>{{{sub1_note|}}}</small></td>|{{#if:{{{sub1_special|}}}|<td rowspan={{{sub1span|1}}}>{{{sub1_special}}}<br><small>{{{sub1_note|}}}</small></td>|}}}}}} | ||
{{#ifeq:{{{sub2}}}|none|<td> </td>| | {{#ifeq:{{{sub2}}}|none|<td> </td>| | ||
| Line 14: | Line 17: | ||
-->{{#if:{{{regionspan|}}}|<td rowspan={{{regionspan|1}}}>{{#if:{{{region_special|}}}|{{{region_special}}}|[[{{{region}}}]]}}</td>| }} | -->{{#if:{{{regionspan|}}}|<td rowspan={{{regionspan|1}}}>{{#if:{{{region_special|}}}|{{{region_special}}}|[[{{{region}}}]]}}</td>| }} | ||
{{#if:{{{indep_city|}}}|<td rowspan={{{sub2span|1}}} colspan=2>[[Independent city|City]] of [[{{{indep_city}}}]]<br><small>{{{sub1_note|}}}</small>| | {{#if:{{{indep_city|}}}|<td rowspan={{{sub2span|1}}} colspan=2>[[Independent city|City]] of [[{{{indep_city}}}]]<br><small>{{{sub1_note|}}}</small>| | ||
| − | {{#if:{{{indep_city_special|}}}|<td rowspan={{{sub2span|1}}} colspan=2>{{{indep_city_special}}}<br><small>{{{sub1_note|}}}</small>| | + | {{#if:{{{indep_city_special|}}}|<td rowspan={{{sub2span|1}}} colspan=2 align={{{indep_city_align|left}}}>{{{indep_city_special}}}<br><small>{{{sub1_note|}}}</small>| |
{{#if:{{{sub1|}}}|<td rowspan={{{sub1span|1}}}>[[{{{sub1}}}{{#if:{{{sub1name|}}}| {{{sub1name}}}{{!}}{{{sub1}}}|}}]]<br><small>{{{sub1_note|}}}</small></td>|{{#if:{{{sub1_special|}}}|<td rowspan={{{sub1span|1}}}>{{{sub1_special}}}<br><small>{{{sub1_note|}}}</small></td>|}}}}}} | {{#if:{{{sub1|}}}|<td rowspan={{{sub1span|1}}}>[[{{{sub1}}}{{#if:{{{sub1name|}}}| {{{sub1name}}}{{!}}{{{sub1}}}|}}]]<br><small>{{{sub1_note|}}}</small></td>|{{#if:{{{sub1_special|}}}|<td rowspan={{{sub1span|1}}}>{{{sub1_special}}}<br><small>{{{sub1_note|}}}</small></td>|}}}}}} | ||
{{#ifeq:{{{sub2}}}|none|<td> </td>| | {{#ifeq:{{{sub2}}}|none|<td> </td>| | ||
| − | {{#if:{{{sub2|}}}|<td rowspan={{{sub2span|1}}}>[[{{{sub2}}}]]</td>|{{#if:{{{sub2_special|}}}|<td rowspan={{{sub2span|1}}}>{{{sub2_special}}}</td>|}}}}}}}}}}<!-- | + | {{#if:{{{sub2|}}}|<td rowspan={{{sub2span|1}}}>[[{{{sub2}}}]]</td>|{{#if:{{{sub2_special|}}}|<td rowspan={{{sub2span|1}}}>{{{sub2_special}}}</td>|}}}}}}}}}}}}<!-- |
| − | */ | + | */ UNITS AND EXIT NUMBERS /* |
| + | -->{{#if:{{{altunit|}}}|<th scope="row" style="text-align: right;" rowspan={{#if:{{{auspan|}}}|{{{auspan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} align=right {{#ifeq:{{{1|}}}|old||{{#if:{{{type|}}}|{{#switch:{{{type}}} | ||
| + | |closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}}}>{{{altunit| }}}</th>|}}<!-- | ||
--> | --> | ||
| − | {{# | + | {{#ifeq:{{{unit|}}}|none||<th scope="row" style="text-align: right;" rowspan={{#if:{{{uspan|}}}|{{{uspan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} align=right {{#ifeq:{{{1|}}}|old||{{#if:{{{type|}}}|{{#switch:{{{type}}} |
| − | |closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}}}>{{{ | + | |closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}}}>{{{unit| }}}{{#if:{{{unit2|}}}|{{#if:{{{line|}}}|<hr/>|–<br/>}}{{{unit2}}}|}}</th>}}<!-- |
--> | --> | ||
| − | {{#ifeq:{{{unit|}}}|none||<td | + | {{#ifeq:{{{unit|}}}|none||<td bgcolor="#f2f2f2" rowspan={{#if:{{{uspan|}}}|{{{uspan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} align=right {{#ifeq:{{{1|}}}|old||}}>{{Jctint/conversion|1={{{unitdef|}}}|length={{{unit|}}}}}{{#if:{{{unit2|}}}|{{#if:{{{line|}}}|<hr/>|–<br/>}}{{Jctint/conversion|1={{{unitdef|}}}|length={{{unit2|}}}}}|}}</td>}}<!-- |
| − | | | + | -->{{#if:{{{place|}}}|<td rowspan={{#if:{{{pspan|}}}|{{{pspan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} colspan={{#switch:{{{1|}}}{{{2|}}}|exit=3|old=4|exitname=4|oldname=5|#default=2}} align=center>{{{place| }}}</td>|<!-- |
-->{{#ifeq:{{{1|}}}|old|<td rowspan={{#if:{{{ospan|}}}|{{{ospan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} bgcolor=#d3d3d3 align=center >{{{old| }}}</td>|}}<!-- | -->{{#ifeq:{{{1|}}}|old|<td rowspan={{#if:{{{ospan|}}}|{{{ospan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} bgcolor=#d3d3d3 align=center >{{{old| }}}</td>|}}<!-- | ||
-->{{#ifeq:{{{1|}}}|old|<td rowspan={{#if:{{{espan|}}}|{{{espan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} align=center {{#if:{{{type|}}}|{{#switch:{{{type}}} | -->{{#ifeq:{{{1|}}}|old|<td rowspan={{#if:{{{espan|}}}|{{{espan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} align=center {{#if:{{{type|}}}|{{#switch:{{{type}}} | ||
| Line 33: | Line 38: | ||
-->{{#ifeq:{{{2|}}}|name|<td rowspan={{#if:{{{namespan|}}}|{{{namespan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} {{#if:{{{type|}}}|{{#switch:{{{type}}} | -->{{#ifeq:{{{2|}}}|name|<td rowspan={{#if:{{{namespan|}}}|{{{namespan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} {{#if:{{{type|}}}|{{#switch:{{{type}}} | ||
|closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}>{{{name| }}}</td>|}}<!-- | |closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}>{{{name| }}}</td>|}}<!-- | ||
| + | |||
| + | */DESTINATIONS /* | ||
| + | |||
--><td colspan={{#if:{{{rcspan|}}}|{{{rcspan}}}|1}} rowspan={{#if:{{{rspan|}}}|{{{rspan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} {{#if:{{{type|}}}|{{#switch:{{{type}}} | --><td colspan={{#if:{{{rcspan|}}}|{{{rcspan}}}|1}} rowspan={{#if:{{{rspan|}}}|{{{rspan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} {{#if:{{{type|}}}|{{#switch:{{{type}}} | ||
|closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}>{{{road| }}}</td><!-- | |closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}>{{{road| }}}</td><!-- | ||
-->{{#ifeq:{{{notes|}}}|none||<td rowspan={{#if:{{{nspan|}}}|{{{nspan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} {{#if:{{{type|}}}|{{#switch:{{{type}}} | -->{{#ifeq:{{{notes|}}}|none||<td rowspan={{#if:{{{nspan|}}}|{{{nspan}}}|{{#if:{{{jspan|}}}|{{{jspan}}}|1}}}} {{#if:{{{type|}}}|{{#switch:{{{type}}} | ||
| − | |closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}>{{{notes| }}}</td>}}</tr> | + | |closed|concur|mplex|incomplete|unbuilt={{Jctint/{{{type}}}}}|#default=}}|}}>{{{notes| }}}</td>}}}}</tr> |
| − | + | {{#iferror:{{#expr: 0 + {{#if:{{{unit|}}}|{{#switch:{{{unit|}}}| |none=0|#default={{{unit|}}}}}|0}} + {{#if:{{{unit2|}}}|{{#switch:{{{unit2|}}}| |none=0|#default={{{unit2|}}}}}|0}} }}|[[Category:Jctint template using non-numeric parameter values|# {{PAGENAME}}]]|}}<!-- | |
| − | -->{{#ifeq:{{{indep_city|}}}|yes|[[Category:Jctint template listing independent cities|{{PAGENAME}}]]|}} | + | -->{{#ifeq:{{{indep_city|}}}|yes|[[Category:Jctint template listing independent cities|{{PAGENAME}}]]|}} |
| − | |||
| − | |||
| − | |||
Revision as of 03:36, 18 May 2012