(Created page with "<includeonly>{{#switch: {{SUBPAGENAME}} | {{{1}}} |{{{1}}}/en =|#default=/{{#titleparts: {{SUBPAGENAME}} | | -1 }} }}</includeonly><noinclude> {{doc}} </noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{ | <includeonly>{{#switch: {{PAGENAME}} | {{{1}}} |{{{1}}}/en =|#default=/{{#titleparts: {{PAGENAME}} | | -1 }} }}</includeonly><noinclude> | ||
{{doc}} | {{doc}} | ||
</noinclude> | </noinclude> |
Revision as of 11:05, 4 December 2013
[edit] [ ] Template documentation
Usage
This template can be used to add the page to the relevant language category: it's appended to the category name and adds either nothing on the English page, or the language code on the translated pages; it needs the source page title (without namespace) as parameter. Example for the Communication page, to be included in the translatable page layout:
[[Category:MediaWiki Introduction{{Langcat subpage|Communication}}]] [[Category:MediaWiki Communication{{Langcat subpage|Communication}}]]
The template adds /en subpages to the /en categories to avoid double listing in the English (main) categories, although those categories will be mostly red links here on MediaWiki.org.
See Page translation administration for general markup instructions.
The above documentation is transcluded from Template:Langcat subpage/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |