Template:User page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:


<div style="display:flex; align-items:center; position:relative; z-index:3; margin:-64px 0 0 32px">
<div style="display:flex; align-items:center; position:relative; z-index:3; margin:-64px 0 0 32px">
<div style="display:flex; justify-content:center; align-items:center; width:128px; height:128px; background:#525252; border-radius:{{{border-radius|50%}}}; overflow:hidden; user-select:none"><!--
<!-- Avatar -->
-->{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.png}}
<div style="display:flex; justify-content:center; align-items:center; width:128px; height:128px; background:#525252; border-radius:{{{border-radius|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}}.gif}}
|{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.gif}}
Line 10: Line 10:
|{{#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]]}}}}}}{{#if:{{{avatarframe|}}}|<div style="width: 224px; height: 224px; transform: scale(.7); display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; user-select: none; position: absolute; margin-top: -1px;"> https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/items/322330/61f2f2c6f2c409c0ca2814f24c00efe5d23076b2.png </div>|}}</div><span style="background:#303030; border-radius:6px; font-size: 32px; line-height:24px; color: #FFFFFF; padding:10px; margin-left: 16px">{{#if:{{PROTECTIONEXPIRY:edit|User:{{PAGENAME}}/Settings}}|{{User:{{PAGENAME}}/Settings|username}}|{{PAGENAME}}}}</span></div><div style="display:flex; flex-direction:column; background:#303030; border-radius:6px; padding:8px 10px; width:300px; float:right">'''Achievements:'''<span>Achievements have not been added to this wiki yet.</span></div></onlyinclude>
|[[File:Icon-user.png|link=|60px]]}}}}}}<!--
---><div style="width:224px; height:224px; transform:scale(.7); display:flex; align-items:center; justify-content:center; overflow:hidden; user-select:none; position:absolute; margin-top:-1px"><!--
    -->{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{PAGENAME}}.png}}
|[[File:UserAvatarFrame-{{PAGENAME}}.png|link=]]
|{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatarFrame-{{PAGENAME}}.gif}}
|[[File:UserAvatarFrame-{{PAGENAME}}.gif|link=]]
|{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatarFrame-{{PAGENAME}}.jpg}}
|[[File:UserAvatarFrame-{{PAGENAME}}.jpg|link=]]
|}}}}}}</div>
</div>
<!-- Username -->
<div style="background:#303030; border-radius:6px; font-size: 32px; line-height:24px; color: #FFFFFF; padding:10px; margin-left: 16px">{{#if:{{PROTECTIONEXPIRY:edit|User:{{PAGENAME}}/Settings}}|{{User:{{PAGENAME}}/Settings|username}}|{{PAGENAME}}}}</div>
</div>
<!-- Achievements -->
<div style="display:flex; flex-direction:column; background:#303030; border-radius:6px; padding:8px 10px; width:300px; float:right">'''Achievements:'''<span>Achievements have not been added to this wiki yet.</span></div></onlyinclude>

Revision as of 00:21, 28 January 2023