Template:ScrollBox: Difference between revisions
Jump to navigation
Jump to search
(ScrollBoxes are a good idea in theory but nobody seems to conform to this template's standards. Even using relative measurements like "em" is not a sure fire thing. Nested scrollboxes are nasty on nearly any device, and completely break page "printing") |
(Wow, should of fixed this template. Docs are being made.) |
||
Line 1: | Line 1: | ||
< | {{lang|Template:Scrollbox}}<!-- | ||
--><onlyinclude><includeonly><!-- {{Lang}} causes mysterious line break due to ParserExtensions, but apparently this prevents indenting using :{{ExpandBox|...}}. Sigh --> | |||
<!-- | |||
++ HEADER ++ | |||
--> | |||
{{#if:{{{title|}}} | <p style="font-style:italic;border-bottom:1px solid #3A3937;">{{{title}}}:</p> }} | |||
<!-- | |||
++ BOX CONTENTS ++ | |||
<div | --> | ||
<div style="overflow:auto;max-height:30em; | |||
{{#if:{{{bottom-border|}}} | border-bottom:1px solid #3A3937;}} | |||
{{#if:{{{noscroll|}}} | max-height:100%; | | |||
<!-- Since {{{noscroll|}}} isn't used, lets set if we should set the max-height.--> | |||
<!-- Since {{{noscroll|}}} isn't used, lets set the max-height.--> | |||
{{#if:{{{maxheight|}}} | max-height:{{{maxheight|}}};}} | |||
}} | |||
">{{{1}}}</div></includeonly></onlyinclude> | |||
{{documentation}} | |||
<!-- Add categories to the /doc subpage, not here --> |
Revision as of 07:34, 31 October 2021
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.