Difference between revisions of "Template:Layout box"

From Lazarus wiki
 
Line 1: Line 1:
 
<noinclude>{| cellspacing="0" cellpadding="0"
 
<noinclude>{| cellspacing="0" cellpadding="0"
</noinclude>| width="{{{width|50%}}}" height="100%" style="border: 1px solid #CCC" |
+
</noinclude>| width="{{{width|50%}}}" height="100%" style="border: 1px solid #CCC" colspan="{{{colspan|1}}}"|
 
<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=...|width=...|''text''}}</code> (acts as table cell)
+
'''Usage:''' <code><nowiki>{{</nowiki>layout box|bg=...|title=...|width=...|colspan=...|''text''}}</code> (acts as table cell)

Latest revision as of 07:50, 15 May 2012

{{{title}}}

{{{1}}}

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