Template:Lang: Difference between revisions
Jump to navigation
Jump to search
1
m (Fix it) |
(Experiment) |
||
Line 1: | Line 1: | ||
{{ModernTodo|Fix the creation of language pages. At the moment, any language page is considered the main one, i.e., if you use the prepared links to create a language page on an already created language page (for example, on the German version of the article), the selected language (for example, Polish) will create a page '''''MyPage:de:pl''''' (must be '''''MyPage:pl''''').}}{{lang}}{{doc}}<onlyinclude><includeonly><!-- | {{ModernTodo|Fix the creation of language pages. At the moment, any language page is considered the main one, i.e., if you use the prepared links to create a language page on an already created language page (for example, on the German version of the article), the selected language (for example, Polish) will create a page '''''MyPage:de:pl''''' (must be '''''MyPage:pl''''').}}{{lang|title=Hello, World!}}{{doc}}<onlyinclude><includeonly><!-- | ||
-->{{DISPLAYTITLE:{{#if:{{{notitle|}}} | -->{{DISPLAYTITLE:{{#if:{{{notitle|}}} | ||
|<span style=display:none>{{{notitle}}}</span> | |<span style=display:none>{{{notitle}}}</span> | ||
|{{#if:{{{$title|}}} | |{{#if:{{{$title|}}} | ||
|<kbd style=color:#CAC8C6>{{{$title}}}</kbd> | |<kbd style=color:#CAC8C6>{{{$title}}}</kbd> | ||
|{{{title | |{{{title}}} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->}} | -->}} | ||
<div style=" | <div style="display:flex; gap:4px; width:calc(100% + 4px); user-select:none; pointer-events: none; position:absolute; top:calc(-17px - {{{up|{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|1}}|{{#titleparts:{{FULLPAGENAME}}|1|-1}}|0|9}}}}}px); left: -4px;><!-- | ||
-- | --><!-- | ||
--><div style=" | --><div style="height:19px; background-color: #262626; border:1px solid #65635F; border-bottom:0; border-radius:3px 3px 0 0; pointer-events: all; margin-left: auto"><!-- | ||
-->{{en|1|link1={{{1|{{FULLPAGENAME}}}}}|link2={{{2|}}}|link3={{{3|}}}|link4={{{4|}}}|link5={{{5|}}}|link6={{{6|}}}|link7={{{7|}}}|link8={{{8|}}}}}<!-- | -->{{en|1|link1={{{1|{{FULLPAGENAME}}}}}|link2={{{2|}}}|link3={{{3|}}}|link4={{{4|}}}|link5={{{5|}}}|link6={{{6|}}}|link7={{{7|}}}|link8={{{8|}}}}}<!-- | ||
Line 62: | Line 62: | ||
-->{{he|1|link1={{{1|{{FULLPAGENAME}}}}}|link2={{{2|}}}|link3={{{3|}}}|link4={{{4|}}}|link5={{{5|}}}|link6={{{6|}}}|link7={{{7|}}}|link8={{{8|}}}}}</div><!-- | -->{{he|1|link1={{{1|{{FULLPAGENAME}}}}}|link2={{{2|}}}|link3={{{3|}}}|link4={{{4|}}}|link5={{{5|}}}|link6={{{6|}}}|link7={{{7|}}}|link8={{{8|}}}}}</div><!-- | ||
--><div style= | --><div style=pointer-events:all> | ||
<center class="mw-customtoggle-content" style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:0; border-radius:3px 3px 0 0 | <center class="mw-customtoggle-content" style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:0; border-radius:3px 3px 0 0"><!-- | ||
--><span style="display:flex; justify-content:center; width:20px; height:100%" title="Translate this page">+</span> | --><span style="display:flex; justify-content:center; width:20px; height:100%" title="Translate this page">+</span> | ||
</center> | </center> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-content" style="max-height:200px; overflow-y:auto; background:#404040; border:1px solid rgba(255, 255, 255, 0.1); border-radius:4px; box-shadow: 0 10px 20px rgb(0,0,0,.3); position:absolute; z-index:999; padding:2px 7px; right:0px; bottom:-215px;"> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-content" style="max-height:200px; overflow-y:auto; background:#404040; border:1px solid rgba(255, 255, 255, 0.1); border-radius:4px; box-shadow: 0 10px 20px rgb(0,0,0,.3); user-select:text; position:absolute; z-index:999; padding:2px 7px; right:0px; bottom:-215px;"> | ||
<div>{{ca}} [[{{FULLPAGENAME}}:ca|Catalan]]</div> | <div>{{ca}} [[{{FULLPAGENAME}}:ca|Catalan]]</div> | ||
<div>{{cz}} [[{{FULLPAGENAME}}:cz|Czech]]</div> | <div>{{cz}} [[{{FULLPAGENAME}}:cz|Czech]]</div> |
Revision as of 22:51, 9 February 2023

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.