Template:Simple Box: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| {{#if:{{{border|}}} | border="{{{border}}}" }} style=" {{#if:{{{color|}}} | background-color:{{{color}}}; }} {{#if:{{{width|}}} | width:{{{width}}} }}"
{| {{#if:{{{border|}}} | border="{{{border}}}" }} style=" margin:0em 0em 1em 0em;float:left;{{#if:{{{width|}}} | width:{{{width}}} }}"
|-
|- style="{{#if:{{{title_bgcolor|}}} | background-color:{{{title_bgcolor}}}; }} "
| {{#if:{{{title|}}} | {{{title}}} }}
|   {{#if:{{{title|}}} | {{{title}}} }}
|-
|- style="{{#if:{{{data_bgcolor|}}} | background-color:{{{data_bgcolor}}}; }} "
| {{#if:{{{data|}}} | {{{data}}} }}
|   {{#if:{{{data|}}} | {{{data}}} }}
|}
|}
<noinclude>
==Preview==
{{Simple_Box
|title_bgcolor=#0000ff
|data_bgcolor=#00ff00
|width=100%
|border=1
|title= <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;">Title1 </div>
|data= <div style="padding:2em 5em 0em 3em;"> Data </div>
}}
==Usage==
Copy and paste the code below and modify according to your needs
<pre>
{{Simple_Box
|title_bgcolor=#0000ff <!-- blue -->
|data_bgcolor=#00ff00  <!-- green -->
|width=100%
|border=1
|title= <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;">Title1 </div>
|data= <div style="padding:2em 5em 0em 3em;"> Data </div>
}}
</pre>
</noinclude>
<noinclude>[[Category:T/Other]]</noinclude>

Latest revision as of 15:20, 8 November 2011


Preview

Title1
Data


Usage

Copy and paste the code below and modify according to your needs

{{Simple_Box
|title_bgcolor=#0000ff <!-- blue -->
|data_bgcolor=#00ff00  <!-- green -->
|width=100%
|border=1
|title= <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;">Title1 </div>
|data= <div style="padding:2em 5em 0em 3em;"> Data </div>
}}