Template:Box-header-round: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(doc - style)
Line 20: Line 20:
   --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><font color="{{{titleforeground|#000000}}}">{{{title}}}</font></h2></div>
   --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><font color="{{{titleforeground|#000000}}}">{{{title}}}</font></h2></div>
<div style="display: block; border: 1px solid {{{border|#99c}}}; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: 1em; margin-top: 0em; padding-top: .3em;{{border-radius|0 0 1.5em 1.5em}}"><noinclude>
<div style="display: block; border: 1px solid {{{border|#99c}}}; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: 1em; margin-top: 0em; padding-top: .3em;{{border-radius|0 0 1.5em 1.5em}}"><noinclude>
[[Category:Formatting templates]]{{doc}}
[[Category:Formatting templates]]</div>{{doc}}
</noinclude>
</noinclude>

Revision as of 06:07, 12 March 2012

[{{fullurl:{{{editpage}}}|action=edit}} edit] 

{{{title}}}

[edit] Template documentation

Usage

{{Box-header-round}}
BOX-CONTENT-TEXT
</div>

Inclusion of </div> closes the div section created by this template's use.

Parameters

border
Border color
Default: #99c
titlebackground
Title background color
Default: #ccf
titleforeground
Title foreground color
Default: #000
titlestyle
Additions to title style
title
Title text
background
Background color
Default: #fff
foreground
Foreground color
Default: #000
style
Additions to box style
editpage
Edit page
Default: {{FULLPAGENAME}}