Template:User page: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Forgot to remove GIF support (APNG is better).) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{DISPLAYTITLE:<span style=display:none>{{Settings|user={{PAGENAME}}|username|ifempty={{FULLPAGENAME}}}}</span>|noreplace}} | |||
<onlyinclude>{{DISPLAYTITLE:<span style=display:none>{{Settings|user={{PAGENAME}}|username|ifempty={{FULLPAGENAME}}}}</span>|noreplace}} | |||
<div style="display:flex; justify-content:center; align-items:center; width:100%; height:256px; background-color:#404040; border-radius:6px; overflow: hidden; user-select:none; position:relative; z-index:1; margin-top:{{#ifeq:{{FULLPAGENAME}}|Template:User page|0|-30px}}"><!-- | <div style="display:flex; justify-content:center; align-items:center; width:100%; height:256px; background-color:#404040; border-radius:6px; overflow: hidden; user-select:none; position:relative; z-index:1; margin-top:{{#ifeq:{{FULLPAGENAME}}|Template:User page|0|-30px}}"><!-- | ||
-->{{#if:{{PROTECTIONEXPIRY:edit|File:UserCover-{{PAGENAME}}.png}} | -->{{#if:{{PROTECTIONEXPIRY:edit|File:UserCover-{{PAGENAME}}.png}} | ||
|[[File:UserCover-{{PAGENAME}}.png|link=]] | |[[File:UserCover-{{PAGENAME}}.png|link=]] | ||
|{{#if:{{PROTECTIONEXPIRY:edit|File:UserCover-{{PAGENAME}}.jpg}} | |{{#if:{{PROTECTIONEXPIRY:edit|File:UserCover-{{PAGENAME}}.jpg}} | ||
|[[File:UserCover-{{PAGENAME}}.jpg|link=]] | |[[File:UserCover-{{PAGENAME}}.jpg|link=]] | ||
Line 16: | Line 12: | ||
<div style="display:flex; justify-content:center; align-items:center; min-width: 128px; width:128px; height:128px; background-color:#525252; border-radius:{{Settings|user={{PAGENAME}}|squareavatar|ifempty=50%}}; overflow:hidden; user-select:none">{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.png}} | <div style="display:flex; justify-content:center; align-items:center; min-width: 128px; width:128px; height:128px; background-color:#525252; border-radius:{{Settings|user={{PAGENAME}}|squareavatar|ifempty=50%}}; overflow:hidden; user-select:none">{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.png}} | ||
|[[File:UserAvatar-{{PAGENAME}}.png|link=|128px]] | |[[File:UserAvatar-{{PAGENAME}}.png|link=|128px]] | ||
|{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.jpg}} | |{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.jpg}} | ||
|[[File:UserAvatar-{{PAGENAME}}.jpg|link=|128px]] | |[[File:UserAvatar-{{PAGENAME}}.jpg|link=|128px]] | ||
Line 37: | Line 31: | ||
<!-- Links --> | <!-- Links --> | ||
{{#if:{{{links|}}}|<div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; background:#303030; border-radius:6px; padding:8px 10px;">'''{{autolang|Links|ru=Ссылки}}'''<span>{{{links}}}</span></div>}} | {{#if:{{{links|}}}|<div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; background:#303030; border-radius:6px; padding:8px 10px;">'''{{autolang|Links|ru=Ссылки}}'''<span>{{{links}}}</span></div>}} | ||
</div></onlyinclude> | </div></onlyinclude></includeonly>{{doc}} |
Revision as of 10:52, 17 February 2023
The above documentation is transcluded from Template:User page/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.