Template:Sidebox

From Step Mods | Change The Game
Revision as of 19:55, July 29, 2020 by TechAngel85 (talk | contribs) (Added missing parameter definitions and added parameter to control header color.)


Purpose & Usage[edit source]

Create a left or right floating sidebox.

Parameters[edit source]

{{{1}}} Required
First unmarked parameter defines the float position of the box.
Accepts: left || right
{{{2}}} Required
Second unmarked parameter defines the Header text for the box.
{{{3}}} Required
Third unmarked parameter defines the content text for the box.
width
Default= 300
Width of the box in pixels.
headerColor
Default= #9BC1D5
Defines the color of the Header text.


Examples[edit source]

Code:

{{Sidebox|right|This is a heading|This is my sidebar with as much text as I could quickly write.}}

Result:

This is a heading

This is my sidebar with as much text as I could quickly write.

Code:

{{Sidebox|left|width=600|This is a heading|This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write.}}

Result:

This is a heading

This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write. This is my sidebar with as much text as I could quickly write.

See Also[edit source]

None