Template:Language/archives/Page: Difference between revisions
mNo edit summary |
(Testing a new format with domain support) |
||
Line 16: | Line 16: | ||
<div style="position:relative; display:flex; justify-content:flex-end"> | <div style="position:relative; display:flex; justify-content:flex-end"> | ||
<div class="mw-customtoggle-Lang-Select-Menu" style="display:inline-flex; gap:4px; align-items:center; line-height:10px; padding:4px; border:1px solid #65635F; border-radius:3px; background:rgba(255 255 255 / 4%)" title="{{String|en=Selected language|ru=Выбранный язык}}">[[File:Flag-{{ | <div class="mw-customtoggle-Lang-Select-Menu" style="display:inline-flex; gap:4px; align-items:center; line-height:10px; padding:4px; border:1px solid #65635F; border-radius:3px; background:rgba(255 255 255 / 4%)" title="{{String|en=Selected language|ru=Выбранный язык}}">[[File:Flag-{{Pagelang}}.png|link=|16px]]<span>{{ucfirst:{{#language:{{Pagelang}}}}}}</span><span style="font-size:.6em">▼</span></div> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Lang-Select-Menu" style="display:none; user-select:text; overflow:hidden; position:absolute; top:24px; z-index:1001; border:1px solid #65635F; border-radius:4px; box-shadow:0 10px 20px rgb(0,0,0,.3); width:max-content"><div style="scrollbar-color:#717171 #2B2B2B; overflow-y:auto; max-height: | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Lang-Select-Menu" style="display:none; user-select:text; overflow:hidden; position:absolute; top:24px; z-index:1001; border:1px solid #65635F; border-radius:4px; box-shadow:0 10px 20px rgb(0,0,0,.3); width:max-content"><div style="scrollbar-color:#717171 #2B2B2B; overflow-y:auto; padding:2px 4px; max-height:191px; line-height:16px; background:rgb(56 56 56 / 95%)"> | ||
<div | <div>[[File:Flag-en.png|link=|16px]] [[en/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:en}}]]</div> | ||
<div>[[File:Flag-ca.png|link=|16px]] [[ca/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:ca}}]]</div> | |||
<div>[[File:Flag-cs.png|link=|16px]] [[cs/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:cs}}]]</div> | |||
<div>[[File:Flag-de.png|link=|16px]] [[de/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:de}}]]</div> | |||
<div>[[File:Flag-el.png|link=|16px]] [[el/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:el}}]]</div> | |||
<div>[[File:Flag-eo.png|link=|16px]] [[eo/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:eo}}]]</div> | |||
<div>[[File:Flag-et.png|link=|16px]] [[et/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:et}}]]</div> | |||
<div>[[File:Flag-fr.png|link=|16px]] [[fr/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:fr}}]]</div> | |||
<div>[[File:Flag-fi.png|link=|16px]] [[fi/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:fi}}]]</div> | |||
<div>[[File:Flag-he.png|link=|16px]] [[he/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:he}}]]</div> | |||
<div>[[File:Flag-hi.png|link=|16px]] [[hi/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:hi}}]]</div> | |||
<div>[[File:Flag-hr.png|link=|16px]] [[hr/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:hr}}]]</div> | |||
<div>[[File:Flag-hu.png|link=|16px]] [[hu/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:hu}}]]</div> | |||
<div>[[File:Flag-it.png|link=|16px]] [[it/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:it}}]]</div> | |||
<div>[[File:Flag-ja.png|link=|16px]] [[ja/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:ja}}]]</div> | |||
<div>[[File:Flag-ka.png|link=|16px]] [[ka/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:ka}}]]</div> | |||
<div>[[File:Flag-km.png|link=|16px]] [[km/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:km}}]]</div> | |||
<div>[[File:Flag-ko.png|link=|16px]] [[ko/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:ko}}]]</div> | |||
<div>[[File:Flag-ms.png|link=|16px]] [[ms/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:ms}}]]</div> | |||
<div>[[File:Flag-nl.png|link=|16px]] [[nl/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:nl}}]]</div> | |||
<div>[[File:Flag-no.png|link=|16px]] [[no/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:no}}]]</div> | |||
<div>[[File:Flag-pl.png|link=|16px]] [[pl/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:pl}}]]</div> | |||
<div>[[File:Flag-pt.png|link=|16px]] [[pt/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:pt}}]]</div> | |||
<div>[[File:Flag-pt-br.png|link=|16px]] [[pt-br/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:pt-br}}]]</div> | |||
<div>[[File:Flag-ru.png|link=|16px]] [[ru/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:ru}}]]</div> | |||
<div>[[File:Flag-es.png|link=|16px]] [[es/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:es}}]]</div> | |||
<div>[[File:Flag-sv.png|link=|16px]] [[sv/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:sv}}]]</div> | |||
<div>[[File:Flag-uk.png|link=|16px]] [[uk/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:uk}}]]</div> | |||
<div>[[File:Flag-tr.png|link=|16px]] [[tr/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:tr}}]]</div> | |||
<div>[[File:Flag-vi.png|link=|16px]] [[vi/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:vi}}]]</div> | |||
<div>[[File:Flag-zh.png|link=|16px]] [[zh/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:zh}}]]</div> | |||
<div>[[File:Flag-zh-tw.png|link=|16px]] [[zh-tw/{{#titleparts: {{PAGENAME}} || 2 }}|{{#language:zh-tw}}]]</div> | |||
</div></div> | |||
</div> | </div> | ||
Line 139: | Line 64: | ||
</div> | </div> | ||
</div></div></indicator><span></span></onlyinclude></includeonly> | </div></div></indicator><span></span></onlyinclude></includeonly> | ||
{{Wip|type=wip2|[[User:Max34|Max34]]|Designed for the new page format.}} | {{Wip|type=wip2|[[User:Max34|Max34]]|Designed for the new page format.}} | ||
Line 162: | Line 85: | ||
{{Code|<nowiki>{{Page|icons=[[File:ESRB E10 Rating.png|link=|24px]] [[File:Hl2-16px.png|link=|24px]]}}</nowiki>}} | {{Code|<nowiki>{{Page|icons=[[File:ESRB E10 Rating.png|link=|24px]] [[File:Hl2-16px.png|link=|24px]]}}</nowiki>}} | ||
Revision as of 07:25, 27 June 2024

As a courtesy, please do not edit this Template while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
The user who added this notice, should you wish to contact them, is: Max34 tr = idir.
Additional Notes: Designed for the new page format.
☐ Either modify the maintenance templates to make it easier to work with this template, or embed the maintenance templates directly into this template (which will give more options to the maintenance templates).
(For copying: ☐ ☑ ☑)This template adds a panel at the top of the article (at the header level), which consists of a drop-down list for selecting the language in which the page will be displayed, a button for showing all sub-pages of this page, and a button for Purging the page.
Usage
Default template usage.
{{Page}}
An area for adding icons or other small elements. Maximum available height: 31 pixels. If the content of this parameter exceeds this height, the entire panel will begin to slide down and the content will begin to overlap the line and below. Preferred icon size: 24 pixels.
{{Page|icons=[[File:ESRB E10 Rating.png|link=|24px]] [[File:Hl2-16px.png|link=|24px]]}}