Template:User page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added sandbox link)
mNo edit summary
Line 29: Line 29:
<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}}}}</div>
<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}}}}</div>
<!-- Settings and Sandbox -->
<!-- Settings and Sandbox -->
<div style="background:#303030; border-radius:6px; font-size: 16px; line-height:8px; color: #FFFFFF; user-select:none; padding:10px; margin-left: auto;"><span style="margin-right:1em;">[[File:icon-wh-sandbox.png|24px|link=User:{{PAGENAME}}/Sandbox|{{autolang|User Sandbox|ru=User Sandbox}}]]</span> [[File:Icon-settings_account_box-outlined.png|24px|link=User:{{PAGENAME}}/Settings|{{autolang|User Settings|ru=Настройки пользователя}}]]</div>
<div style="background:#303030; border-radius:6px; font-size: 16px; line-height:8px; color: #FFFFFF; user-select:none; padding:10px; margin-left: auto; white-space: nowrap;"><span style="margin-right:1em;">[[File:icon-wh-sandbox.png|24px|link=User:{{PAGENAME}}/Sandbox|{{autolang|User Sandbox|ru=User Sandbox}}]]</span> [[File:Icon-settings_account_box-outlined.png|24px|link=User:{{PAGENAME}}/Settings|{{autolang|User Settings|ru=Настройки пользователя}}]]</div>
<!-- Sandbox -->
<!-- Sandbox -->
</div>
</div>
Line 37: Line 37:
<div style="display:flex; flex-direction:column; box-sizing:border-box; width: 100%; background:#303030; border-radius:6px; padding:8px 10px">'''{{autolang|Achievements|ru=Достижения}}'''<span>This user has no achievements.</span></div>
<div style="display:flex; flex-direction:column; box-sizing:border-box; width: 100%; background:#303030; border-radius:6px; padding:8px 10px">'''{{autolang|Achievements|ru=Достижения}}'''<span>This user has no achievements.</span></div>
<!-- Links -->
<!-- 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>There seems to be nothing here.</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>

Revision as of 05:39, 16 February 2023

Template:ModernTodo Template:ModernNote

Icon-panorama.png
Icon-user.png
User page
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
This user has no achievements.