Template:ScrollBox: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (Created page with '<noinclude> Use this to rein in the KV, I and O lists on entity pages. </noinclude>''{{{title}}}:'' <div style="margin-left:1em;padding:0 .5em;max-height:30em;overflow:auto;"> {…') |
No edit summary |
||
(28 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
< | {{lang|Template:ScrollBox}}<!-- | ||
--><onlyinclude><includeonly><!-- | |||
< | ++ HEADER ++ | ||
<div style=" | |||
{{{1}}} | -->{{#if:{{{title|}}} | <div style="font-style:italic;">{{{title}}}:</div> }}<!-- | ||
</ | |||
++ BOX CONTENTS ++ | |||
--><div style=" | |||
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.