Template:Changelog: Difference between revisions

From The TF2 Sourcemod Wiki
Jump to navigation Jump to search
m Fixed formatting issue caused by <br> touching placeholder.
m Nevermind didnt work.
Line 1: Line 1:
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|80%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}};  -moz-border-radius-topleft:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;"><br> {{{text}}}</div></td><td style="width:8px;"></td></tr></table>
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|80%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}};  -moz-border-radius-topleft:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;">{{{text}}}</div></td><td style="width:8px;"></td></tr></table>
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Revision as of 00:42, 5 February 2025

{{{text}}}

Usage: {{Scroll box |width = //width of the box in pixel or percent (default = 100%) |height = //height of the box in pixel (default = 230px) |text = //text that should be displayed inside this frame. Note: the scroll bar will appear only if the text is long enough to overflow the given height (required field) }}

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Widthwidth

Size of the box horizontally

Suggested values
80%
Auto value
80%
Numberoptional
Changelogtext

Spaces and returns will also be passed

Unknownoptional
Heightheight

Height of the box (Recommend to leave default)

Unknownoptional