Difference between revisions of "Template:Layout box"

From Lazarus wiki
(Created page with "<noinclude>{| cellspacing="0" cellpadding="0" </noinclude>| width="50%" height="100%" style="border: 1px solid #CCC" | <h2 style="font-size: 1.25em; font-weight: bold; margin:...")
 
Line 1: Line 1:
 
<noinclude>{| cellspacing="0" cellpadding="0"
 
<noinclude>{| cellspacing="0" cellpadding="0"
</noinclude>| width="50%" height="100%" style="border: 1px solid #CCC" |
+
</noinclude>| width="{{{width}}}" height="100%" style="border: 1px solid #CCC" |
 
<h2 style="font-size: 1.25em; font-weight: bold; margin: 0; padding: 0.4em; border-bottom: 1px solid #CCC; background: {{{bg|#EEE}}}">{{{title}}}</h2>
 
<h2 style="font-size: 1.25em; font-weight: bold; margin: 0; padding: 0.4em; border-bottom: 1px solid #CCC; background: {{{bg|#EEE}}}">{{{title}}}</h2>
 
<div style="padding: 0.5em">
 
<div style="padding: 0.5em">
Line 6: Line 6:
 
</div><noinclude>
 
</div><noinclude>
 
|}
 
|}
'''Usage:''' <code><nowiki>{{</nowiki>layout box|bg=...|title=...|''text''}}</code> (acts as table cell)
+
'''Usage:''' <code><nowiki>{{</nowiki>layout box|bg=...|title=...|width=...|''text''}}</code> (acts as table cell)

Revision as of 07:42, 15 May 2012

{{{title}}}

{{{1}}}

Usage: {{layout box|bg=...|title=...|width=...|text}} (acts as table cell)