Template:Box-header-round: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(reduce corners until I can figure how to integrate heading into larger radius)
m (Protected "Template:Box-header-round" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(25 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<div style="clear: both;"></div>  
__NOEDITSECTION__ __NOTOC__<div style="clear: both;"></div>  
<div style="border: 1px solid {{{border}}}; background: {{{titlebackground}}}; color: {{{titleforeground}}}; padding: .1em; text-align: center; font-weight: bold; font-size: 100%; margin-bottom: 0px; border-bottom: none;-moz-border-radius-topright: 1.5em;-moz-border-radius-topleft: 1.5em;"><span style="float:right; margin-bottom:.1em; font-size:90%;">'''''[{{fullurl:{{{editpage}}}|action=edit}} edit]'''''</span >{{{title}}}</div>
<div style="border: 1px solid {{{border|#99c}}};<!--
<div style="display: block; border: 1px solid {{{border}}}; vertical-align: top; background: {{{background}}}; color: {{{foreground}}}; margin-bottom: 10px; padding: 1em; margin-top: 0em; padding-top: .3em;-moz-border-radius-bottomright: 1.5em;-moz-border-radius-bottomleft: 1.5em;">
        -->background: {{{titlebackground|#ccf}}};<!--
        -->color: {{{titleforeground|#000}}};<!--
        -->padding: .1em;<!--
        -->text-align: center;<!--
        -->font-weight: bold;<!--
        -->font-size: 100%;<!--
        -->margin-bottom: 0px;<!--
        -->border-bottom: none;<!--
        -->{{border-radius|1.5em 1.5em 0 0}}<!--
        -->{{{titlestyle|}}};"><!--
  --><span class="plainlinks" <!-- EDIT LINK PARAMETERS
        -->style="float:right;<!--
              -->margin-bottom:.1em;<!--
              -->font-size: 80%;<!--
              -->padding-right: 0.5em;"><!--
        --><font color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} edit]</font>&nbsp;<!--
  --></span ><!--
  --><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}} {{{style|}}};"><noinclude>
</div>{{doc}}
</noinclude>

Latest revision as of 20:21, 27 July 2013

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}}