Template:Language/archives/MultiPage: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
1416006136 (talk | contribs) m (right-margin for the drop-down list of adding translations) |
||
Line 1: | Line 1: | ||
{{Doc}} | {{MultiPage}}{{Doc}} | ||
<includeonly><onlyinclude>{{#switch:{{{1}}} | <includeonly><onlyinclude>{{#switch:{{{1}}} | ||
|#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"><!-- | |#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"><!-- | ||
Line 38: | Line 38: | ||
--><div style=pointer-events:all> | --><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="{{int:allmessages-filter-translate}}"><div style="position: relative; top:-2px;">[[File:Icon-translate.png|link=|12px]]</div></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="{{int:allmessages-filter-translate}}"><div style="position: relative; top:-2px;">[[File:Icon-translate.png|link=|12px]]</div></span></center> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-content" style="display:none; overflow:hidden; 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; right:calc( | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-content" style="display:none; overflow:hidden; 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; right:calc(52px + {{{margin-right|0px}}}); top:26px"><div style="overflow-y:auto;max-height:200px;padding:2px 6px;"><span class=plainlinks> | ||
<div>{{En}} {{#ifexist:{{{page|{{FULLPAGENAME}}}}}/en|[[{{{page|}}}/en|{{ucfirst:{{#language:en}}}}]]|[{{fullurl:{{{page|{{FULLPAGENAME}}}}}/en|action=edit}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:en}}}}</span>]}}</div> | <div>{{En}} {{#ifexist:{{{page|{{FULLPAGENAME}}}}}/en|[[{{{page|}}}/en|{{ucfirst:{{#language:en}}}}]]|[{{fullurl:{{{page|{{FULLPAGENAME}}}}}/en|action=edit}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:en}}}}</span>]}}</div> | ||
<div>{{Ca}} {{#ifexist:{{{page|{{FULLPAGENAME}}}}}/ca|[[{{{page|}}}/ca|{{ucfirst:{{#language:ca}}}}]]|[{{fullurl:{{{page|{{FULLPAGENAME}}}}}/ca|action=edit&preload={{urlencode:{{{page|{{FULLPAGENAME}}}}}}}/en}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:ca}}}}</span>]}}</div> | <div>{{Ca}} {{#ifexist:{{{page|{{FULLPAGENAME}}}}}/ca|[[{{{page|}}}/ca|{{ucfirst:{{#language:ca}}}}]]|[{{fullurl:{{{page|{{FULLPAGENAME}}}}}/ca|action=edit&preload={{urlencode:{{{page|{{FULLPAGENAME}}}}}}}/en}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:ca}}}}</span>]}}</div> |
Revision as of 07:57, 4 April 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.