Шаблон:Box-header — различия между версиями
Материал из Н.Ф. Федоров
(+ doc) |
Petrov (обсуждение | вклад) (Новая страница: «<div style="clear: both; <!-- -->border: {{{border-type|solid}}} {{{titleborder|{{{border|#ababab}}}}}}; <!-- -->border-width: {{{border-top|{{{bor...») |
||
(не показаны 4 промежуточные версии 2 участников) | |||
Строка 1: | Строка 1: | ||
− | [[ | + | <div style="clear: both; <!-- |
− | + | -->border: {{{border-type|solid}}} {{{titleborder|{{{border|#ababab}}}}}}; <!-- | |
− | + | -->border-width: {{{border-top|{{{border-width|1}}}}}}px {{{border-width|1}}}px 0; <!-- | |
+ | -->background: {{{titlebackground|#bcbcbc}}};<!-- | ||
+ | --> color: {{{titleforeground|#000}}}; <!-- | ||
+ | -->padding: {{{padding|.1em}}};<!-- | ||
+ | -->padding-top: {{{padding-top|.1em}}};<!-- | ||
+ | -->padding-left: {{{padding-left|.1em}}};<!-- | ||
+ | -->padding-right: {{{padding-right|.1em}}};<!-- | ||
+ | -->padding-bottom: {{{padding-bottom|.1em}}};<!-- | ||
+ | -->text-align: {{{title-align|center}}};<!-- | ||
+ | -->font-family: {{{font-family|arial}}};<!-- | ||
+ | -->font-size:{{{titlefont-size|100%}}};<!-- | ||
+ | -->margin-bottom: 0px;<!-- | ||
+ | -->">{{#if: {{{EDITLINK|}}} || | ||
+ | <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|}}} |§ion={{{section}}}}}}} <span style="color: {{{titleforeground|#000}}}">edit</span>] }}{{#if: {{{viewpage|}}} |'''·''' [[:{{{viewpage}}}|<font color="{{{titleforeground|black}}}">view</font>]] }}{{{top|}}} | ||
+ | </div>}}<!-- endif EDITLINK | ||
+ | -->{{#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 style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!-- | ||
+ | -->border-top-width: {{{border-top|1}}}px; <!-- | ||
+ | -->vertical-align: top;<!-- | ||
+ | -->background: {{{background|#fefeef}}};<!-- | ||
+ | -->opacity: {{{background-opacity|1}}};<!-- | ||
+ | --> color: {{{foreground|#000}}}; <!-- | ||
+ | -->text-align: {{{text-align|left}}};<!-- | ||
+ | --> margin: 0 0 10px; <!-- | ||
+ | -->padding: {{{padding|1em}}};<!-- | ||
+ | -->padding-top: {{{padding-top|.3em;}}}"><!-- | ||
+ | -->{{#if: {{{TOC|}}} | |__NOTOC__}}{{#if: {{{EDIT|}}} | |__NOEDITSECTION__}}<noinclude> | ||
+ | {{Box-footer}} | ||
+ | <!-- PLEASE PUT CATEGORIES AND INTERWIKI LINKS ON THE DOCUMENTATION PAGE. THANK YOU. --> | ||
+ | {{Documentation}} | ||
</noinclude> | </noinclude> |
Текущая версия на 20:34, 11 ноября 2011
{{{title}}}
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |