Difference between revisions of "Template:GetLang"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
<onlyinclude>{{#if: {{#titleparts: {{PAGENAME}}||-1}}|{{#titleparts: {{PAGENAME}}||-1}}|}}</onlyinclude><noinclude>
+
<onlyinclude>{{#if: {{#titleparts: {{PAGENAME}}|-1|1}}|{{#titleparts: {{PAGENAME}}|-1|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:03, 5 March 2014


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