Difference between revisions of "Template:/Box-header"

From English Wiki
Jump to navigation Jump to search
m (Replaced content with "{{Box-header | title=1 | editpage=2 | titleforeground=black | titlebackground=#bcbcbc | background=#bcbcbc | viewpage=2 }} {{2}}")
m
 
(18 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}}};<!--
{{2}}
+
        -->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}}}|<span style="color:{{{titleforeground|black}}};">view</span>]]&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|}}}">{{{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 04:44, 27 May 2016

{{{1}}}

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