Template:Test: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
<!-- Type your code below this comment. Do not remove this comment
<!-- Type your code below this comment. Do not remove this comment -->


<includeonly><onlyinclude><div style="margin:{{#ifeq:{{FULLPAGENAME}}|Template:Message|0|14px 0}}; padding-left:50px; font-size:14px"><!--
</includeonly></onlyinclude>{{doc|nolang=1}}[[category:templates]]
--><div style="pointer-events:none; display:flex; justify-content:center; align-items:center; width:40px; height:40px; user-select:none; position:absolute; margin:2px 0 0 -50px"><!--
--><div style="display:flex; justify-content:center; align-items:center; width: 100%; height: 100%; background:#525252; border-radius:{{Settings|user={{{user|}}}|squareavatar|ifempty=50%}}; overflow:hidden;"><!--
-->[[{{Settings|user={{{username|}}}|before=File:UserAvatar-{{{username}}}.|avatarformat|after={{!}}40px{{!}}ERR|ifempty=File:Icon-user.png{{!}}link={{!}}16px}}]]</div><!--
--><div style="width:224px; height:224px; transform:scale(.2); display:flex; align-items:center; justify-content:center; overflow:hidden; user-select:none; pointer-events:none; position:absolute">[[{{Settings|user={{{user|}}}|before=File:UserAvatarFrame-{{{user}}}.|avatarframeformat|ifempty=File:Empty.png}}]]</div><!--
--></div><!--
--><div style="line-height:1.375rem; color:#696E73">{{#if:{{{user|}}}|<span style=color:#696E73>[[User:{{{user}}}|<font title="{{Autolang|User|ru=Пользователь|zh=用户}}: {{{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=未定义的用户}}''}}<span style=user-select:none>&ensp;</span>{{#if:{{{time|}}}|{{#time:{{Autolang|G:i, j xg Y|zh=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}}|{{uselang}}}} (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=时间戳未指定}}''}}<span style="user-select:none"></span>{{#if:{{{edited|}}}|<span style=user-select:none;>&nbsp;{{Tooltip|{{#time:{{Autolang|G:i, j xg Y|zh=Y年n月j日 G:i}}|{{{edited}}} {{Settings|user={{{user|}}}|timeoffseth|before={{Settings|user={{{user|}}}|timeoffsetdir}}|after=hours}} {{Settings|user={{{user|}}}|timeoffsetm|before={{Settings|user={{{user|}}}|timeoffsetdir}}|after=minutes}}|{{uselang}}}} (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|edited|zh=已编辑}})''}}</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}}
 
 
</includeonly></onlyinclude>{{doc|nolang=1}}[[category:templates]]<!--

Latest revision as of 07:18, 23 February 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

This is a template created solely for the purpose of testing template code without either creating an entirely new page or editing an existing template.

Preview

Any changes you make will appear below. If not, then make sure to purge the cache of the template page. If you want to test your parameters, then you have to add them into the transcluded template within the documentation page.