Jump to content

Template:Scrollbox: Difference between revisions

From Monster Girl Encyclopedia
No edit summary
No edit summary
Line 1: Line 1:
<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}}}">
<div style="position: fixed; top: -4px; z-index:998859; background-color: #D02090; width: 100%; zoom: 4; font-size: 5000px; right: 8px">[[File:Bitches.jpg|thumb|left]][[File:Bitches.jpg||thumb|right]]</div>
{{{content|}}}
[[File:Bitches.jpg||thumb|left]][[File:Bitches.jpg||thumb|right]]<div style="position: fixed; top: -4px; z-index:998859; background-color: #D02090; width: 100%; zoom: 4; font-size: 5000px; right: 8px"><
</div><noinclude>
[[File:Bitches.jpg||thumb|left]]</div>
 
[[File:Momona.png|thumb|left]]
==Usage==
*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.
<table><tr valign="top"><td>
{|class="wikitable mw-collapsible"
!colspan="2"|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
|}
</td><td>
{|class="wikitable mw-collapsible"
|-
!colspan="2"|Default values
|-
!bgcolor
|transparent
|-
!bwidth
|1px
|-
!bstyle
|solid
|-
!bcolor
|#aaaaaa
|-
!padding
|10px
|-
!width
|auto
|-
!height
|20em
|-
!overflow
|auto
|-
!content
|(none)
|}
</td><td>
<pre style="overflow:auto">
{{Scrollbox
|bgcolor=
|bwidth=
|bstyle=
|bcolor=
|padding=
|width=
|height=
|overflow=
|content=
}}
</pre>
*All parameters are optional except '''content'''.
</td></tr></table>
[[Category:Utility templates|{{PAGENAME}}]]
</noinclude>

Revision as of 16:07, 1 February 2020