Template:User page/sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 115: | Line 115: | ||
-->{{#if:{{{twhl|}}} | <span>[https://twhl.info/index.php/user/view/{{{twhl}}} TWHL]</span> |}}<!-- | -->{{#if:{{{twhl|}}} | <span>[https://twhl.info/index.php/user/view/{{{twhl}}} TWHL]</span> |}}<!-- | ||
-->{{#if:{{{gamerlab|}}} | <span>[https://gamer-lab.com/eng/user/{{{gamerlab}}} Gamer-Lab]</span> |}}<!-- | -->{{#if:{{{gamerlab|}}} | <span>[https://gamer-lab.com/eng/user/{{{gamerlab}}} Gamer-Lab]</span> |}}<!-- | ||
-->{{#if:{{{steam|}}}{{{steam id|}}} | <span>[[File:Steam icon.png|16px|link=http://steamcommunity.com/{{#if:{{{steam|}}}|id|profiles}}/{{{steam|{{{steam id}}}}}} | -->{{#if:{{{steam|}}}{{{steam id|}}} | <span>[[File:Steam icon.png|16px|link=http://steamcommunity.com/{{#if:{{{steam|}}}|id|profiles}}/{{{steam|{{{steam id}}}}}}|steam]]</span> |}}<!-- | ||
-->{{#if:{{{twitter|}}} | <span>{{Twitter|{{{twitter}}}|Twitter}}</span> |}}<!-- | -->{{#if:{{{twitter|}}} | <span>{{Twitter|{{{twitter}}}|Twitter}}</span> |}}<!-- | ||
-->{{#if:{{{youtube|}}} | <span>{{Yt|{{{youtube}}}|YouTube}}</span> |}}<!-- | -->{{#if:{{{youtube|}}} | <span>{{Yt|{{{youtube}}}|YouTube}}</span> |}}<!-- | ||
Line 138: | Line 138: | ||
}}; font-weight:bold; padding:4px 10px;">{{User page/strings|Userboxes}}</div> | }}; font-weight:bold; padding:4px 10px;">{{User page/strings|Userboxes}}</div> | ||
<div style="display:grid; gap:.3em; overflow:hidden; padding:10px">{{#if:{{{userboxes|}}}|{{{userboxes}}}|}}</div> | <div style="display:grid; gap:.3em; overflow:hidden; padding:10px">{{#if:{{{userboxes|}}}|{{{userboxes}}}|}}</div> | ||
</div>| | |||
}}<!-- | |||
Infobox | |||
-->{{#if:{{{infobox|}}}| | |||
<div style="display:flex; flex-direction:column; width: 100%; box-sizing:border-box; {{#switch:{{{theme}}} | |||
| dark = background:#212121; box-shadow:rgba(0, 0, 0, .45) 0 0 25px | |||
| #default = background:#303030; border:1px solid #454545 | |||
}}; overflow:hidden; border-radius:4px; z-index:2;"> | |||
<div style="background:{{#switch:{{{theme}}} | |||
| dark = #282828 | |||
| #default = #454545 | |||
}}; font-weight:bold; padding:4px 10px;">{{#if:{{{infoboxtitle|}}}|{{{infoboxtitle}}}|info box}}</div> | |||
<div style="display:grid; gap:.3em; overflow:hidden; padding:10px">{{#if:{{{infobox|}}}|{{{infobox}}}|}}</div> | |||
</div>| | </div>| | ||
}} | }} | ||
</div></onlyinclude> | </div></onlyinclude> | ||
---- | |||
{{{{FULLPAGENAME}}|infobox=test abc 123|infoboxtitle=test title 456}} |