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

Consider discussing changes on the talk page before implementing them.
(should use subpage name as title by default so that prefix isn't shown in title if no title specified) |
(force only if specified else subpagename) |
||
Line 1: | Line 1: | ||
{{High-use}} | {{High-use}} | ||
{{doc}} | {{doc}} | ||
<onlyinclude><includeonly>{{DISPLAYTITLE:{{{title|{{SUBPAGENAME}}}} | <onlyinclude><includeonly>{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title}}}|noerror}}|{{DISPLAYTITLE:{{SUBPAGENAME}}|noreplace}}}} | ||
{{LanguageBar/call | {{LanguageBar/call | ||
| BASENAME = {{{base|{{#ifeq: {{LanguageBar/uselang}} | en | {{PAGENAME}} | {{#titleparts: {{PAGENAME}} | 25 | 2 }} }}}}} | | BASENAME = {{{base|{{#ifeq: {{LanguageBar/uselang}} | en | {{PAGENAME}} | {{#titleparts: {{PAGENAME}} | 25 | 2 }} }}}}} | ||
| USEDLANG = {{LanguageBar/uselang}} | | USEDLANG = {{LanguageBar/uselang}} | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Revision as of 23:28, 12 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.