Difference between revisions of "Template:Box-header"

From Mania Tech Wiki
Jump to: navigation, search
(Created template for main page.)
 
(add cat, minor fmtg)
 
Line 3: Line 3:
 
         -->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|#bcbcbc}}}; <!--
         --> color: {{{titleforeground|#000}}}; <!--
+
         -->color: {{{titleforeground|#000}}}; <!--
         -->padding: .1em;<!--
+
         -->padding: .1em; <!--
         -->text-align: {{{title-align|center}}};<!--
+
         -->text-align: {{{title-align|center}}}; <!--
         -->margin-bottom: 0px;<!--
+
         -->margin-bottom: 0px; <!--
 
         -->">{{#if: {{{EDITLINK|}}} ||
 
         -->">{{#if: {{{EDITLINK|}}} ||
 
<span class="plainlinks" <!--
 
<span class="plainlinks" <!--
  -->style="position: absolute;<!--
+
  -->style="position: absolute; <!--
             -->top: 1px;<!--
+
             -->top: 1px; <!--
             -->right: 1px;<!--
+
             -->right: 1px; <!--
             -->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}}}|<font color="{{{titleforeground|black}}}">view</font>]]&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}}}|<font color="{{{titleforeground|black}}}">view</font>]]&nbsp;}}{{{top|}}}&nbsp;
 
</span>}}<!-- endif EDITLINK
 
</span>}}<!-- endif EDITLINK
-->{{#if: {{{SPAN|}}} |<span style="font-size:{{{title-font-size|100%}}}; 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: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: bold; margin: 0; padding: 0; padding-bottom: .1em; color:{{{titleforeground|#000}}}; {{{extra|}}}">{{{title}}}</span>|<h2 style="font-size: {{{title-font-size|100%}}}; font-weight: bold; border: none; margin: 0; padding: 0; padding-bottom: .1em; color: {{{titleforeground|#000}}}; {{{extra|}}}">{{{title}}}</h2>}}
 
</div>
 
</div>
<div style="display:block; border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--
+
<div style="display: block; 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|#fefeef}}}; <!--
         -->opacity: {{{background-opacity|1}}};<!--
+
         -->opacity: {{{background-opacity|1}}}; <!--
         --> color: {{{foreground|#000}}}; <!--
+
         -->color: {{{foreground|#000}}}; <!--
         -->text-align: {{{text-align|left}}};<!--
+
         -->text-align: {{{text-align|left}}}; <!--
         --> margin: 0 0 10px; <!--
+
         -->margin: 0 0 10px; <!--
         -->padding: {{{padding|1em}}};<!--
+
         -->padding: {{{padding|1em}}}; <!--
 
         -->padding-top: {{{padding-top|.3em;}}}"><!--
 
         -->padding-top: {{{padding-top|.3em;}}}"><!--
 
--><!--{{#if: {{{TOC|}}} | |__NOTOC__}}{{#if: {{{EDIT|}}} | |__NOEDITSECTION__}}--><noinclude>
 
--><!--{{#if: {{{TOC|}}} | |__NOTOC__}}{{#if: {{{EDIT|}}} | |__NOEDITSECTION__}}--><noinclude>
 
{{box-footer}}
 
{{box-footer}}
 
 
Adapted from [http://www.3dbrew.org 3dbrew]
 
Adapted from [http://www.3dbrew.org 3dbrew]
  
 +
[[Category:Navigational templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:18, 12 May 2019

edit  

{{{title}}}

Adapted from 3dbrew