Template:Box-header-round: Difference between revisions
Jump to navigation
Jump to search
(Add padding so that the edit link doesn't overrun the box.) |
m (Protected "Template:Box-header-round" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 9: | Line 9: | ||
-->margin-bottom: 0px;<!-- | -->margin-bottom: 0px;<!-- | ||
-->border-bottom: none;<!-- | -->border-bottom: none;<!-- | ||
-->{{border-radius|1.5em 1.5em 0 0}}"><!-- | -->{{border-radius|1.5em 1.5em 0 0}}<!-- | ||
-->{{{titlestyle|}}};"><!-- | |||
--><span class="plainlinks" <!-- EDIT LINK PARAMETERS | --><span class="plainlinks" <!-- EDIT LINK PARAMETERS | ||
-->style="float:right;<!-- | -->style="float:right;<!-- | ||
Line 15: | Line 16: | ||
-->font-size: 80%;<!-- | -->font-size: 80%;<!-- | ||
-->padding-right: 0.5em;"><!-- | -->padding-right: 0.5em;"><!-- | ||
--><font color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage}}}|action=edit}} edit]</font> <!-- | --><font color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} edit]</font> <!-- | ||
--></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;{{border-radius|0 0 1.5em 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}}