Template:LC zh/zh: Difference between revisions
From Test Wiki
Content deleted Content added
Created page with "包含命名空间名称的页面标题:" |
Created page with "== 追踪分类 ==" |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 87: | Line 87: | ||
}}|lang = wikitext|inline = }} |
}}|lang = wikitext|inline = }} |
||
包含伪命名空间名称的页面标题: |
|||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
For page titles containing pseudo namespace name: |
|||
</div> |
|||
* {{#tag:syntaxhighlight|{{tmpl|0={{((}}LC zh{{!}}lang = {{((}}{lang{{!}}}{{))}}{{!}}hide_ns = {{(((}}nsp{{!}}{{)))}}{{!}}type = T{{!}}ns = <$1>{{!}}ns_2 = <$2>{{!}}zh-hans = <$3>{{!}}zh-hant = <$4>{{))}} |
* {{#tag:syntaxhighlight|{{tmpl|0={{((}}LC zh{{!}}lang = {{((}}{lang{{!}}}{{))}}{{!}}hide_ns = {{(((}}nsp{{!}}{{)))}}{{!}}type = T{{!}}ns = <$1>{{!}}ns_2 = <$2>{{!}}zh-hans = <$3>{{!}}zh-hant = <$4>{{))}} |
||
| Line 112: | Line 110: | ||
=== H - 章节标题 === |
=== H - 章节标题 === |
||
标题可以为不同的语言变体自动生成多个描点。 |
|||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
Headings can automatically generate multiple anchors for different language variants. |
|||
</div> |
|||
* {{#tag:syntaxhighlight|{{tmpl|0=== {{((}}LC zh{{!}}lang = {{((}}{lang{{!}}}{{))}}{{!}}type = H{{!}}zh-hans = <$1>{{!}}zh-hant = <$2>{{))}} == |
* {{#tag:syntaxhighlight|{{tmpl|0=== {{((}}LC zh{{!}}lang = {{((}}{lang{{!}}}{{))}}{{!}}type = H{{!}}zh-hans = <$1>{{!}}zh-hant = <$2>{{))}} == |
||
| Line 146: | Line 142: | ||
* <syntaxhighlight lang="wikitext" inline>{{LC zh|lang = {{{lang|}}}|type = C|zh-hans = 关于|zh-hant = 關於}}</syntaxhighlight> → {{LC zh|lang = {{{lang|}}}|type = C|zh-hans = 关于|zh-hant = 關於}} |
* <syntaxhighlight lang="wikitext" inline>{{LC zh|lang = {{{lang|}}}|type = C|zh-hans = 关于|zh-hant = 關於}}</syntaxhighlight> → {{LC zh|lang = {{{lang|}}}|type = C|zh-hans = 关于|zh-hant = 關於}} |
||
<span id="Integration_with_other_templates_and_modules"></span> |
|||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
与其他模板和模块整合 |
|||
== Integration with other templates and modules == |
|||
</div> |
|||
* {{ll|Template:Localized link}} |
* {{ll|Template:Localized link}} |
||
* {{ll|Template:Translatable template name}} |
* {{ll|Template:Translatable template name}} |
||
| Line 156: | Line 151: | ||
== 注释 == |
== 注释 == |
||
如果该模板属于用户页模板、全域公告等无法通过字词转换器转换的类型,建议使用{{ll|Template:Conversion-zh}}替代此模板。 |
|||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
If the template is a user page template, global announcement, etc., which cannot be converted using Language Converter, you should consider using {{ll|Template:Conversion-zh}} instead of this template. |
|||
</div> |
|||
<span id="Template_data"></span> |
<span id="Template_data"></span> |
||
| Line 168: | Line 161: | ||
{{#invoke:LC zh/testcases|run_tests}} |
{{#invoke:LC zh/testcases|run_tests}} |
||
<span id="Tracking_categories"></span> |
|||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
== |
== 追踪分类 == |
||
</div> |
|||
* [[:Category:Pages using LC zh with unknown or deprecated arguments]] |
* [[:Category:Pages using LC zh with unknown or deprecated arguments]] |
||
}} |
}} |
||