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

Consider discussing changes on the talk page before implementing them.
(pagelang) |
(show namespace name) |
||
Line 1: | Line 1: | ||
{{High-use}} | {{High-use}} | ||
{{doc}} | {{doc}} | ||
<onlyinclude><includeonly>{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title}}}|noerror}}|{{DISPLAYTITLE:{{SUBPAGENAME}}|noreplace}}}} | <onlyinclude><includeonly>{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title}}}|noerror}}|{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{SUBPAGENAME}}|noreplace}}}} | ||
{{LanguageBar/call | {{LanguageBar/call | ||
| BASENAME = {{{base|{{#ifeq: {{pagelang}} | en | {{PAGENAME}} | {{#titleparts: {{PAGENAME}} | 25 | 2 }} }}}}} | | BASENAME = {{{base|{{#ifeq: {{pagelang}} | en | {{PAGENAME}} | {{#titleparts: {{PAGENAME}} | 25 | 2 }} }}}}} | ||
| USEDLANG = {{pagelang}} | | 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 18:31, 14 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.