Template:Help/Lang code

From Simulace.info
Revision as of 16:05, 6 June 2012 by Admin (talk | contribs) (1 revizi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

en Template:PD Help Page

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