Difference between revisions of "Template:Infobox road/shield/CHN"

From blackwiki
Jump to navigation Jump to search
imported>Fredddie
(add Guangdong)
imported>Fredddie
(agnostic to province)
 
Line 5: Line 5:
 
|Ex|Expwy={{#ifexist:Media:China Expwy G{{#invoke:String|replace|source={{{route}}}|pattern=%D|replace=|plain=false}} sign no name.svg|China Expwy G{{#invoke:String|replace|source={{{route}}}|pattern=%D|replace=|plain=false}} sign no name.svg|none}}
 
|Ex|Expwy={{#ifexist:Media:China Expwy G{{#invoke:String|replace|source={{{route}}}|pattern=%D|replace=|plain=false}} sign no name.svg|China Expwy G{{#invoke:String|replace|source={{{route}}}|pattern=%D|replace=|plain=false}} sign no name.svg|none}}
 
<!-- Provincial-level expressways and highways -->
 
<!-- Provincial-level expressways and highways -->
|S={{#switch:{{{province|}}}
+
|S={{#ifexist:Media:{{{province}}} Expwy S{{{route}}} sign no name.svg|{{{province}}} Expwy S{{{route}}} sign no name.svg|Shoudou {{{route}}}(China).svg}}
<!-- Guangdong -->
 
|Guangdong={{#ifexist:Media:Guangdong Expwy S{{{route}}} sign no name.svg|Guangdong Expwy S{{{route}}} sign no name.svg|Shoudou {{{route}}}(China).svg}}
 
<!-- Jiangsu -->
 
|Jiangsu={{#ifexist:Media:Jiangsu Expwy S{{{route}}} sign no name.svg|Jiangsu Expwy S{{{route}}} sign no name.svg|Shoudou {{{route}}}(China).svg}}
 
<!-- Shanghai -->
 
|Shanghai={{#ifexist:Media:Shanghai Expwy S{{{route}}} sign no name.svg|Shanghai Expwy S{{{route}}} sign no name.svg|Shoudou {{{route}}}(China).svg}}
 
<!-- Zhejiang -->
 
|Yunnan={{#ifexist:Media:Yunnan Expwy S{{{route}}} sign no name.svg|Yunnan Expwy S{{{route}}} sign no name.svg|none}}
 
|Zhejiang={{#ifexist:Media:Zhejiang Expwy S{{{route}}} sign no name.svg|Zhejiang Expwy S{{{route}}} sign no name.svg|none}}
 
|#default={{#ifexist:Media:Shoudou {{{route}}}(China).svg|Shoudou {{{route}}}(China).svg|none}}
 
}}
 
 
|AH=AH{{{route}}}-CN.png
 
|AH=AH{{{route}}}-CN.png
 
|#default=none
 
|#default=none
 
}}
 
}}

Latest revision as of 02:11, 28 October 2020

none