Template:Sidebox
From Step Mods | Change The Game
Template:Sidebox[edit source]
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.
- contentAlign
- Default= justify
- Controls the alignment of the default text within 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:
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:
Related Templates[edit source]
None