Difference between revisions of "Template:Box-header"

From English Wiki
Jump to navigation Jump to search
m
m
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Box-header
+
<div style="clear: both; <!--
| title=1
+
        -->border: {{{border-type|solid}}} {{{titleborder|{{{border|#ababab}}}}}}; <!--
| editpage=2
+
        -->border-width: {{{border-top|{{{border-width|1}}}}}}px {{{border-width|1}}}px 0; <!--
| titleforeground=black
+
        -->background: {{{titlebackground|#cacada}}};<!--
| titlebackground=#bcbcbc
+
        --> color: {{{titleforeground|#000}}}; <!--
| background=#bcbcbc
+
        -->padding: {{{padding|.1em}}};<!--
| viewpage=2
+
        -->padding-top: {{{padding-top|.1em}}};<!--
}}
+
        -->padding-left: {{{padding-left|.1em}}};<!--
 +
        -->padding-right: {{{padding-right|.1em}}};<!--
 +
        -->padding-bottom: {{{padding-bottom|.1em}}};<!--
 +
        -->text-align: {{{title-align|center}}};<!--
 +
        -->font-family: {{{font-family|sans-serif}}};<!--
 +
        -->font-size:{{{titlefont-size|100%}}};<!--
 +
        -->margin-bottom: 0px;<!--
 +
        -->">{{#if: {{{EDITLINK|}}} ||
 +
<div class="plainlinks" <!--
 +
  -->style="float:right;<!--
 +
        -->margin-bottom:.1em;<!--
 +
        -->font-size:{{{font-size|80%}}};<!--
 +
        --> color: {{{titleforeground|#000}}}">
 +
{{#if: {{{noedit|}}} || [{{fullurl:{{{editpage|/}}}|action=edit{{#if: {{{section|}}} |&section={{{section}}}}}}} <span style="color: {{{titleforeground|#000}}}">edit</span>] }}{{#if: {{{viewpage|}}} |'''·''' [[:{{{viewpage}}}|<span style="color:{{{titleforeground|black}}};">view</span>]] }}{{{top|}}}
 +
</div>}}<!-- endif EDITLINK
 +
-->
 +
{{#if: {{{SPAN|}}} |<span style="font-family:{{{title-font-family|sans-serif}}}; font-size:{{{title-font-size|100%}}}; font-weight:{{{title-font-weight|bold}}}; margin: 0; padding:0; padding-bottom:.1em; color:{{{titleforeground|#000}}};{{{extra|}}}">{{{title}}}</span>|<h2 style="font-family:{{{title-font-family|sans-serif}}}; font-size:{{{title-font-size|100%}}}; font-weight:{{{title-font-weight|bold}}}; border: none; margin: 0; padding:0; padding-bottom:.1em; color:{{{titleforeground|#000}}};{{{extra|}}}">{{{1}}}</h2>}}
 +
</div>
 +
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--
 +
        -->border-top-width: {{{border-top|1}}}px; <!--
 +
        -->vertical-align: top;<!--
 +
        -->background: {{{background|#fefeef}}};<!--
 +
        -->opacity: {{{background-opacity|1}}};<!--
 +
        --> color: {{{foreground|#000}}}; <!--
 +
        -->text-align: {{{text-align|left}}};<!--
 +
        --> margin: 0 0 10px; <!--
 +
        -->padding: {{{padding|1em}}};<!--
 +
        -->padding-top: {{{padding-top|.3em;}}}"><!--
 +
-->{{#if: {{{TOC|}}} | |__NOTOC__}}{{#if: {{{EDIT|}}} | |__NOEDITSECTION__}} <noinclude>
 +
 +
<div style="border:#aaaaaa; background:#f9f9ff; foreground:black;" text-weight:bold;text-color:black;" 
 +
</div> </noinclude>

Latest revision as of 05:18, 27 May 2016

{{{1}}}

<div style="border:#aaaaaa; background:#f9f9ff; foreground:black;" text-weight:bold;text-color:black;"