Difference between revisions of "Template:Box-header"

From TransitWiki
Jump to navigation Jump to search
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|#0087BD}}};<!--
         --> color: {{{titleforeground|#0088DC}}}; <!--
+
         --> color: {{{titleforeground|#000}}}; <!--
 
         -->padding: {{{padding|.1em}}};<!--
 
         -->padding: {{{padding|.1em}}};<!--
 
         -->padding-top: {{{padding-top|.1em}}};<!--
 
         -->padding-top: {{{padding-top|.1em}}};<!--
Line 23: Line 23:
 
-->{{#if: {{{SPAN|}}} |<span style="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-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>}}
 
-->{{#if: {{{SPAN|}}} |<span style="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-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>
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--
+
<div style="border: {{{border-width|1}}}px solid {{{border|#0087BD}}}; <!--
 
         -->border-top-width: {{{border-top|1}}}px; <!--
 
         -->border-top-width: {{{border-top|1}}}px; <!--
 
         -->vertical-align: top;<!--
 
         -->vertical-align: top;<!--

Revision as of 01:45, 17 February 2018

{{{title}}}

[create] Template documentation