Template:Language code of page

From Creative Commons
Revision as of 03:56, 21 April 2011 by Hamilton Abreu (talk | contribs) (Page with property Has language:: set)
Jump to: navigation, search

Template Language code of page returns the language code of a page. If no page name is passed in as the first parameter, the current page (in which it is being used) applies. If there is no language code, it returns empty.

Use

{{Language of page|optional page name}}

Examples

No page parameter

If no first parameter is passed in, the current page applies.

{{Language of page}}

Template:Language of page

Page with a language code

{{Language of page|Main Page}}

Template:Language of page

{{Language of page|Pt:Página principal}}

Template:Language of page

Page without property Has language:: set

If no first parameter is passed in, the current page applies.

{{Language of page|Template:Language of page}}

Template:Language of page