Template:User page: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
Mailmanmicky (talk | contribs) mNo edit summary |
||
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: | <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}}"><!-- | ||
-->{{#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 26: | Line 23: | ||
--> | --> | ||
<div style="display:flex; justify-content:center; align-items:center; min-width: 128px; width:128px; height:128px; background-color: | <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"><!-- | ||
-->{{#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 44: | Line 38: | ||
--> | --> | ||
<div style="background: | <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> | ||
<!-- | <!-- | ||
Line 53: | Line 44: | ||
--> | --> | ||
<div style="display:flex; align-items:center; gap:20px; background: | <div style="display:flex; align-items:center; gap:20px; background:#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-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> | ||
</div> | </div> | ||
Line 68: | Line 56: | ||
<!-- Achievements --> | <!-- Achievements --> | ||
{{#if:{{{noach|}}}||{{#if:{{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/Achievements}} | {{#if:{{{noach|}}}||{{#if:{{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/Achievements}} | ||
| <div style="display:flex; flex-direction:column; width: 100%; box-sizing:border-box; background: | | <div style="display:flex; flex-direction:column; width: 100%; box-sizing:border-box; background:#303030; border:1px solid #454545; border-radius:4px; z-index:2;"> | ||
<div style="background:#454545; font-weight:bold; padding:4px 10px;">[[{{FULLPAGENAME}}/Achievements|{{User page/strings|Achievements}}]]</div> | |||
<div style="background: | |||
<div style="display:flex; gap:8px; overflow:hidden; padding:10px">{{Wikichievements|nodiv=1|mini=1}}</div> | <div style="display:flex; gap:8px; overflow:hidden; padding:10px">{{Wikichievements|nodiv=1|mini=1}}</div> | ||
</div> | </div> | ||
Line 84: | Line 63: | ||
<!-- Links --><!-- Maybe it should be renamed --> | <!-- Links --><!-- Maybe it should be renamed --> | ||
{{#if:{{{website|}}}{{{steam|}}}{{{gamebanana|}}}{{{github|}}}{{{gitlab|}}}{{{youtube|}}}{{{twitter|}}}{{{facebook|}}}{{{discord|}}}{{{links|}}} | {{#if:{{{website|}}}{{{steam|}}}{{{gamebanana|}}}{{{github|}}}{{{gitlab|}}}{{{youtube|}}}{{{twitter|}}}{{{facebook|}}}{{{discord|}}}{{{links|}}} | ||
| <div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; | | <div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; background:#303030; border:1px solid #454545; overflow:hidden; border-radius:4px; z-index:2;"> | ||
<div style="background:#454545; font-weight:bold; padding:4px 10px;">{{User page/strings|Links}}</div> | <div style="background:#454545; font-weight:bold; padding:4px 10px;">{{User page/strings|Links}}</div> | ||
<div style="display:flex; flex-direction:column; padding:6px 10px"><!-- | <div style="display:flex; flex-direction:column; padding:6px 10px"><!-- | ||
Line 112: | Line 85: | ||
<!-- Userboxes --> | <!-- Userboxes --> | ||
{{#if:{{{userboxes|}}}| | {{#if:{{{userboxes|}}}| | ||
<div style="display:flex; flex-direction:column; width: 100%; box-sizing:border-box; | <div style="display:flex; flex-direction:column; width: 100%; box-sizing:border-box; background:#303030; border:1px solid #454545; border-radius:4px; z-index:2;"> | ||
<div style="background:#454545; font-weight:bold; padding:4px 10px;">{{User page/strings|Userboxes}}</div> | <div style="background:#454545; font-weight:bold; padding:4px 10px;">{{User page/strings|Userboxes}}</div> | ||
<div style="display:grid; gap:.3em; overflow:hidden; padding:10px">{{#if:{{{userboxes|}}}|{{{userboxes}}}|}}</div> | <div style="display:grid; gap:.3em; overflow:hidden; padding:10px">{{#if:{{{userboxes|}}}|{{{userboxes}}}|}}</div> |
Revision as of 19:50, 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.