Template:Sidebox: Difference between revisions
From Step Mods | Change The Game
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="width: | <includeonly><div style="width:{{{width|300}}}px;float:{{{1}}}; font-size:0.95em; border:1px solid #4f5860; overflow: hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:10px; text-align:justify; background:transparent; margin: 10px;"><span style="font-size:1.25em; color:#9BC1D5; font-weight: bold;">{{{2}}}</span><br><hr>{{{3}}}</div></includeonly> | ||
<noinclude> | <noinclude> | ||
{{Fs|1.2em|{{Fc|#e6b69e|Create a left or right floating sidebar.}} }}<br> | {{Fs|1.2em|{{Fc|#e6b69e|Create a left or right floating sidebar.}} }}<br> | ||
Line 8: | Line 8: | ||
</pre> | </pre> | ||
Yields: | Yields: | ||
{{Sidebar|right|This is a heading|This is my sidebar with as much text as I could quickly write.}} | {{Sidebar|right|width=450|This is a heading|This is my sidebar with as much text as I could quickly write.}} | ||
{{clear}} | {{clear}} | ||
Syntax (left): | Syntax (left): | ||
Line 15: | Line 15: | ||
</pre> | </pre> | ||
Yields: | Yields: | ||
{{Sidebar|left|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.}} | {{Sidebar|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.}} |
Revision as of 07:05, February 16, 2013
Create a left or right floating sidebar.
Syntax (right):
{{Sidebar|right|This is a heading|This is my sidebar with as much text as I could quickly write.}}
Yields: Template:Sidebar
Syntax (left):
{{Sidebar|left|This is a heading|This is my sidebar with as much text as I could quickly write. ...}}
Yields: Template:Sidebar