Template:User page: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) m (revert) |
(Links) |
||
Line 1: | Line 1: | ||
< | {{Doc}} | ||
<includeonly><onlyinclude>{{#if:{{{doc|}}}||{{DISPLAYTITLE:<span style=display:none>{{Settings|user={{PAGENAME}}|username|ifempty={{FULLPAGENAME}}}}</span>|noreplace}}}} | |||
<!-- | <!-- | ||
Cover | - Cover - | ||
--> | --> | ||
Line 16: | Line 17: | ||
<!-- | <!-- | ||
Avatar | - Avatar - | ||
--> | --> | ||
<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]] | ||
|[[File:Icon-user.png|link=|60px]]}}}}<!-- | |[[File:Icon-user.png|link=|60px]]}}}}<!-- | ||
-->{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatarFrame-{{PAGENAME}}.png}} | |||
|<div style="width:224px; height:224px; transform:scale(.7); display:flex; align-items:center; justify-content:center; overflow:hidden; user-select:none; position:absolute">[[File:UserAvatarFrame-{{PAGENAME}}.png|{{Settings|user={{PAGENAME}}|staticframe|ifempty=}}|link=]]</div>|}} | |||
</div> | </div> | ||
<!-- | <!-- | ||
Username | - Username - | ||
--> | --> | ||
Line 36: | Line 38: | ||
<!-- | <!-- | ||
Buttons under the Cover | - Buttons under the Cover - | ||
--> | --> | ||
<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:#303030; border-radius:6px; user-select:none; padding:10px; margin-left:auto;"><!-- | ||
-->[[File:icon-wh-sandbox.png|24px|link=User:{{PAGENAME}}/Sandbox|{{ | -->[[File:icon-wh-sandbox.png|24px|link=User:{{PAGENAME}}/Sandbox|{{User page/strings|UserSandbox}}]]<!-- | ||
-->[[File:Icon-settings_account_box-outlined.png|24px|link=User:{{PAGENAME}}/Settings|{{ | -->[[File:Icon-settings_account_box-outlined.png|24px|link=User:{{PAGENAME}}/Settings|{{User page/strings|UserSettings}}]]</div> | ||
</div> | </div> | ||
<!-- | <!-- | ||
Stuff | - Stuff - | ||
--> | --> | ||
<div style="display:flex; flex-direction:column; gap:10px; width:320px; color:lightgrey; float:right; margin:0 0 10px 10px"> | <div class="plainlinks" style="display:flex; flex-direction:column; gap:10px; width:320px; color:lightgrey; float:right; margin:0 0 10px 10px"> | ||
<!-- Achievements --> | <!-- Achievements --> | ||
{{#if:{{{noach}}}||{{#if:{{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/Achievements}}|<div style="display:flex; flex-direction:column; box-sizing:border-box | {{#if:{{{noach}}}||{{#if:{{PROTECTIONEXPIRY:edit|{{FULLPAGENAME}}/Achievements}}|<div style="display:flex; flex-direction:column; width: 100%; box-sizing:border-box; background:#303030; box-shadow:0 4px 10px rgb(0,0,0,.2),0 20px 40px rgb(0,0,0,.1); border-radius:6px; padding:8px 10px; z-index:2;">'''[[{{FULLPAGENAME}}/Achievements|{{User page/strings|Achievements}}]]'''<div style="display:flex; gap:8px; overflow:hidden;">{{Wikichievements|nodiv=1|mini=1}}</div></div>|}}}} | ||
<!-- Links --> | <!-- Links --><!-- Maybe it should be renamed --> | ||
{{#if:{{{links|}}}|<div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; background:#303030; border-radius:6px; padding:8px 10px; z-index:2;"> | {{#if:{{{website|}}}{{{steam|}}}{{{gamebanana|}}}{{{github|}}}{{{gitlab|}}}{{{twitter|}}}{{{facebook|}}}{{{discord|}}}{{{links|}}} | ||
</div></onlyinclude></includeonly> | | <div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; box-shadow:0 4px 10px rgb(0,0,0,.2),0 20px 40px rgb(0,0,0,.1); background:#303030; border-radius:6px; padding:8px 10px; z-index:2;"> | ||
<div style="font-weight:bold">{{User page/strings|Links}}</div> | |||
<div style="display:flex; flex-direction:column"><!-- | |||
--><span>{{#if:{{{website|}}}| [http://{{{website|}}} Website] |}}</span><!-- | |||
--><span>{{#if:{{{steam|}}}| [http://steamcommunity.com/id/{{{steam}}} Steam] |}}</span><!-- | |||
--><span>{{#if:{{{gamebanana|}}}| [http://gamebanana.com/members/{{{gamebanana}}} GameBanana] |}}</span><!-- | |||
--><span>{{#if:{{{github|}}}| [http://github.com/{{{github}}} GitHub] |}}</span><!-- | |||
--><span>{{#if:{{{gitlab|}}}| [http://gitlab.com/{{{gitlab}}} GitLab] |}}</span><!-- | |||
--><span>{{#if:{{{twitter|}}}| [http://twitter.com/{{{twitter}}} Twitter] |}}</span><!-- | |||
--><span>{{#if:{{{facebook|}}}| [http://www.facebook.com/{{{facebook}}} Facebook] |}}</span><!-- | |||
--><span>{{#if:{{{links|}}}|{{{links}}}|}}</span><!-- | |||
--><hr><!-- | |||
--><span>{{#if:{{{discord|}}}| <span style="color:#FFF; margin-right:.3em">Discord:</span>{{{discord}}} |}}</span> | |||
</div> | |||
</div> | |||
}} | |||
</div></onlyinclude></includeonly> |
Revision as of 03:23, 1 April 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.