Difference between revisions of "Template:GetLang"

From PC-BSD Wiki
Jump to: navigation, search
(advantage of error not needed - update to correct & match versioned handbook section)
Line 1: Line 1:
<onlyinclude>{{#if: {{#titleparts: {{PAGENAME}}|1|3}}|{{#titleparts: {{PAGENAME}}|1|3}}|}}</onlyinclude><noinclude>
+
<onlyinclude>{{#if: {{#titleparts: {{PAGENAME}}||-1}}|{{#titleparts: {{PAGENAME}}||-1}}|}}</onlyinclude><noinclude>
  
 
The idea is to obtain the language of the current page.
 
The idea is to obtain the language of the current page.
 
[[category:templates]]
 
[[category:templates]]
 
</noinclude>
 
</noinclude>

Revision as of 19:00, 5 March 2014

GetLang

The idea is to obtain the language of the current page.