Template:LanguageBar: Difference between revisions
Jump to navigation
Jump to search

Consider discussing changes on the talk page before implementing them.
No edit summary |
(pagelang) |
||
Line 3: | Line 3: | ||
<onlyinclude><includeonly>{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title}}}|noerror}}|{{DISPLAYTITLE:{{SUBPAGENAME}}|noreplace}}}} | <onlyinclude><includeonly>{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title}}}|noerror}}|{{DISPLAYTITLE:{{SUBPAGENAME}}|noreplace}}}} | ||
{{LanguageBar/call | {{LanguageBar/call | ||
| BASENAME = {{{base|{{#ifeq: {{ | | BASENAME = {{{base|{{#ifeq: {{pagelang}} | en | {{PAGENAME}} | {{#titleparts: {{PAGENAME}} | 25 | 2 }} }}}}} | ||
| USEDLANG = {{ | | USEDLANG = {{pagelang}} | ||
}}[[Category:{{if empty|{{Language name|{{lcfirst:{{ROOTPAGENAME}} }}|en}}|English}}]]</onlyinclude></includeonly> | }}[[Category:{{if empty|{{Language name|{{lcfirst:{{ROOTPAGENAME}} }}|en}}|English}}]]</onlyinclude></includeonly> |
Revision as of 12:26, 13 July 2024

This template is used on many pages and changes may be widely noticed.
Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage.Consider discussing changes on the talk page before implementing them.
The above documentation is transcluded from Template:LanguageBar/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.