Template:Message: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(86 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{ModernTodo|Find a way to reduce calls multiple times without losing functionality. Some work has already been done, but there are still some problems with this (142 calls in [[New Help Desk]]).}}<includeonly><onlyinclude><div style="margin:14px 0; padding-left:56px; font-size:14px"><!--
<noinclude>{{important|This is a placeholder being used for page history reasons and should not be used as an actual template.}}</noinclude>
--><div style="display:flex; justify-content:center; align-items:center; width:40px; height:40px; user-select:none; position:absolute; margin:2px 0 0 -56px"><!--
<includeonly><small>(using [[Template:Message]])</small>&nbsp;{{{1|{{text|}}}}}&nbsp;--[[User:{{{user}}}|{{{user}}}]] ([[User talk:{{{user}}}|talk]]) {{{time}}} (UTC)</includeonly>
--><div style="display:flex; justify-content:center; align-items:center; width: 100%; height: 100%; background:#525252; {{border-radius|50%}}; overflow:hidden;"><!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{{user|}}}.png}}
|[[File:UserAvatar-{{{user|}}}.png|link=|40px]]
|{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatar-{{{user|}}}.jpg}}
|[[File:UserAvatar-{{{user|}}}.jpg|link=|40px]]
|[[File:Icon-user.png|link=|16px]]}}}}</div><!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:UserAvatarFrame-{{{user|}}}.png}}
|<div style="width:224px; height:224px; transform:scale(.2); display:flex; align-items:center; justify-content:center; overflow:hidden; user-select:none; position:absolute">[[File:UserAvatarFrame-{{{user|}}}.png|link=]]</div>
|}}<!--
--></div><!--
--><div style="line-height:1.375rem; color:#696E73">{{#if:{{{user|}}}|<span style=color:#696E73>[[User:{{{user}}}|<font title="{{autolang|User|ru=Пользователь}}: {{{user}}}" style="color:white;font-size:14.2px"><kbd style=font-family:sans-serif>'''{{Settings|user={{{user}}}|username|ifempty={{{user}}}}}'''</kbd></font>]] {{#switch:{{{user}}}|JeffLane=[[File:Icon-valve.png|text-top|link=]]}}|''{{autolang|Undefined user|ru=Пользователь не указан|zh-cn=未定义的用户}}''}}<span style=user-select:none>&ensp;</span>{{#if:{{{time|}}}|{{#time:{{autolang|G:i, j xg Y|zh-cn=Y年n月j日 G:i}}|{{{time}}} {{Settings|user={{{user|}}}|timeoffseth|before={{Settings|user={{{user|}}}|timeoffsetdir}}|after=hours}} {{Settings|user={{{user|}}}|timeoffsetm|before={{Settings|user={{{user|}}}|timeoffsetdir}}|after=minutes}}|{{uilang}}}} (UTC{{Settings|user={{{user|}}}|timeoffseth|before={{Settings|user={{{user|}}}|timeoffsetdirs|ifempty=+}}|after={{Settings|user={{{user|}}}|timeoffsetm|before=&#58;}}|ifempty={{Settings|user={{{user|}}}|timeoffsetm|before={{Settings|user={{{user|}}}|timeoffsetdirs|ifempty=+}}0&#58;}}}})|''{{autolang|Timestamp not defined|ru=Временная метка не указана|zh-cn=该用户没有签署时间戳}}''}}<span style="user-select:none"></span>{{#if:{{{edited|}}}|<span style=user-select:none;>&nbsp;{{Hover info|{{{edited|}}}|''({{autolang|edited|zh-cn=已编辑}})''}}</span>}}</div><!--
--><div style="{{border-radius|4px}}; line-height:1.375rem; word-wrap:break-word">{{{1|{{{text|}}}}}}</div><!--
-->{{#if:{{{2|}}}|<div style="margin-top:4px;user-select:none">{{{2|}}}</div>}}<!--
--></div></onlyinclude></includeonly>{{doc}}

Latest revision as of 20:38, 17 June 2024

Icon-Important.pngImportant:This is a placeholder being used for page history reasons and should not be used as an actual template.