Template:Infobox road/name/CHN
This documentation is for Template:Infobox road/name/CHN and Template:Infobox road/translation/CHN, two templates designed for the use of Template:Infobox road with Chinese road articles.
These two templates store the name of the expressway (in English and in Simplified Chinese, the translation, respectively) based on their number. Each Chinese road has a letter-number combination (e.g. G2) to represent it, as well as a name, usually referring to a distinctive feature of the roadway or indicating the termini points (e.g. Beijing–Shanghai Expressway, between the cities of Beijing and Shanghai). As per naming conventions for Chinese roadways, the name is to be left in its full form, with the termini indicated, not an abbreviated name, such as Jinghu Expressway. The abbreviated name is indicated in the alternate name parameter on the infobox on the article page.
Provincial-level expressways
|S={{#switch:{{{province}}}
}}
|Shanghai={{#switch:{{{route|}}}
|1=Yingbin|2=Shanghai–Luchaogang|3=Shanghai–Fengxian|4=Shanghai–Jinshan|5=Shanghai–Jiading|19=Xinnong–Jinshanwei|20=Shanghai Outer Ring|26=Shanghai–Changzhou|32=Shanghai–Jiaxing–Huzhou|36=Tinglin–Fengjing
Province names are to be written out in their full name, stripped of any words such as "province" or "autonomous region" (e.g. Xinjiang, not Xinjiang Uyghur Autonomous Region; Shanghai, not Hu).
National-level expressways
National-level expressways are categorized as type Ex or Expwy. It is important to note that these templates make a distinction between national-level roadways (in Chinese, 国道), type G, and expressways (in Chinese, 高速公路), type Ex or Expwy.
City ring expressways
For all national-level city ring expressways, a unique two to four letter identifier is tagged on to the end of the number in order to distinguish between them so the correct names shields can be rendered by the template. This is needed as some city ring expressways have identical numbers (e.g. G1501 or G2001). The letters tagged on to the end of the number are based on the first letter of the Hanyu Pinyin spelling of the city which the expressway serves, without tones. For example:
- 1501SH for Shanghai
- 0601HHHT for Hohhot (because Hohhot's Hanyu Pinyin spelling is Huhehaote)