Template:Help/Lang code

From The SBN Wiki
Revision as of 14:25, 15 July 2015 by Raugh (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

en

PD Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Project:PD help/Copying for instructions. PD
This template is to be transcluded in public domain help pages.

Return the language code of current page.

Example

When transcluded in,

  • "Page" yield "en"
  • "Page/sub" yield "en"
  • "Page/en" yield "en"
  • "Page/fr" yield "fr"
  • "Page/ja" yield "ja"
  • "Page/th" yield "th"
  • title: Help:Deleting a page --> en
  • title: Help:Deleting a page/th --> th
  • title: Help:Deleting a page/subpage --> en
  • title: Help:Deleting a page/subpage/th --> th