Template:Box1: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
m (Protected "Template:Box1" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="margin:0em 1em 1em 1em;float:left"
{{Abs_Box1
| style=" vertical-align:top; border:1px solid Sienna; background-color:Cornsilk;" | {{#if:{{{content|}}} |
|width=100%
<div style="border-bottom:1px solid Sienna; background-color:Wheat; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;">{{{title}}}</div>
|border_color=#ffffff
<div style="padding:1em 5em 1em 3em;"> <!-- Top, Right, Bottom, Left -->
|title_bgcolor=#074A8B
{{{content}}}</div> }}
|content_bgcolor=#ffffff
|}
|title={{#if:{{{title|}}} | {{{title}}} }}
|content={{#if:{{{content|}}} | {{{content}}} }}
}}


<noinclude>
<noinclude>
==Preview==
==Preview==
<b>This box will take all the length of its parent element.</b>
{{Box1
{{Box1
|title=My Title
|title=My Title
Line 14: Line 17:
bla bla bla
bla bla bla
}}
}}
 
<div style="clear:both"></div>
==Usage==
==Usage==
copy and paste to use the template
copy and paste to use the template

Latest revision as of 02:42, 1 November 2011



Preview

This box will take all the length of its parent element.

My Title

My heading

bla bla bla



Usage

copy and paste to use the template

{{Box1
|title=My Title
|content=
===My heading===
bla bla bla
}}