Template:Lang: Difference between revisions
Jump to navigation
Jump to search
1
<span style="display:flex; justify-content:center; width:20px; height:100%" title="

1416006136 (talk | contribs) mNo edit summary |
1416006136 (talk | contribs) (collapsible block for "View", "Edit", "History", "Purge") |
||
Line 1: | Line 1: | ||
{{ModernBug|Creating language pages for categories using a special block is broken, since there is no colon before the link, which is why the link to create a language page turns into a category. So far, this block is disabled for this namespace.}}{{ModernNote|This template is gradually approaching the role of an deprecated template. {{tl|MultiPage}} will be used instead.}}{{doc}}<onlyinclude><includeonly><!-- | {{lang}}{{ModernBug|Creating language pages for categories using a special block is broken, since there is no colon before the link, which is why the link to create a language page turns into a category. So far, this block is disabled for this namespace.}}{{ModernNote|This template is gradually approaching the role of an deprecated template. {{tl|MultiPage}} will be used instead.}}{{doc}}<onlyinclude><includeonly><!-- | ||
-->{{DISPLAYTITLE:{{#if:{{{notitle|}}} | -->{{DISPLAYTITLE:{{#if:{{{notitle|}}} | ||
|<span style=display:none>{{{notitle}}}</span> | |<span style=display:none>{{{notitle}}}</span> | ||
Line 66: | Line 66: | ||
--><span style="display:flex; justify-content:center; width:20px; height:100%" title="{{autolang|Translate this page|zh=翻译本页}}">+</span> | --><span style="display:flex; justify-content:center; width:20px; height:100%" title="{{autolang|Translate this page|zh=翻译本页}}">+</span> | ||
</center> | </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; right: | <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; right:26px; top:26px"><div style="overflow-y:auto;max-height:200px;padding:2px 6px;"><!-- | ||
--><div>{{en}} [[{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}|{{ucfirst:{{#language:en}}}}]]</div> | --><div>{{en}} [[{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}|{{ucfirst:{{#language:en}}}}]]</div> | ||
<div>{{ca}} {{#ifexist:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:ca|[[{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:ca|{{ucfirst:{{#language:ca}}}}]]|<span class=plainlinks>[{{fullurl:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:ca|action=edit&preload={{urlencode:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:ca}}}}</span>]</span>}}</div> | <div>{{ca}} {{#ifexist:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:ca|[[{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:ca|{{ucfirst:{{#language:ca}}}}]]|<span class=plainlinks>[{{fullurl:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:ca|action=edit&preload={{urlencode:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}}}}} <span style="color:rgb(214,75,75);">{{ucfirst:{{#language:ca}}}}</span>]</span>}}</div> | ||
Line 92: | Line 92: | ||
<div>{{he}} {{#ifexist:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:he|[[{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:he|{{ucfirst:{{#language:he}}}}]]|<span class=plainlinks>[{{fullurl:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:he|action=edit&preload={{urlencode:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}}}}} <span style="color:rgb(214,75,75);">{{#language:he}}</span>]</span>}}</div> | <div>{{he}} {{#ifexist:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:he|[[{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:he|{{ucfirst:{{#language:he}}}}]]|<span class=plainlinks>[{{fullurl:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}:he|action=edit&preload={{urlencode:{{#if:{{{1|}}}|{{{1|}}}|{{FULLPAGENAME}}}}}}}} <span style="color:rgb(214,75,75);">{{#language:he}}</span>]</span>}}</div> | ||
</div></div><!-- | </div></div><!-- | ||
--></div><!-- | |||
--><div style=pointer-events:all> | |||
<center class="mw-customtoggle-editaction" 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 class=plainlinks style="display:flex; justify-content:center; width:20px; height:100%; font-size:10px" title="{{int:actions}}"><div style="position: relative; top:-2px;">[[File:Icon-edit-filled.png|12px|link=|sub]]</div></span></center> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-editaction" 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; right:0px; top:26px"><div style="overflow-y:auto;max-height:200px;padding:2px 6px;"><span class=plainlinks> | |||
<div>[[{{FULLPAGENAME}}|{{int:view}}]]</div> | |||
<div>[{{fullurl:{{FULLPAGENAME}}|action=edit}} {{int:edit}}]</div> | |||
<div>[{{fullurl:{{FULLPAGENAME}}|action=history}} {{int:history}}]</div> | |||
<div>[{{fullurl:{{FULLPAGENAME}}|action=purge}} {{int:action-purge}}]</div> | |||
<div>[[Special:MovePage/{{FULLPAGENAME}}|{{int:move}}]]</div> | |||
</span> | |||
</div></div><!-- | |||
--></div><!-- | |||
--></div>}}<!-- | --></div>}}<!-- | ||
--></div></includeonly></onlyinclude> | --></div></includeonly></onlyinclude> |
Revision as of 03:21, 23 February 2023


This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Additional notes:
Use #switch parser function instead. Example

You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
}}
">+

Template:ModernBugTemplate:ModernNote
The above documentation is transcluded from Template:Lang/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.