Шаблон:Nav — различия между версиями

Материал из Мегапедии
Перейти к: навигация, поиск
Строка 1: Строка 1:
 
<includeonly>{|style='margin: 0 auto; clear: both; background: {{{bgcolor|white}}};'  class='toccolours collapsible collapsed {{{class|}}}' align='center' width='85%'
 
<includeonly>{|style='margin: 0 auto; clear: both; background: {{{bgcolor|white}}};'  class='toccolours collapsible collapsed {{{class|}}}' align='center' width='85%'
! colspan='2' style='background: {{{hbgcolor|#f0f0f0}}}; vertical-align: middle; height: 50px; text-align: center; padding: 0.6em 0.6em 0 0.6em;' | <div style='float: left;'>[[File:{{{image|Wiki.png}}}|left|{{{px|50}}}px|link=]]</div><div style='float: right; font-size: small; font-weight: normal;' class='plainlinks'>[[{{fullurl:Template:{{{name|}}}|action=edit}} <span title='Править'>+</span>]]</div><div style='line-height: 40px;'>{{{header|}}}{{{text|}}}</div>
+
! colspan='2' style='background: {{{hbgcolor|#f0f0f0}}}; vertical-align: middle; height: 50px; text-align: center; padding: 0.6em 0.6em 0 0.6em;' | <div style='float: left;'>[[File:{{{image|Wiki.png}}}|left|{{{px|50}}}px|link=]]</div><div style='float: right; font-size: small; font-weight: normal;' class='plainlinks'>[[{{fullurl:Template:{{{name|}}}|action=edit}} <span title='Править'>+</span>]]</div><div style='line-height: 40px;'>{{{header|}}}</div>
 +
{{#if: {{{text|}}}|{{!}}-
 +
&nbsp;
 
{{#if: {{{group1|}}}|{{!}}-
 
{{#if: {{{group1|}}}|{{!}}-
 
!style='background: {{{bggroup|#f0f0f0}}}' align='center' width='15%' {{!}} {{{group1|}}}  
 
!style='background: {{{bggroup|#f0f0f0}}}' align='center' width='15%' {{!}} {{{group1|}}}  

Версия 15:55, 9 апреля 2012

(i) Документация шаблона

Заготовка для копирования

{{nav
| name     = 
| bgcolor   = 
| hbgcolor = 
| bggroup  = 
| image    = 
| header   = 
| group1   = 
| text1    = 
| group2   = 
| text2    = 
}}
Внимание, изменение кода шаблонов может серьезно изменить их внешний вид. Для свободного тестирования можно посетить наш полигон для испытаний. Спасибо.