Difference between revisions of "Template:Box-header"

From CSEE Documentation
(Created page with "<div style="clear: both; <!-- -->border: {{{border-type|solid}}} {{{titleborder|{{{border|#ababab}}}}}}; <!-- -->border-width: {{{border-top|{{{border-width|...")
 
 
Line 1: Line 1:
<div style="clear: both; <!--
 
        -->border: {{{border-type|solid}}} {{{titleborder|{{{border|#ababab}}}}}}; <!--
 
        -->border-width: {{{border-top|{{{border-width|1}}}}}}px {{{border-width|1}}}px 0; <!--
 
        -->background: {{{titlebackground|#bcbcbc}}};<!--
 
        --> color: {{{titleforeground|#000}}}; <!--
 
        -->padding: {{{padding|.1em}}};<!--
 
        -->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>]&nbsp;}}{{#if: {{{viewpage|}}} |'''·'''&nbsp;[[:{{{viewpage}}}|<font color="{{{titleforeground|black}}}">view</font>]]&nbsp;}}{{{top|}}}&nbsp;
 
</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|}}}">{{{title}}}</h2>}}
 
</div>
 
 
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--
 
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--
 
         -->border-top-width: {{{border-top|1}}}px; <!--
 
         -->border-top-width: {{{border-top|1}}}px; <!--
 
         -->vertical-align: top;<!--
 
         -->vertical-align: top;<!--
         -->background: {{{background|#fefeef}}};<!--
+
         -->background: {{{background|#eeeeef}}};<!--
 
         -->opacity: {{{background-opacity|1}}};<!--
 
         -->opacity: {{{background-opacity|1}}};<!--
 
         --> color: {{{foreground|#000}}}; <!--
 
         --> color: {{{foreground|#000}}}; <!--
         -->text-align: {{{text-align|left}}};<!--
+
         -->text-align: {{{text-align|center}}};<!--
 
         --> margin: 0 0 10px; <!--
 
         --> margin: 0 0 10px; <!--
         -->padding: {{{padding|1em}}};<!--
+
         -->padding: {{{padding|.3em}}};<!--
 
         -->padding-top: {{{padding-top|.3em;}}}"><!--
 
         -->padding-top: {{{padding-top|.3em;}}}"><!--
-->{{#if: {{{TOC|}}} | |__NOTOC__}}{{#if: {{{EDIT|}}} | |__NOEDITSECTION__}}
+
-->
 +
{{{text|Hello, world!}}} <!--
 +
--></div>

Latest revision as of 10:48, 31 July 2014

Hello, world!