Changes

Template:Languages

923 bytes removed, 16:46, 2 December 2006
Simplified using Template:Languages/Lang, and made the page name optional.
'''[[{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]''' –
Translations:  
{{#ifexist: {{{1}}}Languages/Lang|de | <span lang="de">[[{{{1|}}}/de|{{#language:de}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|es | <span lang="es">[[{{{1|}}}/es|{{#language:es}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|fi | <span lang="fi">[[{{{1|}}}/fi|{{#language:fi}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|fr | <span lang="fr">[[{{{1|}}}/fr|{{#language:fr}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|it | <span lang="it">[[{{{1|}}}/it|{{#language:it}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|he | <span lang="he" dir="rtl">[[{{{1|}}}/he|{{#language:he}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|ja | <span lang="ja">[[{{{1|}}}/ja|{{#language:ja}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|ko | <span lang="ko">[[{{{1|}}}/ko|{{#language:ko}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|no | <span lang="no">[[{{{1|}}}/no|{{#language:no}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|pl | <span lang="pl">[[{{{1|}}}/pl|{{#language:pl}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|pt | <span lang="pt">[[{{{1|}}}/pt|{{#language:pt}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|ru | <span lang="ru">[[{{{1|}}}/ru|{{#language:ru}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|sq | <span lang="sq">[[{{{1|}}}/sq|{{#language:sq}}]]</span> &nbsp;&bull;&nbsp; }}{{#ifexist: {{{1}}}Languages/Lang|zh | <span lang="zh">[[{{{1|}}}/zh|{{#language:zh}}]]</span>}}</span>
----
</div></onlyinclude>
<nowiki>{{{Languages|PageName}}}</nowiki>
PageName should be the name of the English version of the page. Each non-English version is a sub-page of the English version, using the corresponding language code, and should include this template in the same way. This argument is optional, and if left out will be deduced from the current page.
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
Anonymous user