Difference between revisions of "User:Jestie/Template:Userboxes"

From Team Fortress Wiki
Jump to: navigation, search
m (muahahahha my entire user page will be comic snas)
m (made the userboxes thing itself collapsible whilst also having the subboxes non collapsible)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<table style="width:{{{width|100}}}%; border:2px solid {{{colour|#F3A957}}}; border-bottom:2px solid {{{colour|#F3A957}}}; -moz-border-radius:0 14px 7px 7px; border-top-right-radius:0px; border-bottom-right-radius:0px; border-bottom-left-radius:0px; margin-top:10px" class="headertemplate"><tr>
+
{{User:Payn/Template:Border Collapsible
<td class="gradient" style="text-align:left; font-size:110%; font-weight:bold; color:black; background-color:{{{colour|#F3A957}}}; -moz-border-radius:0 11px 0 0; border-top-right-radius:0px; padding:5px;">{{#if:{{{image|}}}|[[File:{{{image}}}{{!}}{{#if:{{{image-size|}}}|{{{image-size}}}|16px}}{{!}}link={{#if:{{{image-link|}}}|{{{image-link}}}|}}]]&nbsp;&nbsp;}}<span style="font-family:Comic Sans MS">user boxes</span></td></tr>
+
| collapsed = false
<tr><td style="padding:5px">
+
| title = userboxes
 +
| image = Taunt_Fresh_Brewed_Victory.png
 +
| image-size = 40px
 +
| content =
 
<div style="max-height:400px; overflow-y:scroll; overflow-x: auto; border:1px solid #DDD; border-style:solid none; margin-top: none;>
 
<div style="max-height:400px; overflow-y:scroll; overflow-x: auto; border:1px solid #DDD; border-style:solid none; margin-top: none;>
 
<div style="background: #ffffff; color: #000000;">
 
<div style="background: #ffffff; color: #000000;">
Line 9: Line 12:
 
</div>
 
</div>
 
</div>
 
</div>
</table>
+
}}

Revision as of 12:28, 10 May 2024