Template:User page/sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 89: | Line 89: | ||
|}}}} | |}}}} | ||
<!-- Links --><!-- Maybe it should be renamed --> | <!-- Links --><!-- Maybe it should be renamed --> | ||
{{#if:{{{website|}}}{{{ | {{#if:{{{website|}}}{{{facebook|}}}{{{gamebanana|}}}{{{github|}}}{{{gitlab|}}}{{{patreon|}}}{{{reddit|}}}{{{lambdageneration|}}}{{{soundcloud|}}}{{{gamemaps|}}}{{{moddb|}}}{{{twhl|}}}{{{gamerlab|}}}{{{steam|}}}{{{steam id|}}}{{{twitter|}}}{{{youtube|}}}{{{discord|}}} | ||
| <div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; {{#switch:{{{theme}}} | | <div style="display:flex; flex-direction:column; box-sizing:border-box; width:100%; {{#switch:{{{theme}}} | ||
| dark = background:#212121; box-shadow:rgba(0, 0, 0, .45) 0 0 25px | | dark = background:#212121; box-shadow:rgba(0, 0, 0, .45) 0 0 25px | ||
Line 110: | Line 110: | ||
-->{{#if:{{{reddit|}}} | <span>{{reddit|user/{{{reddit}}}|Reddit}}</span> |}}<!-- | -->{{#if:{{{reddit|}}} | <span>{{reddit|user/{{{reddit}}}|Reddit}}</span> |}}<!-- | ||
-->{{#if:{{{lambdageneration|}}} | <span>[https://community.lambdageneration.com/user/{{{lambdageneration}}} Lambda Generation]</span> |}}<!-- | -->{{#if:{{{lambdageneration|}}} | <span>[https://community.lambdageneration.com/user/{{{lambdageneration}}} Lambda Generation]</span> |}}<!-- | ||
-->{{#if:{{{soundcloud|}}} | -->{{#if:{{{soundcloud|}}} | <span>[https://www.soundcloud.com/{{{soundcloud}}} SoundCloud]</span> |}}<!-- | ||
-->{{#if:{{{gamemaps|}}} | -->{{#if:{{{gamemaps|}}} | <span>[https://www.gamemaps.com/profile/{{{gamemaps}}} GameMaps]</span> |}}<!-- | ||
-->{{#if:{{{moddb|}}} | <span>{{Moddb|page=other|members/{{{moddb}}}|ModDB}}</span> |}}<!-- | -->{{#if:{{{moddb|}}} | <span>{{Moddb|page=other|members/{{{moddb}}}|ModDB}}</span> |}}<!-- | ||
-->{{#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|}}} | -->{{#if:{{{gamerlab|}}} | <span>[https://gamer-lab.com/eng/user/{{{gamerlab}}} Gamer-Lab]</span> |}}<!-- | ||
-->{{#if:{{{steam|}}}{{{steam id|}}} | <span>[http://steamcommunity.com/{{#if:{{{steam|}}}|id|profiles}}/{{{steam | -->{{#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}} |