Difference between revisions of "Template:Box-header"

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