Changes

Jump to: navigation, search

Template:Languages/Lang

674 bytes added, 16:38, 2 December 2006
Attempt to simplify Template:Languages
<onlyinclude>{{#ifexist: {{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{2}}} | <span lang="{{{2|unknown}}}">[[{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/{{{2}}}|{{#language:{{{2}}}}}]]</span> &nbsp;&bull;&nbsp;}}</onlyinclude>
== Usage ==

This template is designed to simplify [[Template:Languages]], by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

* '''Language code''' (e.g. fr)
* (optional) '''Page name''' - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template.
Anonymous user

Navigation menu