Template:Language/archives/Page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Аn attempt to add a more visually understandable translation progress)
Line 19: Line 19:


<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>
<div style="position:sticky; top:0; padding:4px 6px; background:rgb(56 56 56 / 95%); border-bottom:1px solid rgb(101, 99, 95); display:flex; align-items:center; font-size:1.2em">
<div>0</div>
<div style="width:100%; margin:0 4px; background-color:rgb(260 160 80 / 4%); border:1px solid rgb(260 160 80 / 15%); border-radius:4px; padding:2px">
<div style="width:{{#expr: {{/Str|+}} * 100 / {{/Str|all}} round 2}}%; background-color:rgb(260 160 80); border-radius:2px; font-weight:900; text-align:center; color:rgb(0 0 0 / 80%); line-height:1.1em"> {{#expr: {{/Str|+}} * 100 / {{/Str|all}} round 2}}% ({{/Str|+}}) </div>
</div>
<div>{{/Str|all}}</div>
</div>


<table cellpadding="4px" cellspacing="0" style="background:rgb(56 56 56 / 95%)">
<table cellpadding="4px" cellspacing="0" style="background:rgb(56 56 56 / 95%)">

Revision as of 06:29, 22 May 2024

Under construction.png
This Template page is currently Work in Progress and it's not recommended to be used on pages.
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.

Todo: Add an icon for the subpage button instead of /...

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]]}}