Template:Box-header-round: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Making code more readable with comment tags, plainlinking "edit" link)
m (Protected "Template:Box-header-round" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(20 intermediate revisions by 9 users not shown)
Line 9: Line 9:
         -->margin-bottom: 0px;<!--
         -->margin-bottom: 0px;<!--
         -->border-bottom: none;<!--
         -->border-bottom: none;<!--
         -->-moz-border-radius-topright: 1.5em;<!--
         -->{{border-radius|1.5em 1.5em 0 0}}<!--
         -->-moz-border-radius-topleft: 1.5em;"><!--
         -->{{{titlestyle|}}};"><!--
   --><span class="plainlinks" <!-- EDIT LINK PARAMETERS
   --><span class="plainlinks" <!-- EDIT LINK PARAMETERS
         -->style="float:right;<!--
         -->style="float:right;<!--
               -->margin-bottom:.1em;<!--
               -->margin-bottom:.1em;<!--
               -->font-size: 80%;"><!--
               -->font-size: 80%;<!--
         --><font color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage}}}|action=edit}} edit]</font>&nbsp;<!--
              -->padding-right: 0.5em;"><!--
         --><font color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} edit]</font>&nbsp;<!--
   --></span ><!--
   --></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>
   --><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;-moz-border-radius-bottomright: 1.5em;-moz-border-radius-bottomleft: 1.5em;">
<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}}