Difference between revisions of "Template:Box-header"

From English Wiki
Jump to navigation Jump to search
m
m
 
(One intermediate revision 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|}}} ||
    -->{{#if:{{{noedit|}}}||[{{fullurl:{{{editpage|/}}}|action=edit{{#if:{{{section|}}}|&section={{{section|}}}}}}} <span style="color: {{{titleforeground|#000000}}}">edit</span>]&nbsp;}}{{#if:{{{viewpage|}}}|'''·'''&nbsp;[[:{{{viewpage|{{{editpage|/}}}}}}{{!}}<span style="color:{{{titleforeground|#000000}}};">view</span>]]&nbsp;|}}{{{top| }}}&nbsp;  
+
<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>] }}{{#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>
 
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--
 
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--

Latest revision as of 05:18, 27 May 2016

{{{1}}}

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