Changes

Template:Languages

93 bytes added, 01:22, 13 October 2006
no edit summary
<noinclude>
== Template ==
</noincludeonlyinclude><div style="vertical-align: middle; clear: both;">
----
[[Image:Geographylogo.png|25px|]]
Translations: &nbsp;
{{
#ifexist: {{{1}}}/de | <span lang="de">[[{{{1}}}/de|Deutsch{{#language:de}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/es | <span lang="es">[[{{{1}}}/es|Español{{#language:es}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/fi | <span lang="fi">[[{{{1}}}/fi|Suomi{{#language:fi}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/fr | <span lang="fr">[[{{{1}}}/fr|Français{{#language:fr}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/it | <span lang="it">[[{{{1}}}/it|Italiano{{#language:it}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/he | <span lang="he" dir="rtl">[[{{{1}}}/he|?????{{#language:he}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/ja | <span lang="ja">[[{{{1}}}/ja|日本語{{#language:ja}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/ko | <span lang="ko">[[{{{1}}}/ko|한국어{{#language:ko}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/no | <span lang="no">[[{{{1}}}/no|Norsk nynorsk{{#language:no}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/pl | <span lang="pl">[[{{{1}}}/pl|Polski{{#language:pl}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/pt | <span lang="pt">[[{{{1}}}/pt|Português{{#language:pt}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/ru | <span lang="ru">[[{{{1}}}/ru|Русский{{#language:ru}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/sq | <span lang="sq">[[{{{1}}}/sq|Shqip{{#language:sq}}]]</span> &nbsp;&bull;&nbsp;
}}{{
#ifexist: {{{1}}}/zh | <span lang="zh">[[{{{1}}}/zh|中文{{#language:zh}}]]</span>
}}</span>
----
</div><noinclude/onlyinclude
== Usage ==
For example, on the Main Page you would include the text <code><nowiki>{{{Languages|Main Page}}}</nowiki></code>, both on [[Main Page]] itself, and on each of its language sub-pages. The template automatically creates links to any language sub-pages that exist, e.g. <tt>Main Page/ja<tt>, <tt>Main Page/fr</tt>, and ignores non-existant languages
 
 
== Supported languages ==
 
This shows you the name of each language's sub-page (using ''Main Page'' as an example). Other languages may be added easily as necessary. Please use the appropriate [[meta:List of Wikipedias|prefix, as used on Wikipedia]] when adding a new language. Please do ''not'' add languages for which no pages exist yet, as this will increase the time needed to include the template without adding any benefit (languages are only displayed to the user when the relevant page exists).
| Main Page'''/zh''' || Chinese
|}
 
== Example ==
{{Languages|MediaWiki}}
 
</noinclude>
Anonymous user