Open main menu
Home
Random
Log in
Settings
About Drawn to Life Wiki
Disclaimers
Drawn to Life Wiki
Search
Changes
← Older edit
Template:ScrollBox
(view source)
Revision as of 21:44, 18 December 2020
87 bytes added
,
21:44, 18 December 2020
no edit summary
Line 1:
Line 1:
−
<includeonly><table cellpadding="0" cellspacing="0" border="0" align="center" style="width:{{{w|
auto
}}}; margin-bottom:0px; margin-top:0px; overflow-x: hidden;"><tr><td style="background:transparent;"><div style="overflow:
auto
; height:auto; max-height:{{{height|{{{h|300px}}}}}}; width:{{{width|{{{w|100%}}}}}}; background:transparent;">
+
<includeonly><table cellpadding="0" cellspacing="0" border="0" align="center" style="width:{{{w|
100%
}}}; margin-bottom:0px; margin-top:0px; overflow-x: hidden
; box-shadow: #0000003b 5px 0px 7px inset; clip-path: inset(0px 0px 0px 11px); padding: 1px 25px 1px 25px
;"><tr><td style="background:transparent;"><div style="overflow
-x
:
hidden
; height:auto; max-height:{{{height|{{{h|300px}}}}}}; width:{{{width|{{{w|100%}}}}}}; background:transparent;">
{{{content|{{{1}}}}}}
{{{content|{{{1}}}}}}
−
{{Spacer}}
</div></td><td style="width:5px;"></td></tr></table></includeonly><noinclude>
</div></td><td style="width:5px;"></td></tr></table></includeonly><noinclude>
==Usage==
==Usage==
Line 8:
Line 7:
{{ScrollBox|
{{ScrollBox|
|content = ScrollBox Content
|content = ScrollBox Content
−
|height = Height (defaults to
100px
)
+
|height = Height (defaults to
300px
)
−
|width = Width (
automatic unless overridden
)
+
|width = Width (
defaults to 100%
)
}}
}}
</pre>
</pre>
BakiDance
Bureaucrats
, content-mod,
Forum administrators
,
Interface administrators
, staff,
Suppressors
,
Administrators
6,230
edits