Difference between revisions of "Template:CAint/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Fredddie
(try it with the regular core)
imported>Fredddie
(testing again)
Line 20: Line 20:
 
|unitdef={{#if:{{{mile|}}}{{{columns|}}}|mi|}}
 
|unitdef={{#if:{{{mile|}}}{{{columns|}}}|mi|}}
 
|uspan={{{mspan|}}}
 
|uspan={{{mspan|}}}
|altunit={{#if:{{{mile|}}}{{{columns}}}||{{{postmile|&nbsp;}}}{{#if:{{{postmile2|}}}|{{#if:{{{line|}}}|<hr>|–<br/>}}{{{postmile2}}}}}}}
+
|altunit={{#if:{{{mile|}}}{{{columns|}}}||{{#ifeq:{{{postmile|}}}|none||{{{postmile|&nbsp;}}}{{#if:{{{postmile2|}}}|{{#ifeq:{{{line|}}}|yes|<hr>|–<br>}}{{{postmile2}}}}}}}
 
|auspan={{{pmspan|}}}
 
|auspan={{{pmspan|}}}
 
|old={{{old|}}}
 
|old={{{old|}}}

Revision as of 01:37, 18 July 2012

This template is a sub-template of {{jctint/core}} that is customized for California. See {{jctint/core}} for usage instructions. Note: use postmile= instead of mile= for the mileages. In addition to this, use pmspan to span the postmile column.{{Jctint/core |1= |region=California |region_special= |regionspan= |primary_topic=no |sub1= |sub1name=County |sub1span= |sub1_special= |sub1dab= |sub1_note= |sub2= |sub2span= |sub2_special= |indep_city_special= |type= |unit=none |unit2= |unitdef= |uspan= |altunit=  Category:United States highway templates