Difference between revisions of "Template:Box-header"

From English Wiki
Jump to navigation Jump to search
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
| title={{{1}}}  
+
<div style="clear: both; <!--
|editpage={{{2}}}  
+
        -->border: {{{border-type|solid}}} {{{titleborder|{{{border|#ababab}}}}}}; <!--
|border=#aaaaaa          <!-- This is the color of the borders around Box Sections -->
+
        -->border-width: {{{border-top|{{{border-width|1}}}}}}px {{{border-width|1}}}px 0; <!--
|titleforeground=white    <!-- This is the color of the Box Section Title Bar text -->
+
        -->background: {{{titlebackground|#cacada}}};<!--
|titlebackground=#aaccff  <!-- This is the color of the Box Section Title Bar -->
+
        --> color: {{{titleforeground|#000}}}; <!--
|background=#f9f9ff      <!-- This is the color of the Box Section background -->
+
        -->padding: {{{padding|.1em}}};<!--
|foreground=black}}       <!-- This is the color of the Box Section text -->
+
        -->padding-top: {{{padding-top|.1em}}};<!--
 
+
        -->padding-left: {{{padding-left|.1em}}};<!--
<!----
+
        -->padding-right: {{{padding-right|.1em}}};<!--
{{
+
        -->padding-bottom: {{{padding-bottom|.1em}}};<!--
| title=1
+
        -->text-align: {{{title-align|center}}};<!--
| editpage=2
+
        -->font-family: {{{font-family|sans-serif}}};<!--
| titleforeground=black
+
        -->font-size:{{{titlefont-size|100%}}};<!--
| titlebackground=#bcbcbc
+
        -->margin-bottom: 0px;<!--
| background=#bcbcbc
+
        -->">{{#if: {{{EDITLINK|}}} ||
| viewpage=2
+
<div class="plainlinks" <!--
}}
+
  -->style="float:right;<!--
{{2}} ------>
+
        -->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;"