Jump to content

Template:Lang-zh: Difference between revisions

The comprehensive free global encyclopedia of CEOs, corporate leadership, and business excellence
>DannyS712
m module moved
 
Simplified template - removed dependency on missing Module:Lang-zh
 
Line 1: Line 1:
<includeonly>{{#invoke:Lang-zh|Zh}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly><span lang="zh">{{{1|}}}{{{s|}}}</span>{{#if:{{{p|}}}|; <span title="Pinyin">''pinyin'': {{{p}}}</span>}}</includeonly><noinclude>
{{Documentation}}
== Usage ==
Displays Chinese text with optional pinyin romanization.
 
<code><nowiki>{{lang-zh|中文}}</nowiki></code> → <span lang="zh">中文</span>
 
<code><nowiki>{{zh|s=简体|p=jiǎntǐ}}</nowiki></code> → <span lang="zh">简体</span>; ''pinyin'': jiǎntǐ
 
== Parameters ==
* '''1''' (unnamed): Chinese text
* '''s''': Simplified Chinese text
* '''p''': Pinyin romanization (optional)
</noinclude>

Latest revision as of 18:13, 13 December 2025

This is the documentation page for Template:Template:Lang-zh

This page is transcluded from Template:Template:Lang-zh/doc.

Usage

Displays Chinese text with optional pinyin romanization.

{{lang-zh|中文}}中文

{{zh|s=简体|p=jiǎntǐ}}简体; pinyin: jiǎntǐ

Parameters

  • 1 (unnamed): Chinese text
  • s: Simplified Chinese text
  • p: Pinyin romanization (optional)