Template:Language/archives/MultiPage/sandbox: Difference between revisions
Jump to navigation
Jump to search
Warning:Do not use this template on template pages![Elaborate?] Instead use {{Autolang}} for translations, and for previewing languages on template pages, uses "{{Uselangflags}}" with noinclude.
1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
--><div style="height:19px; background-color:{{#ifeq:{{FULLPAGENAME}}|Main Page|transparent|#262626}}; border:1px solid #65635F; border-bottom:0;{{#ifeq:{{FULLPAGENAME}}|Main Page|border-color:transparent;|}}border-radius:3px 3px 0 0; pointer-events:all; margin-{{text-dir|ltr=left|rtl=right}}:auto"><!-- Remember to sort the language codes from A to Z. Don't forget to update the "Currently Supported Languages" section once you added new languages here. | --><div style="height:19px; background-color:{{#ifeq:{{FULLPAGENAME}}|Main Page|transparent|#262626}}; border:1px solid #65635F; border-bottom:0;{{#ifeq:{{FULLPAGENAME}}|Main Page|border-color:transparent;|}}border-radius:3px 3px 0 0; pointer-events:all; margin-{{text-dir|ltr=left|rtl=right}}:auto"><!-- Remember to sort the language codes from A to Z. Don't forget to update the "Currently Supported Languages" section once you added new languages here. | ||
-->{{MultiPage/flag}}<!-- English | -->{{#if:{{{no-en-subpage|}}}|{{#ifeq:{{uselang}}|en|<span style="background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.3); border-radius:2px; padding:0 1px; margin:1px"><span style="user-select:none; position:relative; top:-1px">{{Flag|en}}</span></span>[[Category:English]]|<span style="margin:1px; border:1px solid transparent"><span style="user-select:none; position:relative; top:-1px">{{Flag|en|link={{fullurl:{{FULLPAGENAME}}|uselang=en}}}}</span></span>}}</span>|{{MultiPage/flag}}}}<!-- English | ||
-->{{MultiPage/flag|ca|Catalan}}<!-- | -->{{MultiPage/flag|ca|Catalan}}<!-- | ||
-->{{MultiPage/flag|cs|Czech}}<!-- | -->{{MultiPage/flag|cs|Czech}}<!-- | ||
Line 45: | Line 45: | ||
<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; {{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> | <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; {{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> | ||
<div>{{Flag|en}} {{#ifexist:{{FULLPAGENAME}}/en|[[:{{FULLPAGENAME}}/en|{{ucfirst:{{#language:en}}}}]]|[{{fullurl:{{FULLPAGENAME}}/en|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:{{uselang}}|en|'''{{#language:en}}'''|[{{fullurl:{{FULLPAGENAME}}|uselang=en}} {{#language:en}}]}}|{{#ifexist:{{FULLPAGENAME}}/en|[[:{{FULLPAGENAME}}/en|{{ucfirst:{{#language:en}}}}]]|[{{fullurl:{{FULLPAGENAME}}/en|action=edit&preload={{urlencode:Template:MultiPage/preload}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:en}}}}</span>]}}}}</div> | ||
<div>{{Flag|ca}} {{#ifexist:{{FULLPAGENAME}}/ca|[[:{{FULLPAGENAME}}/ca|{{ucfirst:{{#language:ca}}}}]]|[{{fullurl:{{FULLPAGENAME}}/ca|action=edit&preload={{urlencode:{{#ifexist:{{FULLPAGENAME}}/en|{{FULLPAGENAME}}/en|Template:MultiPage/preload}}}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:ca}}}}</span>]}}</div> | <div>{{Flag|ca}} {{#ifexist:{{FULLPAGENAME}}/ca|[[:{{FULLPAGENAME}}/ca|{{ucfirst:{{#language:ca}}}}]]|[{{fullurl:{{FULLPAGENAME}}/ca|action=edit&preload={{urlencode:{{#ifexist:{{FULLPAGENAME}}/en|{{FULLPAGENAME}}/en|Template:MultiPage/preload}}}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:ca}}}}</span>]}}</div> | ||
<div>{{Flag|cs}} {{#ifexist:{{FULLPAGENAME}}/cs|[[:{{FULLPAGENAME}}/cs|{{ucfirst:{{#language:cs}}}}]]|[{{fullurl:{{FULLPAGENAME}}/cs|action=edit&preload={{urlencode:{{#ifexist:{{FULLPAGENAME}}/en|{{FULLPAGENAME}}/en|Template:MultiPage/preload}}}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:cs}}}}</span>]}}</div> | <div>{{Flag|cs}} {{#ifexist:{{FULLPAGENAME}}/cs|[[:{{FULLPAGENAME}}/cs|{{ucfirst:{{#language:cs}}}}]]|[{{fullurl:{{FULLPAGENAME}}/cs|action=edit&preload={{urlencode:{{#ifexist:{{FULLPAGENAME}}/en|{{FULLPAGENAME}}/en|Template:MultiPage/preload}}}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:cs}}}}</span>]}}</div> | ||
Line 81: | Line 81: | ||
-->{{#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" 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:{{FULLPAGENAME}}/{{uselang}}|{{fullurl:{{FULLPAGENAME}}/{{uselang}}|action=edit}}|{{fullurl:{{FULLPAGENAME}}/{{uselang}}|action=edit&preload={{urlencode:{{#ifexist:{{FULLPAGENAME}}/en|{{FULLPAGENAME}}/en|Template:MultiPage/preload}}}}}}}}|14px|{{int:edit}}]]</div></span></center> | <center class="mw-customtoggle-editbutton" 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={{#if:{{{no-en-subpage|}}}|{{#ifeq:{{uselang}}|en|{{fullurl:{{FULLPAGENAME}}|action=edit}}|{{#ifexist:{{FULLPAGENAME}}/{{uselang}}|{{fullurl:{{FULLPAGENAME}}/{{uselang}}|action=edit}}|{{fullurl:{{FULLPAGENAME}}/{{uselang}}|action=edit&preload={{urlencode:{{#ifexist:{{FULLPAGENAME}}/en|{{FULLPAGENAME}}/en|Template:MultiPage/preload}}}}}}}}}}|14px|{{int:edit}}|{{#ifexist:{{FULLPAGENAME}}/{{uselang}}|{{fullurl:{{FULLPAGENAME}}/{{uselang}}|action=edit}}|{{fullurl:{{FULLPAGENAME}}/{{uselang}}|action=edit&preload={{urlencode:{{#ifexist:{{FULLPAGENAME}}/en|{{FULLPAGENAME}}/en|Template:MultiPage/preload}}}}}}}}}}|14px|{{int:edit}}]]</div></span></center> | ||
</div>}}<!-- | </div>}}<!-- | ||
Line 109: | Line 109: | ||
}}<!-- | }}<!-- | ||
-->}} | -->}} | ||
{{#if:{{{no-en- | {{#if:{{{no-en-subpage|}}}|{{#switch:{{uselang}}|#default={{{page|{{ {{UselangSubpage}} }} }}}<div style="display: none">|en=}}| {{{page|{{ {{UselangSubpage}} }} }}} }}</onlyinclude></includeonly> | ||
{{ {{PAGENAME}} |no-en- | {{ {{PAGENAME}} |no-en-subpage=1}}{{Lorem}}{{ {{PAGENAME}}/end }} |
Revision as of 03:23, 21 August 2023

{{ Template:UselangSubpage }}