Jump to content

Template:Scrollbox: Difference between revisions

From Monster Girl Encyclopedia
No edit summary
imported>Ochiverde
m Protected "Template:Scrollbox": Excessive vandalism ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="background-color:{{{bgcolor|transparent}}}; border-width:{{{bwidth|1px}}}; border-style:{{{bstyle|solid}}}; border-color:{{{bcolor|#aaaaaa}}}; padding:{{{padding|10px}}}; width:{{{width|auto}}}; height:{{{height|20em}}}; overflow:{{{overflow|auto}}}">
<div style="background-color:{{{bgcolor|transparent}}}; border-width:{{{bwidth|1px}}}; border-style:{{{bstyle|solid}}}; border-color:{{{bcolor|#aaaaaa}}}; padding:{{{padding|1px}}}; width:{{{width|auto}}}; height:{{{height|20em}}}; overflow:{{{overflow|auto}}}">
{{{content|sad}}}
{{{content|}}}
</div><noinclude>
</div><noinclude>



Latest revision as of 13:45, 18 April 2024

Usage[edit source]

  • Use this template to insert a scrollable textarea into a page.
  • Do not subst: this template, but rather insert it in the manner described below.
Template parameters
bgcolor Background color
bwidth Border width
bstyle Border style
bcolor Border color
padding Padding
width Width
height Height
overflow Overflow status
content Main text area for content
Default values
bgcolor transparent
bwidth 1px
bstyle solid
bcolor #aaaaaa
padding 10px
width auto
height 20em
overflow auto
content (none)
{{Scrollbox
|bgcolor=
|bwidth=
|bstyle=
|bcolor=
|padding=
|width=
|height=
|overflow=
|content=
}}
  • All parameters are optional except content.