Template:Language/archives/MultiPage/call: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Nescius moved page Template:MultiPage/call to Template:Language/archives/MultiPage/call) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 43: | Line 43: | ||
--><div style=pointer-events:all> | --><div style=pointer-events:all> | ||
<center class="mw-customtoggle-LanguageFlags-of-multipage" 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-LanguageFlags-of-multipage" 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-LanguageFlags-of-multipage" 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; {{text-dir|ltr=right|rtl=left}}:calc({{#if:{{{altEditButton|}}}|26px|52px}} + {{{margin- | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-LanguageFlags-of-multipage" 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; {{text-dir|ltr=right|rtl=left}}:calc({{#if:{{{altEditButton|}}}|26px|52px}} + {{{margin-right|0px}}}); top:26px"><div style="overflow-y:auto;max-height:200px;padding:2px 6px;"><span class=plainlinks><!-- RECOMMENDED: PLEASE SORT THE LANGUAGE CODE FROM A-Z (except ENGLISH). --> | ||
<div>{{Flag|en}} {{#if:{{{no-en-subpage|}}}|{{#ifeq:{{{USEDLANG}}}|en|'''{{#language:en}}'''|[{{fullurl:{{FULLPAGENAME}}|uselang=en}} {{#language:en}}]}}|{{#if:{{{en-page-exists}}}|[[{{{NSCOLONNEEDED}}}{{{en-pagename}}}|{{ucfirst:{{#language:en}}}}]]|[{{fullurl:{{{en-pagename}}}|action=edit&preload={{urlencode:Template:MultiPage/preload}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:en}}}}</span>]}}}}</div> | <div>{{Flag|en}} {{#if:{{{no-en-subpage|}}}|{{#ifeq:{{{USEDLANG}}}|en|'''{{#language:en}}'''|[{{fullurl:{{FULLPAGENAME}}|uselang=en}} {{#language:en}}]}}|{{#if:{{{en-page-exists}}}|[[{{{NSCOLONNEEDED}}}{{{en-pagename}}}|{{ucfirst:{{#language:en}}}}]]|[{{fullurl:{{{en-pagename}}}|action=edit&preload={{urlencode:Template:MultiPage/preload}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:en}}}}</span>]}}}}</div> | ||
<div>{{Flag|ca}} {{#if:{{{ca-page-exists}}}|[[{{{NSCOLONNEEDED}}}{{{ca-pagename}}}|{{ucfirst:{{#language:ca}}}}]]|[{{fullurl:{{{ca-pagename}}}|action=edit&preload={{urlencode:{{#if:{{{en-page-exists}}}|{{{en-pagename}}}|Template:MultiPage/preload}}}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:ca}}}}</span>]}}</div> | <div>{{Flag|ca}} {{#if:{{{ca-page-exists}}}|[[{{{NSCOLONNEEDED}}}{{{ca-pagename}}}|{{ucfirst:{{#language:ca}}}}]]|[{{fullurl:{{{ca-pagename}}}|action=edit&preload={{urlencode:{{#if:{{{en-page-exists}}}|{{{en-pagename}}}|Template:MultiPage/preload}}}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:ca}}}}</span>]}}</div> | ||
Line 83: | Line 83: | ||
-->{{#if:{{{altEditButton|}}}||<div style="pointer-events:all; {{#if:{{{margin-right|}}}|margin-right:{{{margin-right}}}}}"> | -->{{#if:{{{altEditButton|}}}||<div style="pointer-events:all; {{#if:{{{margin-right|}}}|margin-right:{{{margin-right}}}}}"> | ||
<center class="mw-customtoggle-editbutton-of-multipage" 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%"><div style="position: relative; top:-1px;">[[File:Icon-edit.png|link={{#ifexist:{{{ | <center class="mw-customtoggle-editbutton-of-multipage" 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%"><div style="position: relative; top:-1px;">[[File:Icon-edit.png|link={{#ifexist:{{{EDITPAGE}}}|{{fullurl:{{{EDITPAGE}}}|action=edit}}|{{fullurl:{{{EDITPAGE}}}|action=edit&preload={{urlencode:{{#ifexist:{{FULLPAGENAME}}/en|{{FULLPAGENAME}}/en|Template:MultiPage/preload}}}}}}}}|14px|{{int:edit}}]] | ||
</div></span></center> | </div></span></center> | ||
</div>}}<!-- | </div>}}<!-- | ||
Line 93: | Line 93: | ||
--><span class=plainlinks style="display:flex; justify-content:center; width:20px; height:100%; font-size:10px" title="{{int:actions}}"><div style="position: relative; top:-3.5px; color:rgb(255,255,255);">'''…'''</div></span> | --><span class=plainlinks style="display:flex; justify-content:center; width:20px; height:100%; font-size:10px" title="{{int:actions}}"><div style="position: relative; top:-3.5px; color:rgb(255,255,255);">'''…'''</div></span> | ||
</center> | </center> | ||
<div class="mw-collapsible mw-collapsed plainlinks" id="mw-customcollapsible-editaction-of-multipage" style="display:none; overflow:hidden; background:#404040; border:1px solid rgba(255,255,255,.1); border-radius:4px; box-shadow:0 10px 20px rgb(0,0,0,.3); user-select:none; position:absolute; z-index:1001; {{text-dir|ltr=right|rtl=left}}:calc(0px + {{{margin- | <div class="mw-collapsible mw-collapsed plainlinks" id="mw-customcollapsible-editaction-of-multipage" style="display:none; overflow:hidden; background:#404040; border:1px solid rgba(255,255,255,.1); border-radius:4px; box-shadow:0 10px 20px rgb(0,0,0,.3); user-select:none; position:absolute; z-index:1001; {{text-dir|ltr=right|rtl=left}}:calc(0px + {{{margin-right|0px}}}); top:26px"> | ||
<div style="overflow-y:auto; max-height:200px; padding:2px 6px"> | <div style="overflow-y:auto; max-height:200px; padding:2px 6px"> | ||
<div style="display:flex; align-items:center; margin-bottom:3px">[[File:Icon-visibility.png|18px|link={{{ | <div style="display:flex; align-items:center; margin-bottom:3px">[[File:Icon-visibility.png|18px|link={{{EDITPAGE}}}|{{int:view}}]] [{{fullurl:{{{EDITPAGE}}}}} <span style="color: white;">{{ucfirst:{{int:view}}}}</span>]</div> | ||
{{#if:{{{altEditButton|}}}|<div style="display:flex; align-items:center; margin-bottom:3px">[[File:Icon-edit.png|18px|link={{#ifexist:{{{ | {{#if:{{{altEditButton|}}}|<div style="display:flex; align-items:center; margin-bottom:3px">[[File:Icon-edit.png|18px|link={{#ifexist:{{{EDITPAGE}}}|{{fullurl:{{{EDITPAGE}}}|action=edit}}|{{fullurl:{{{EDITPAGE}}}|action=edit&preload={{urlencode:{{#if:{{{en-page-exists}}}|{{{en-pagename}}}|Template:MultiPage/preload}}}}}}}}|{{int:edit}}]] [{{#ifexist:{{{EDITPAGE}}}|{{fullurl:{{{EDITPAGE}}}|action=edit}}|{{fullurl:{{{EDITPAGE}}}|action=edit&preload={{urlencode:{{#if:{{{en-page-exists}}}|{{{en-pagename}}}|Template:MultiPage/preload}}}}}}}} <span style="color: white;">{{int:edit}}</span>]</div> | ||
}} | }} | ||
<div style="display:flex; align-items:center; margin-bottom:3px">[[File:Icon-history.png|18px|link={{fullurl:{{{ | <div style="display:flex; align-items:center; margin-bottom:3px">[[File:Icon-history.png|18px|link={{fullurl:{{{EDITPAGE}}}|action=history}}|{{int:history}}]] [{{fullurl:{{{EDITPAGE}}}|action=history}} <span style="color: white;">{{ucfirst:{{int:history}}}}]</div> | ||
<div style="display:flex; align-items:center; margin-bottom:3px">[[File:Icon-deblur.png|18px|link={{fullurl:{{FULLPAGENAME}}|action=purge}}|{{ucfirst:{{int:confirm-purge-title}}}}]] [{{fullurl:{{FULLPAGENAME}}|action=purge}} <span style="color: white;">{{MultiPage/strings|Purge}}</span>]</div> | <div style="display:flex; align-items:center; margin-bottom:3px">[[File:Icon-deblur.png|18px|link={{fullurl:{{FULLPAGENAME}}|action=purge}}|{{ucfirst:{{int:confirm-purge-title}}}}]] [{{fullurl:{{FULLPAGENAME}}|action=purge}} <span style="color: white;">{{MultiPage/strings|Purge}}</span>]</div> | ||
</div> | </div> | ||
Line 107: | Line 107: | ||
- Language subpage not found - | - Language subpage not found - | ||
-->{{#ifexist:{{{ | -->{{#ifexist:{{{EDITPAGE}}} | ||
| | | | ||
| <div style="display:flex; background-color:rgb(255 167 38 / 5%); border:1px solid rgba(255 167 38 / 30%); border-left:4px solid #FFA726; border-radius:3px; padding:10px; margin-bottom:6px">{{#if:{{{en-page-exists}}} | | <div style="display:flex; background-color:rgb(255 167 38 / 5%); border:1px solid rgba(255 167 38 / 30%); border-left:4px solid #FFA726; border-radius:3px; padding:10px; margin-bottom:6px">{{#if:{{{en-page-exists}}} | ||
Line 117: | Line 117: | ||
| {{#ifeq: {{{USEDLANG}}} | en | | {{#ifeq: {{{USEDLANG}}} | en | ||
| | | | ||
| {{#ifexist:{{{ | | {{#ifexist:{{{EDITPAGE}}} | {{{page|{{ {{{EDITPAGE}}} }} }}}<div style="display: none">}} | ||
}} | }} | ||
| {{#ifeq: {{{USEDLANG}}} | en | {{ {{{en-pagename}}} }} | {{#ifexist:{{{ | | {{#ifeq: {{{USEDLANG}}} | en | {{ {{{en-pagename}}} }} | {{#ifexist:{{{EDITPAGE}}} | {{{page|{{ {{{EDITPAGE}}} }} }}} }} }} }}</onlyinclude></includeonly> |