Template:Language/archives/Page: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
<div style="display:inline-flex; align-items:center; text-align:center">{{#expr: {{/Str|+}} }} / {{#expr: {{/Str|all}} }}</div> | <div style="display:inline-flex; align-items:center; text-align:center">{{#expr: {{/Str|+}} }} / {{#expr: {{/Str|all}} }}</div> | ||
<div style="display:inline-flex"> | |||
<div style="display:inline-flex; position:relative"> | <div style="display:inline-flex; position:relative"> | ||
<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:linear-gradient(135deg, rgba(255 255 255 / 4%), rgba(255 255 255 / 2%))">{{Flag|{{intlang}}}}<span>{{ucfirst:{{#language:{{intlang}}}}}}</span><span style="font-size:.6em">▼ | <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:{{text-dir|ltr=3px 0 0 3px|rtl=0 3px 3px 0}}; background:linear-gradient(135deg, rgba(255 255 255 / 4%), rgba(255 255 255 / 2%)); border-{{text-dir|ltr=right|rtl=left}}:0">{{Flag|{{intlang}}}}<span>{{ucfirst:{{#language:{{intlang}}}}}}</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:22px; {{text-dir|ltr=right|rtl=left}}:0; 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="overflow-y:auto; max-height:200px"><span class=plainlinks> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Lang-Select-Menu" style="display:none; user-select:text; overflow:hidden; position:absolute; top:22px; {{text-dir|ltr=right|rtl=left}}:0; 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="overflow-y:auto; max-height:200px"><span class=plainlinks> | ||
Line 121: | Line 122: | ||
</div> | </div> | ||
<div style="line-height:13px; border:1px solid #65635F; border-radius:3px; padding:2px 4px 3px 4px; background:linear-gradient(135deg, rgba(255 255 255 / 4%), rgba(255 255 255 / 2%))">[[File:Icon-translate.png|link={{FULLPAGENAME}}/Str|13px]]</div> | <div style="line-height:13px; border:1px solid #65635F; border-radius:{{text-dir|ltr=0 3px 3px 0|rtl=3px 0 0 3px}}; padding:2px 4px 3px 4px; background:linear-gradient(135deg, rgba(255 255 255 / 4%), rgba(255 255 255 / 2%))">[[File:Icon-translate.png|link={{FULLPAGENAME}}/Str|13px]]</div> | ||
</div> | |||
<div style="line-height:13px; border:1px solid #65635F; border-radius:3px; padding:3px 5px; background:linear-gradient(135deg, rgba(255 255 255 / 4%), rgba(255 255 255 / 2%))" title="Subpages">'''[[Special:PrefixIndex/{{FULLPAGENAME}}/|<span style="color:white" title="Subpages">/..</span>]]'''</div> | <div style="line-height:13px; border:1px solid #65635F; border-radius:3px; padding:3px 5px; background:linear-gradient(135deg, rgba(255 255 255 / 4%), rgba(255 255 255 / 2%))" title="Subpages">'''[[Special:PrefixIndex/{{FULLPAGENAME}}/|<span style="color:white" title="Subpages">/..</span>]]'''</div> |
Revision as of 11:04, 20 May 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.
New version of the {{MultiPage}} template. Uses a completely different page structure, compressing everything into two pages (main one and strings subpage), without the need for language subpages.
Usage
Default template usage.
{{Page}}
Changes the name of the page that will be displayed in the header and when searching on the Internet. Without this parameter, the default page title will be used.
{{Page|title=Example title}}
Changes the page header. Does not change the name of the page for the Internet.
{{Page|header=Interesting header that can use <div> tags, for example}}
The header can be removed completely if you specify it empty.
{{Page|header=}}
Access to header style.
{{Page|header style=color:green}}
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]]}}