Rabu, 18 November 2026
10:02 WIB
TERKINI
Bandar Lampung Agenda Strategis Pemprov Lampung 6 November 2026: Revitalisasi Stadion Jadi Prioritas Bandar Lampung Harga Beras di Pasar Pasir Gintung Bandar Lampung Merangkak Naik, Stok Aman Bandar Lampung Disdag Bandar Lampung Jamin Pasokan Beras Aman hingga Akhir 2026 Insight Komitmen Pembangunan Negeri, PTBA Sabet Penghargaan Kepatuhan PNBP ESDM 2026 Pemprov Lampung Gubernur Mirza Canangkan Mulang Maya Jadi Magnet Wisata Budaya Unggulan Lampung Tuba Barat Mewujudkan Haji: Pemkab Tubaba dan BSI Ajak Masyarakat Menabung Sejak Dini Lampung Timur Bupati Ela Dekatkan Diri dengan Siswa, Pastikan Kualitas Pendidikan dan Gizi di Lampung Timur Tuba Barat Kemitraan Strategis Pemkab Tubaba dan Kejari: Wujudkan Tata Kelola Pemerintahan Akuntabel Bandar Lampung Mantan Ketua DPRD Lampung Bersaksi dalam Sidang Arinal Djunaidi Bandar Lampung Senator Bustami Zainudin dan Staf DPD Lampung Ikuti Program Cek Kesehatan Gratis Bandar Lampung Agenda Strategis Pemprov Lampung 6 November 2026: Revitalisasi Stadion Jadi Prioritas Bandar Lampung Harga Beras di Pasar Pasir Gintung Bandar Lampung Merangkak Naik, Stok Aman Bandar Lampung Disdag Bandar Lampung Jamin Pasokan Beras Aman hingga Akhir 2026 Insight Komitmen Pembangunan Negeri, PTBA Sabet Penghargaan Kepatuhan PNBP ESDM 2026 Pemprov Lampung Gubernur Mirza Canangkan Mulang Maya Jadi Magnet Wisata Budaya Unggulan Lampung Tuba Barat Mewujudkan Haji: Pemkab Tubaba dan BSI Ajak Masyarakat Menabung Sejak Dini Lampung Timur Bupati Ela Dekatkan Diri dengan Siswa, Pastikan Kualitas Pendidikan dan Gizi di Lampung Timur Tuba Barat Kemitraan Strategis Pemkab Tubaba dan Kejari: Wujudkan Tata Kelola Pemerintahan Akuntabel Bandar Lampung Mantan Ketua DPRD Lampung Bersaksi dalam Sidang Arinal Djunaidi Bandar Lampung Senator Bustami Zainudin dan Staf DPD Lampung Ikuti Program Cek Kesehatan Gratis

Templat:Lang-zh

templat Wikimedia

Bagikan:
Dokumentasi templatlihatsuntingriwayatsegarkan
Templat ini menggunakan Lua:
WarningTemplat ini digunakan pada sekitar11.000 halaman dan perubahannya kemungkinan memicu perubahan massal pada semua halaman yang menggunakannya. Uji cobalah di subhalaman /bak pasir atau /kasus uji Templat:Lang-zh, atau subhalaman pengguna Anda. Pertimbangkan untuk mendiskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya.

Perihal

There were once a large number of Chinese Romanization templates: {{zh-stp}} could display simplified and traditional characters and Hanyu Pinyin; {{zh-cpwl}} could display general Han characters, pinyin and Wade–Giles, and literal translations; {{zh-full}} and its sub-templates allowed more control over display order, etc..

This template was created to combine these into one template with all needed functionality. It can display (and link to) general, simplified, or traditional Han characters; literal translation; Zhuyin (Bopomofo); and the Hanyu Pinyin, Tongyong Pinyin, Wade–Giles, Jyutping, Cantonese Yale, Sidney Lau and Pe̍h-ōe-jī romanizations. It supports reordering the output for the most commonly used orders (other orderings can easily be added).

Penggunaan

Parameters

To use the template, start with {{Lang-zh}} and add any parameters you like, along with what you want to be displayed. The template will display all, and only, the parameters that you give it. The following parameters are supported:

ParameterDescriptionExample
|c=[1]Chinese{{Lang-zh|c=中国}}
Hanzi: 中国
|s=simplified Chinese[2]{{Lang-zh|s=中国}}
Hanzi: 中国
|t=traditional Chinese[2]{{Lang-zh|t=中國}}
Hanzi: 中國
|p= or |hp=pinyin[3]{{Lang-zh|p=zhōngguó}}
Pinyin: zhōngguó
|tp=Tongyong Pinyin{{Lang-zh|tp=Jhongguó}}
Tongyong Pinyin: Jhongguó
|w=Wade–Giles[4]{{Lang-zh|w=Chung1kuo2}}
Wade–Giles: Chung1kuo2
|j=Jyutping{{Lang-zh|j=Gwong2zau1}}
Jyutping: Gwong2zau1
|cy=Cantonese Yale{{Lang-zh|cy=Gwóngjāu}}
Yale (Bahasa Kanton): Gwóngjāu
|sl=Sidney Lau[4]{{Lang-zh|sl=Gwong2jau1}}
Sidney Lau: Gwong2jau1
|poj=Pe̍h-ōe-jī{{Lang-zh|poj=Tâi-tiong-kōan}}
Pe̍h-ōe-jī: Tâi-tiong-kōan
|zhu=Zhuyin Fuhao{{Lang-zh|zhu=ㄊㄠˊ ㄩㄢˊ ㄒㄧㄢˋ}}
Zhuyin Fuhao: ㄊㄠˊ ㄩㄢˊ ㄒㄧㄢˋ
|l=literal meaning{{Lang-zh|l=Middle Kingdom}}
harfiah: 'Middle Kingdom'
|labels=Display language labelsSee below
|links=Display language linksSee below
|first=Override default orderingSee below
|scase=use sentence caseSee below
  1. ↑ If only one unnamed parameter is given, it will be treated as if it were passed to |c=
  2. 1 2 If |s= and |t= are both given and are the same – if the simplified and traditional characters are identical – then they only appear once. E.g. {{Lang-zh|s=北京|t=北京}} gives Hanzi: 北京
  3. ↑ This will display as "Hanyu Pinyin", instead of just "pinyin", if Tongyong Pinyin is also included in the template; this way the two types of pinyin contrast and neither is treated as a "default".
  4. 1 2 Wade-Giles and SidneyLau romanizations use superscripted numbers for tones. The template automatically converts unsuperscripted tone numbers to superscripted ones.

Label options

Add |labels=no anywhere in the template to disable labels, so only the text supplied as parameters appears, separated by semicolons. This minimises the length of the template, and can be used when the template is used more than once to lessen its impact. Disabling labels also suppresses links.

{{Lang-zh|t=中國|s=中国|hp=Zhōngguó|tp=Jhongguó|labels=no}}
中国; 中國; Zhōngguó; Jhongguó

Add |links=no anywhere in the template to suppress label links. This is for preventing overlinking in an article or section where the template is used repeatedly.

{{Lang-zh|t=中國|s=中国|hp=Zhōngguó|tp=Jhongguó|links=no}}
Hanzi sederhana: 中国; Hanzi tradisional: 中國; Hanyu Pinyin: Zhōngguó; Tongyong Pinyin: Jhongguó

Add |scase=yes anywhere in the template to use sentence case, so the first label starts with a capital letter. This allows the template to be used at the start of a sentence for example.

{{Lang-zh|t=中國|s=中国|hp=Zhōngguó|tp=Jhongguó|scase=yes}}
Hanzi sederhana: 中国; Hanzi tradisional: 中國; Hanyu Pinyin: Zhōngguó; Tongyong Pinyin: Jhongguó

Ordering

The template can be given more than one value (for example, on the article China, it has s, t, hp, tp, and w). By default, when multiple parameters are given they will be shown in the same order as the above table: first Chinese characters (simplified, then traditional), then romanizations (starting with Hanyu and Tongyong Pinyin).

This order can be overridden using |first=. It accepts a comma delimited list of values, though currently only two are supported (more can be added if needed)

  • |first=t puts traditional Chinese before simplified Chinese, for example for Taiwan and Hong Kong topics
  • |first=j puts the Cantonese Romanizations, Jyutping and Yale, before pinyin Romanizations, for Hong Kong topics
  • They can be combined: either |first=j,t or |first=t,j can be used

Examples:

{{Lang-zh|t=臺北|s=台北|hp=Táiběi}}
Hanzi sederhana: 台北; Hanzi tradisional: 臺北; Pinyin: Táiběi
{{Lang-zh|t=臺北|s=台北|hp=Táiběi|first=t}}
Hanzi tradisional: 臺北; Hanzi sederhana: 台北; Pinyin: Táiběi
{{Lang-zh|t=九龍|s=九龙|p=Jiǔlóng|j=gau2lung4}}
Hanzi sederhana: 九龙; Hanzi tradisional: 九龍; Pinyin: Jiǔlóng; Jyutping: gau2lung4
{{Lang-zh|t=九龍|s=九龙|p=Jiǔlóng|j=gau2lung4|first=t, j}}
Hanzi tradisional: 九龍; Hanzi sederhana: 九龙; Jyutping: gau2lung4; Pinyin: Jiǔlóng

It is also possible to override the default ordering for an article, so traditional Chinese appears before simplified Chinese, i.e. so all uses of the template default to |first=t. This is done by adding the article to the list t1st at the top of Module:Zh, following the formatting of the articles already there. The module is edit-protected, so you may need to use {{edit template-protected}} on the module's talk page Module talk:Zh to request an article is added, if you cannot add it yourself.

TemplateData

ParameterKeteranganJenisStatus
TemplateData documentation used by VisualEditor and other tools
Lihat laporan penggunaan parameter bulanan untuk Template:Lang-zh.

TemplateData untuk Lang-zh

A template to facilitate consistent layout, proper formatting, categorisation and language labelling of Chinese text and its romanizations

Parameter templat

Templat ini lebih menyukai format parameter dalam satu baris.

Chinesec 1

Chinese characters

Contoh
大名
Katadisarankan
Simplified Chineses

Simplified Chinese characters

Contoh
中国
Katadisarankan
Traditional Chineset

Traditional Chinese characters

Contoh
中國
Katadisarankan
Pinyinp hp

Hanyu Pinyin Romanization (Mandarin)

Contoh
Zhōngguó
Katadisarankan
Tongyong Pinyintp

Tongyong Pinyin Romanization (Mandarin)

Kataopsional
Wade-Gilesw

Wade-Giles Romanization (Mandarin)

Kataopsional
Jyutpingj

[Cantonese] Jyutping Romanization

Kataopsional
Cantonese Yalecy

Cantonese Yale Romanization

Kataopsional
Sidney Lausl

Sidney Lau Cantonese Romanization

Kataopsional
Pe̍h-ōe-jīpoj

Pe̍h-ōe-jī Romanization for Hokkien

Kataopsional
Zhuyin Fuhaozhu

Zhuyin Fuhao/Bopomofo (typically for Mandarin)

Kataopsional
literallyl

literal [English] meaning

Contoh
Middle Country
Kataopsional
Show labels?labels

Whether or not to display labels. Use "no" to suppress them.

Bawaan
yes
Contoh
no
Kataopsional
Linkslinks

Whether or not to link to the article of the specific article of the language/script/romanization. Use "no" to suppress them.

Bawaan
yes
Contoh
no
Kataopsional
orderingfirst

't', 'j' or 't, j' to put traditional Chinese and/or Cantonese Romanizations first

Contoh
"t, j"
Kataopsional
sentence casescase

If this parameter is non-empty, the first label is capitalized, i.e. can start a sentence.

Kataopsional

Kategori ditambahkan

Lihat pula

Templat:Templat Unicode

Dokumentasi di atas ditransklusikan dari Templat:Lang-zh/doc. (sunting | riwayat)
Penyunting dapat melakukan uji coba pada halaman bak pasir (buat | cermin) dan kasus uji (buat) templat ini.
Mohon tambahkan kategori pada subhalaman /doc. Subhalaman templat ini.
Konten disalin dari Wikipedia Bahasa Indonesia (lisensi CC BY-SA) Lihat versi asli di Wikipedia

Rekomendasi Pilihan