Template:Lang: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) m (don't change title in default case) |
||
Line 1: | Line 1: | ||
{{ModernBug|Creating language pages for categories using a special block is broken, since there is no colon before the link, which is why the link to create a language page turns into a category. So far, this block is disabled for this namespace.}}{{ModernNote|This template is gradually approaching the role of an deprecated template. {{tl|MultiPage}} will be used instead.}}{{doc}}<onlyinclude><includeonly><!-- | {{ModernBug|Creating language pages for categories using a special block is broken, since there is no colon before the link, which is why the link to create a language page turns into a category. So far, this block is disabled for this namespace.}}{{ModernNote|This template is gradually approaching the role of an deprecated template. {{tl|MultiPage}} will be used instead.}}{{doc}}<onlyinclude><includeonly><!-- | ||
-->{{DISPLAYTITLE:{{#if:{{{notitle|}}} | -->{{#if:{{{notitle|}}}{{{title|}}}{{{$title|}}}{{{select|}}}|{{DISPLAYTITLE:{{#if:{{{notitle|}}} | ||
|<span style=display:none>{{{notitle}}}</span> | |<span style=display:none>{{{notitle}}}</span> | ||
|{{#if:{{{$title|}}} | |{{#if:{{{$title|}}} | ||
Line 7: | Line 7: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->}} | -->}}}} | ||
<div style="display:flex; gap:4px; width:calc(100% + 4px);{{#if:{{{notitle|}}}|background-color:#262626;|}}user-select:none; pointer-events: none; position:absolute; z-index:100; top:calc({{#if:{{{otherlang2_mainpage|}}}|0px|-17px}} - {{{up|{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|1}}|{{#titleparts:{{FULLPAGENAME}}|1|-1}}|0|9}}}}}px); left:-4px"><!-- | <div style="display:flex; gap:4px; width:calc(100% + 4px);{{#if:{{{notitle|}}}|background-color:#262626;|}}user-select:none; pointer-events: none; position:absolute; z-index:100; top:calc({{#if:{{{otherlang2_mainpage|}}}|0px|-17px}} - {{{up|{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|1}}|{{#titleparts:{{FULLPAGENAME}}|1|-1}}|0|9}}}}}px); left:-4px"><!-- | ||
Revision as of 04:07, 23 February 2023
Template:ModernBugTemplate:ModernNote
The above documentation is transcluded from Template:Lang/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.