Difference between revisions of "Template:Box-header"
Jump to navigation
Jump to 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|}}} |§ion={{{section}}}}}}} <span style="color: {{{titleforeground|#000}}}">edit</span>] }}{{#if: {{{viewpage|}}} |'''·''' [[:{{{viewpage}}}|<font color="{{{titleforeground|black}}}">view</font>]] }}{{{top|}}} | #if: {{{noedit|}}} || [{{fullurl:{{{editpage|/}}}|action=edit{{#if: {{{section|}}} |§ion={{{section}}}}}}} <span style="color: {{{titleforeground|#000}}}">edit</span>] }}{{#if: {{{viewpage|}}} |'''·''' [[:{{{viewpage}}}|<font color="{{{titleforeground|black}}}">view</font>]] }}{{{top|}}} | ||
</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> |