Template:Province-level divisions of China: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary |
|||
(29 intermediate revisions by 20 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:navbox|navbox |
|||
{{Navbox |
|||
|name = {{{name|Province-level divisions of China}}} |
|name = {{{name|Province-level divisions of China}}} |
||
|title = |
|title = {{#if:{{{title|}}} | {{{title}}} | [[{{{prefix|}}} {{#if:{{{prefix|}}} |{{#if:{{{suffix|}}} | |the}} }} Province-level divisions of China|Provincial-level divisions of China{{{suffix|}}}]] }} |
||
|state = {{{state<includeonly>|autocollapse</includeonly>}}} |
|state = {{{state<includeonly>|autocollapse</includeonly>}}} |
||
|navbar = {{{navbar|Tnavbar}}} |
|navbar = {{{navbar|Tnavbar}}} |
||
|listclass = hlist |
|listclass = hlist |
||
|image = [[File: |
|image = [[File:China blank province map.svg|150px]] |
||
|group1 = [[Provinces of China|Provinces]] |
|group1 = [[Provinces of China|Provinces]] |
||
Line 29: | Line 29: | ||
* [[{{{prefix|}}} Shanxi{{{suffix|}}}|Shanxi]] |
* [[{{{prefix|}}} Shanxi{{{suffix|}}}|Shanxi]] |
||
* [[{{{prefix|}}} Sichuan{{{suffix|}}}|Sichuan]] |
* [[{{{prefix|}}} Sichuan{{{suffix|}}}|Sichuan]] |
||
⚫ | |||
* [[{{{prefix|}}} Yunnan{{{suffix|}}}|Yunnan]] |
* [[{{{prefix|}}} Yunnan{{{suffix|}}}|Yunnan]] |
||
* [[{{{prefix|}}} Zhejiang{{{suffix|}}}|Zhejiang]] |
* [[{{{prefix|}}} Zhejiang{{{suffix|}}}|Zhejiang]] |
||
Line 41: | Line 40: | ||
* [[{{{prefix|}}} Xinjiang{{{suffix|}}}|Xinjiang]] |
* [[{{{prefix|}}} Xinjiang{{{suffix|}}}|Xinjiang]] |
||
|group3 = [[Direct- |
|group3 = [[Direct-administered municipality|Direct-administered municipalities]] |
||
|list3 = |
|list3 = |
||
* [[{{{prefix|}}} Beijing{{{suffix|}}}|Beijing]] |
* [[{{{prefix|}}} Beijing{{{suffix|}}}|Beijing]] |
||
Line 48: | Line 47: | ||
* [[{{{prefix|}}} Tianjin{{{suffix|}}}|Tianjin]] |
* [[{{{prefix|}}} Tianjin{{{suffix|}}}|Tianjin]] |
||
|group4 = [[Special administrative |
|group4 = [[Special administrative regions of China|Special administrative regions]] |
||
|list4 = |
|list4 = |
||
* |
* [[{{{prefix|}}} Hong Kong{{{suffix|}}}|Hong Kong]] |
||
* |
* [[{{{prefix|}}} Macau{{{suffix|}}}|Macau]] |
||
|group5 = [[Political status of Taiwan|Disputed province]] |
|||
|list5 = |
|||
⚫ | |||
|belowstyle = font-size:80%; |
|belowstyle = font-size:80%; |
||
|below = |
|below = |
||
{{sup|1}} [[Free area of the Republic of China|Taiwan]] is [[Taiwan Province, People's Republic of China|claimed]] by the [[China|People's Republic of China]] but administered by the [[Taiwan|Republic of China]] (see [[political status of Taiwan]]). |
|||
}}<noinclude><!--Categories--> |
}}<noinclude><!--Categories--> |
||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
|||
[[Category:People's Republic of China province-level subdivision templates|province-level subdivision templates]] |
|||
</noinclude><noinclude>{{pp-template|small=yes}}</noinclude> |
Latest revision as of 03:17, 8 September 2024
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
}}