Difference between revisions of "Template:KSPROOTPAGE"
From Kerbal Space Program Wiki
(*translated pages for subpages should work now;) |
|||
Line 1: | Line 1: | ||
− | {{#titleparts:{{{1|{{PAGENAME}}}}}|{{#if: {{#titleparts:{{{1|{{PAGENAME}}}}}|-1}}|-}} | + | {{#titleparts:{{{1|{{PAGENAME}}}}}|{{#if: {{if lang|from={{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}|2=X}}|-1|}}}}<noinclude> |
== Usage == | == Usage == | ||
Line 5: | Line 5: | ||
{{protected|Interface stuff -- [[User:N3X15|N3X15]] ([[User talk:N3X15|talk]]) 05:21, 26 September 2012 (UTC)}} | {{protected|Interface stuff -- [[User:N3X15|N3X15]] ([[User talk:N3X15|talk]]) 05:21, 26 September 2012 (UTC)}} | ||
+ | Removes the language code from the page name. | ||
* {{tlx|KSPROOTPAGE|Main_Menu/ru}} → <code>Main_Menu</code> | * {{tlx|KSPROOTPAGE|Main_Menu/ru}} → <code>Main_Menu</code> | ||
* Does NOT include namespace. | * Does NOT include namespace. | ||
</noinclude> | </noinclude> |
Revision as of 00:01, 6 June 2013
KSPROOTPAGE
Usage
This page has been protected for the following reason:
Interface stuff -- N3X15 (talk) 05:21, 26 September 2012 (UTC)
Removes the language code from the page name.
-
{{KSPROOTPAGE|Main_Menu/ru}}
→Main_Menu
- Does NOT include namespace.