Template:Box1: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
(Created page with "{| cellspacing="0" cellpadding="0" style="margin:0em 0em 1em 0em; width:100%" | style="width:100%; vertical-align:top; border:1px solid Sienna; background-color:Cornsilk;" | <div...")
 
m (Protected "Template:Box1" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="margin:0em 0em 1em 0em; width:100%"
{{Abs_Box1
| style="width:100%; vertical-align:top; border:1px solid Sienna; background-color:Cornsilk;" |
|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:2em 5em 0em 3em;"> <!-- Top, Right, Bottom, Left -->
|title_bgcolor=#074A8B
{{{content}}}</div>
|content_bgcolor=#ffffff
|}
|title={{#if:{{{title|}}} | {{{title}}} }}
|content={{#if:{{{content|}}} | {{{content}}} }}
}}


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

Latest revision as of 03: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
}}