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

From English Wiki
Jump to navigation Jump to search
m
m
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
    {{Box-header
 
| title=1
 
| editpage=2
 
| titleforeground=black
 
| titlebackground=#bcbcbc
 
| background=#bcbcbc
 
| viewpage=2
 
}}
 
 
{{2}}
 
 
<div style="clear: both; <!--
 
<div style="clear: both; <!--
 
         -->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 28: Line 18:
 
         -->margin-bottom:.1em;<!--
 
         -->margin-bottom:.1em;<!--
 
         -->font-size:{{{font-size|80%}}};<!--
 
         -->font-size:{{{font-size|80%}}};<!--
         --> color: {{{titleforeground|#000}}}">{{
+
         --> 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;
+
{{#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
 
</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>}}
+
-->  
 +
{{#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>
 
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--
 
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--

Latest revision as of 04:44, 27 May 2016

{{{1}}}

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