Difference between revisions of "Template:Languages"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
m (Tweaking example)
Line 68: Line 68:
 
== Example ==
 
== Example ==
  
The following example represent the text needed to add the language bar to a) this page and b) a translated page:
+
The following example represent the text needed to add the language bar to a) this page and b) a translated version of this page:
 
   a) <nowiki>{{Languages}}</nowiki>
 
   a) <nowiki>{{Languages}}</nowiki>
 
   b) <nowiki>{{Languages|Template:Languages}}</nowiki>
 
   b) <nowiki>{{Languages|Template:Languages}}</nowiki>

Revision as of 11:52, 11 June 2011

Languages: English

Usage

{{Languages|PageName}}

PageName

The PageName parameter is the name of the original English page to display language links for.

This parameter can be omitted on the original English page but, because subpages are not active for all namespaces, must be included on the translated page.

Example

The following example represent the text needed to add the language bar to a) this page and b) a translated version of this page:

 a) {{Languages}}
 b) {{Languages|Template:Languages}}

See Also