Template:Province-level divisions of China: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 29: | Line 29: | ||
* [[{{{prefix|}}} Shanxi{{{suffix|}}}|Shanxi]] |
* [[{{{prefix|}}} Shanxi{{{suffix|}}}|Shanxi]] |
||
* [[{{{prefix|}}} Sichuan{{{suffix|}}}|Sichuan]] |
* [[{{{prefix|}}} Sichuan{{{suffix|}}}|Sichuan]] |
||
* [[{{{prefix|}}} ''Taiwan Province, People's Republic of China{{{suffix|}}}|Taiwan]]¹'' |
* [[{{{prefix|}}} ''[[Taiwan Province, People's Republic of China{{{suffix|}}}|Taiwan]]¹'' |
||
* [[{{{prefix|}}} Yunnan{{{suffix|}}}|Yunnan]] |
* [[{{{prefix|}}} Yunnan{{{suffix|}}}|Yunnan]] |
||
* [[{{{prefix|}}} Zhejiang{{{suffix|}}}|Zhejiang]] |
* [[{{{prefix|}}} Zhejiang{{{suffix|}}}|Zhejiang]] |
Revision as of 16:41, 18 October 2015
{{Navbox |name = Province-level divisions of China |title = Provincial-level divisions of the People's Republic of China |state = {{{state}}} |navbar = Tnavbar |listclass = hlist |image =
|group1 = Provinces |list1 =
- Anhui
- Fujian
- Gansu
- Guangdong
- Guizhou
- Hainan
- Hebei
- Heilongjiang
- Henan
- Hubei
- Hunan
- Jiangsu
- Jiangxi
- Jilin
- Liaoning
- Qinghai
- Shaanxi
- Shandong
- Shanxi
- Sichuan
- [[ Taiwan¹
- Yunnan
- Zhejiang
|group2 = Autonomous regions |list2 =
|group3 = Municipalities |list3 =
|group4 = Special administrative regions |list4 =
|belowstyle = font-size:80%; |below = Note: Taiwan is claimed as a province, but is administered by the Republic of China (see Political status of Taiwan). Hong Kong and Macau are claimed as provincial-level divisions, but as listed on the constitutional documents and joint declarations their statuses are better to be interpreted as first-level divisions instead of provincial-level divisions.
}}
This template allows for the quick creation of a navigational template for any group of articles which contains the names of the China Province-level divisions. It uses {{Navbox}}
to create the navigation box.
Blank syntax
{{Province-level divisions of China
<!--passed through to Template:Navbox-->
| name =
| state =
| title =
| titlestyle =
| bodystyle =
| groupstyle =
<!--specific to Template:Province-level divisions of China-->
| prefix =
| suffix =
| exclude-wdc =
| exclude-ter =
| exclude-isl =
}}
Parameters
Mandatory
- name
- Mandatory when creating a new template.
One of the following combinations is needed to create the links:
- prefix
- Text to be placed before the China province-level division name.
- suffix
- Places text after the China province-level division name.
- prefix and suffix
- Places text before and after the China province-level division name.
Optional
- state
- This template's initial visibility currently defaults to
autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Province-level divisions of China|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Province-level divisions of China|state=expanded}}
will show the template expanded, i.e. fully visible.
- title
- Text that appears centered in the titlebar (the top bar). This is optional because the use of either prefix, suffix or both will automatically generate a title if the title parameter is not supplied. This parameter is not automatically wiki-linked.
Examples
Changing the navbox title
{{Province-level divisions of China
| title = [[History of China]] by political division
| prefix = History of
}}
{{Navbox |name = Province-level divisions of China |title = History of China by political division |state = uncollapsed |navbar = Tnavbar |listclass = hlist |image =
|group1 = Provinces |list1 =
- Anhui
- Fujian
- Gansu
- Guangdong
- Guizhou
- Hainan
- Hebei
- Heilongjiang
- Henan
- Hubei
- Hunan
- Jiangsu
- Jiangxi
- Jilin
- Liaoning
- Qinghai
- Shaanxi
- Shandong
- Shanxi
- Sichuan
- [[History of Taiwan¹
- Yunnan
- Zhejiang
|group2 = Autonomous regions |list2 =
|group3 = Municipalities |list3 =
|group4 = Special administrative regions |list4 =
|belowstyle = font-size:80%; |below = Note: Taiwan is claimed as a province, but is administered by the Republic of China (see Political status of Taiwan). Hong Kong and Macau are claimed as provincial-level divisions, but as listed on the constitutional documents and joint declarations their statuses are better to be interpreted as first-level divisions instead of provincial-level divisions.
}}
See also