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

Difference between revisions of "Template:En"

From ModEnc
Jump to: navigation, search
(New template to create a internal link from Chinese Sim back to the English page.)
 
(Modify Category)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#switch:{{#titleparts:{{FULLPAGENAME}}|25|-1}}<!--Add language code below
* '''Language''': [[{{#titleparts:{{PAGENAME}}|25|2}}|English]]</includeonly><noinclude>
+
-->|zh-Hant|zh-Hans=
此模板将创建一个指向此页面对应的'''英语'''页面的链接。
+
* '''Language''': [[{{#titleparts:{{FULLPAGENAME}}|-1}}|English]]<!--
* 在创建模板'''<nowiki>{{</nowiki>[[Template:Zh-Hans|Zh-Hans]]<nowiki>}}</nowiki>'''指向的简体汉语页面之后,应在该页面底部加入此模板。
+
-->|#default=<!--Display nothing if this page isn't a non English page-->}}[[Category:Non English Page]]</includeonly><noinclude>
 
+
{{Doc}}[[Category:Language Link]]</noinclude>
 
 
This Template will create a internal link to the '''English''' page corresponding to this page.
 
* You should add this template at the bottom of the simplified Chinese page, which the template '''<nowiki>{{</nowiki>[[Template:Zh-Hans|Zh-Hans]]<nowiki>}}</nowiki>''' point to, after the page is created.</noinclude>
 

Latest revision as of 06:28, 19 August 2021

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

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

  • 在创建模板{{Zh-Hans}}指向的简体汉语页面之后,应在该页面底部加入此模板。


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

  • You should add this template at the bottom of the simplified Chinese page, which the template {{Zh-Hans}} point to, after the page is created.