Template:Languages: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<hr>Other languages: '''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]''' {{Languages/Lang_suffix|Fr|{{{1|}}}|
<hr>Other languages: '''[[{{{1|:{{NAMESPACE}}:{{PAGENAME}}}}}|English]]''' {{Languages/Lang_suffix|Fr|{{{1|}}}|
}}{{Languages/Lang_suffix|Zh-cn|{{{1|}}}|
}}{{Languages/Lang_suffix|Zh-cn|{{{1|}}}|
}}
}}
Line 5: Line 5:
=Usage=
=Usage=
Add the following code at the end of wiki page source code.
Add the following code at the end of wiki page source code.
<pre>{{languages}}</pre>
<pre>{{Languages}}</pre>
==Note==
This template is far from perfect, welcome improvement.
</noinclude>


<noinclude>
<hr>Other languages: [[zh-cn:{{PAGENAME}}|中文]] ...
</noinclude>
<noinclude>
=Usage=
Add the following code at the end of wiki page source code.
<pre>{{languages}}</pre>
==Note==
==Note==
This template is far from perfect, welcome improvement.
This template is far from perfect, welcome improvement.
</noinclude>
</noinclude>

Latest revision as of 17:04, 24 September 2012


Other languages: English {{#ifexist: {{#if: | | {{#if: Template | Template:}}Languages}}/Fr |  • {{#if: |français| français}}|}}

{{#ifexist: {{#if: | | {{#if: Template | Template:}}Languages}}/Zh-cn |  • {{#if: |中文(中国大陆)| 中文(中国大陆)}}|}}


Usage

Add the following code at the end of wiki page source code.

{{Languages}}

Note

This template is far from perfect, welcome improvement.