Template:ScrollBox: Difference between revisions
Jump to navigation
Jump to search
(Wow, should of fixed this template. Docs are being made.) |
No edit summary |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lang|Template: | {{lang|Template:ScrollBox}}<!-- | ||
--><onlyinclude><includeonly><!-- | --><onlyinclude><includeonly><!-- | ||
++ HEADER ++ | ++ HEADER ++ | ||
--> | |||
{{#if:{{{title|}}} | < | -->{{#if:{{{title|}}} | <div style="font-style:italic;">{{{title}}}:</div> }}<!-- | ||
<!-- | |||
++ BOX CONTENTS ++ | ++ BOX CONTENTS ++ | ||
--> | |||
<div style="overflow:auto; | --><div style=" | ||
{{#if:{{{ | overflow: auto; | ||
{{#if:{{{noscroll|}}} | | 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%; }} | ||
">{{{1}}}</div></includeonly></onlyinclude> | {{{style|}}}; <!-- can override anything because it's the last --> | ||
{{ | ">{{{1}}}</div><!-- | ||
--></includeonly></onlyinclude> | |||
{{doc}} | |||
<!-- Add categories to the /doc subpage, not here --> | <!-- 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.