ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Template:Zh-Hans"

From ModEnc
Jump to: navigation, search
(Situation if not in main namespace)
(optimization)
 
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|25|-1}}|Zh-Hans|<!--display nothing if this page is Chinese Sim page-->|
* '''Language''': <!--
+
* '''Language''': [[{{FULLPAGENAME}}/zh-Hans|简体汉语]]}}</includeonly><noinclude>
-->{{#ifeq:{{NAMESPACE}}|<!--If this page's namespace equal to NULL (that means it's in main namespace)
 
-->|[[zh-Hans/{{PAGENAME}}|简体汉语]]<!--/PAGENAME to /zh-Hans/PAGENAME (if in main namespace)
 
-->|[[{{FULLPAGENAME}}/zh-Hans|简体汉语]]<!--/PAGENAME to /PAGENAME/zh-Hans (if not in main namespace)
 
-->}}</includeonly><noinclude>
 
 
{{Doc}}[[Category:Language Link]]</noinclude>
 
{{Doc}}[[Category:Language Link]]</noinclude>

Latest revision as of 06:24, 19 August 2021

Template-info.png Template Documentation  [View] [Edit] [History] [Help] [Refresh]

此模板将创建一个指向此页面对应的简体汉语页面的链接。

  • 在创建对应的简体汉语页面之后,应在该页面底部加入指向此页面对应的英文页面的模板{{En}}


This Template will create a internal link to the Chinese Simplify page corresponding to this page.

  • You should add the template {{En}} link to the English page corresponding to this page at the bottom after created the corresponding simplified Chinese page.