Template:ScrollBox: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (new colour scheme) |
No edit summary |
||
(11 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
< | {{lang|Template:ScrollBox}}<!-- | ||
--><onlyinclude><includeonly><!-- | |||
++ HEADER ++ | |||
{{ | -->{{#if:{{{title|}}} | <div style="font-style:italic;">{{{title}}}:</div> }}<!-- | ||
++ BOX CONTENTS ++ | |||
--><div style=" | |||
{{{1}}} | overflow: auto; | ||
</ | background-color: {{{color|none}}}; | ||
{{#if: {{{title|}}} | border-top:1px solid #444; }} | |||
{{#if: {{{bottom-border| {{#ifeq:{{{noscroll|0}}} | 0 | {{{title|}}} }} }}} | border-bottom:1px solid #444; }} | |||
border-color: {{{border-color|#3A3937}}}; <!-- overrides previous colors --> | |||
{{#ifeq: {{{noscroll|0}}} | 0 | max-height:{{{maxheight|30em}}}; | max-height:100%; }} | |||
{{{style|}}}; <!-- can override anything because it's the last --> | |||
">{{{1}}}</div><!-- | |||
--></includeonly></onlyinclude> | |||
{{doc}} | |||
<!-- Add categories to the /doc subpage, not here --> |
Latest revision as of 17:54, 11 November 2024
The above documentation is transcluded from Template:ScrollBox/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.