Template:Language/archives/MultiPage: Difference between revisions
Jump to navigation
Jump to search
+
mNo edit summary |
Tag: Undo |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#switch:{{{1}}} | {{MultiPage}}{{Doc}}<includeonly><onlyinclude>{{#switch:{{{1}}} | ||
|#default=<div style="display:flex; gap:4px; width:calc(100% + 4px);{{# | |#default=<div style="display:flex; gap:4px; width:calc(100% + 4px);{{#ifeq:{{FULLPAGENAME}}|Main Page|background-color:#262626;|}}user-select:none; pointer-events:none; position:absolute; z-index:100; top:calc({{#ifeq:{{FULLPAGENAME}}|Main Page|0|-17}}px - {{{up|{{#ifeq:{{ROOTPAGENAME}}|{{SUBPAGENAME}}|0|9}}}}}px); left:-4px"><!-- | ||
--><div style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:0;{{# | ↓ Flags ↓ | ||
--><div style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:0;{{#ifeq:{{FULLPAGENAME}}|Main Page|border-color:transparent;|}}border-radius:3px 3px 0; pointer-events:all; margin-left:auto"><!-- | |||
-->{{MultiPage/flag}}<!-- | -->{{MultiPage/flag}}<!-- | ||
-->{{MultiPage/flag|ca|Catalan|Català}}<!-- | -->{{MultiPage/flag|ca|Catalan|Català}}<!-- | ||
Line 28: | Line 30: | ||
-->{{MultiPage/flag|ka|Georgian|ქართული ენა}}<!-- | -->{{MultiPage/flag|ka|Georgian|ქართული ენა}}<!-- | ||
-->{{MultiPage/flag|he|Hebrew|עִברִית}}<!-- | -->{{MultiPage/flag|he|Hebrew|עִברִית}}<!-- | ||
--></div><!-- | |||
↓ Collabsible Content ↓ | |||
-- | --><div style=pointer-events:all> | ||
<center class="mw-customtoggle-content" style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:{{#if:{{{noborder|}}}|1|0}}; border-radius:{{#if:{{{noborder|}}}|3px|3px 3px 0 0}}"><span style="display:flex; justify-content:center; width:20px; height:100%" title="Translate this page">+</span></center> | <center class="mw-customtoggle-content" style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:{{#if:{{{noborder|}}}|1|0}}; border-radius:{{#if:{{{noborder|}}}|3px|3px 3px 0 0}}"><span style="display:flex; justify-content:center; width:20px; height:100%" title="Translate this page">+</span></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); user-select:text; position:absolute; z-index:1001; padding:2px 7px; right: | <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:1001; padding:2px 7px; right:26px; bottom:-215px;"> | ||
<div>[[File:En.png|link=]] [[/en|English]]</div> | <div>[[File:En.png|link=]] [[/en|English]]</div> | ||
<div>[[File:Ca.png|link=]] [[/ca|Català]]</div> | <div>[[File:Ca.png|link=]] [[/ca|Català]]</div> | ||
Line 62: | Line 67: | ||
--><div style=pointer-events:all> | --><div style=pointer-events:all> | ||
<center style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:{{#if:{{{noborder|}}}|1|0}}; border-radius:{{#if:{{{noborder|}}}|3px|3px 3px 0 0}}"><!-- | <center style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:{{#if:{{{noborder|}}}|1|0}}; border-radius:{{#if:{{{noborder|}}}|3px|3px 3px 0 0}}"><!-- | ||
--><span class=plainlinks style="display:flex; justify-content:center; width:20px; height:100%; font-size:10px">[[File:Icon-edit-filled.png|sub| | --><span class=plainlinks style="display:flex; justify-content:center; width:20px; height:100%; font-size:10px">[[File:Icon-edit-filled.png|sub|12px|link={{fullurl:{{FULLPAGENAME}}/{{uselang}}|action=edit}}]]</span> | ||
</center><!-- | </center><!-- | ||
--></div> | --></div> | ||
</div><!-- | </div><!-- | ||
-->{{#if: {{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/{{uselang}}}} | {{/{{uselang}}}} | {{#if: {{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/en}} | ↓ Language subpage not found ↓ | ||
-->{{#if:{{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/{{uselang}}}} | |||
|{{/{{uselang}}}} | |||
|{{#if:{{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/en}} | |||
|<div style="background-color:rgba(255,167,38,.05); border:1px solid rgba(255,167,38,.3); border-left:4px solid #FFA726; border-radius:3px; padding:10px; margin-bottom:6px>{{MultiPage/strings|OtherLangSubpageNotFound}}</div> {{/en}} | |||
|<div style="background-color:rgba(255,167,38,.05); border:1px solid rgba(255,167,38,.3); border-left:4px solid #FFA726; border-radius:3px; padding:10px; margin-bottom:6px">{{MultiPage/strings|LangSubpageNotFound}}</div> | |||
}}<!-- | |||
-->}} {{DISPLAYTITLE:{{{title|{{FULLPAGENAME}}}}}|noerror}} | |||
|title={{{title|{{FULLPAGENAME}}}}} | |title={{{title|{{FULLPAGENAME}}}}} | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Revision as of 01:50, 15 February 2023
{{/Template:Uselang}}
The above documentation is transcluded from Template:Language/archives/MultiPage/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.