Template:User page: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
Mailmanmicky (talk | contribs) m (test 2) |
||
Line 9: | Line 9: | ||
--> | --> | ||
<div style="display:flex; justify-content:center; align-items:center; width:100%; height:256px; {{#if:{{{cover gradient|}}}|background-image:{{{cover gradient}}};|}} 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; {{#if:{{{cover gradient|}}}|background-image:{{{cover gradient}}};|}} background-color:{{#switch:{{{theme}}} | ||
| dark = #181818 | |||
| #default = #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=]] | ||
Line 23: | Line 26: | ||
--> | --> | ||
<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}}|avatar radius|ifempty=50%}}; image-rendering:{{Settings|user={{PAGENAME}}|avatar rendering|ifempty=auto}}; overflow:hidden; user-select:none"><!-- | <div style="display:flex; justify-content:center; align-items:center; min-width: 128px; width:128px; height:128px; background-color: {{#switch:{{{theme}}} | ||
| dark = #212121 | |||
| #default = #525252 | |||
}}; border-radius:{{Settings|user={{PAGENAME}}|avatar radius|ifempty=50%}}; image-rendering:{{Settings|user={{PAGENAME}}|avatar rendering|ifempty=auto}}; overflow:hidden; user-select:none"><!-- | |||
-->{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.png}} | -->{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.png}} | ||
|[[File:UserAvatar-{{PAGENAME}}.png|link=|128px]] | |[[File:UserAvatar-{{PAGENAME}}.png|link=|128px]] | ||
Line 38: | Line 44: | ||
--> | --> | ||
<div style="background:#303030; border-radius:6px; font-size: 32px; line-height:24px; color: #FFFFFF; padding:10px; margin:0 16px">{{Settings|user={{PAGENAME}}|username|ifempty={{PAGENAME}}}}<span style="user-select:none"></span></div> | <div style="background-color: {{#switch:{{{theme}}} | ||
| dark = #212121 | |||
| #default = #303030 | |||
}}; border-radius:6px; font-size: 32px; line-height:24px; color: #FFFFFF; padding:10px; margin:0 16px">{{Settings|user={{PAGENAME}}|username|ifempty={{PAGENAME}}}}<span style="user-select:none"></span></div> | |||
<!-- | <!-- | ||
Line 44: | Line 53: | ||
--> | --> | ||
<div style="display:flex; align-items:center; gap:20px; background:#303030; border-radius:6px; user-select:none; padding:10px; margin-left:auto;"><!-- | <div style="display:flex; align-items:center; gap:20px; background:{{#switch:{{{theme}}} | ||
| dark = #212121 | |||
| #default = #303030 | |||
}}; border-radius:6px; user-select:none; padding:10px; margin-left:auto;"><!-- | |||
-->[[File:icon-wh-sandbox.png|24px|link={{FULLPAGENAME}}/Sandbox|{{User page/strings|UserSandbox}}]]<!-- | -->[[File:icon-wh-sandbox.png|24px|link={{FULLPAGENAME}}/Sandbox|{{User page/strings|UserSandbox}}]]<!-- | ||
-->[[File:Icon-settings_account_box-outlined.png|24px|link={{#ifexist:{{FULLPAGENAME}}/Settings|{{FULLPAGENAME}}/Settings|{{fullurl:{{FULLPAGENAME}}/Settings|action=edit&preload={{urlencode:Template:User settings page/preload}}}}}}|{{User page/strings|UserSettings}}]]</div> | -->[[File:Icon-settings_account_box-outlined.png|24px|link={{#ifexist:{{FULLPAGENAME}}/Settings|{{FULLPAGENAME}}/Settings|{{fullurl:{{FULLPAGENAME}}/Settings|action=edit&preload={{urlencode:Template:User settings page/preload}}}}}}|{{User page/strings|UserSettings}}]]</div> |
Revision as of 19:52, 14 May 2023
Template:ModernTodo Template:ModernTodo
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.