Шаблон:Подгруппы навигационной таблицы — различия между версиями

Материал из Вики ВМК МГУ
Перейти к: навигация, поиск
ru>Dima st bk
(import from enwiki)
ru>Dima st bk
(отмена правки 79051212 участника Dima st bk (обс))
Строка 1: Строка 1:
{{Navbox
+
<table style="background-color: transparent; font-size:100%; padding:0; border:none; margin:-2px; text-align:left; {{{bodystyle|}}}">
|name = {{{name|}}}
 
|state = {{{state|}}}
 
|navbar = {{{navbar|}}}
 
|border = {{#if:{{{border|}}}|{{{border}}}|child}}
 
  
|title = {{{title|}}}
+
{{#if:{{{list1|}}}    |<tr>
|above = {{{above|}}}
+
{{#if:{{{group1|}}}    |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold; {{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group1style|}}}">{{{group1}}}</td>
|below = {{{below|}}}
+
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">|<td colspan="2" style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">}}{{{list1}}}</td>
|image = {{{image|}}}
+
</tr>}}<!--
|imageleft = {{{imageleft|}}}
+
|groupwidth = {{{groupwidth|}}}
+
-->{{#if:{{{list2|}}}    |<tr>
 +
{{#if:{{{group2|}}}    |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupevenstyle|}}}{{{group2style|}}}">{{{group2}}}</td>}}
 +
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list2style|}}}" {{#if:{{{group2|}}}| |colspan="2"}}>{{{list2}}}</td>
 +
</tr>}}<!--
  
|group1 = {{#if:{{{group1|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group1}}}</div>}}
+
-->{{#if:{{{list3|}}} |<tr>
|group2 = {{#if:{{{group2|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group2}}}</div>}}
+
{{#if:{{{group3|}}}   |<td style="background:#e6e6ff;white-space:nowrap;text-align:right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group3style|}}}">{{{group3}}}</td>}}
|group3 = {{#if:{{{group3|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group3}}}</div>}}
+
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list3style|}}}" {{#if:{{{group3|}}}| |colspan="2"}}>{{{list3}}}</td>
|group4 = {{#if:{{{group4|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group4}}}</div>}}
+
</tr>}}<!--
|group5 = {{#if:{{{group5|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group5}}}</div>}}
 
|group6 = {{#if:{{{group6|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group6}}}</div>}}
 
|group7 = {{#if:{{{group7|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group7}}}</div>}}
 
|group8 = {{#if:{{{group8|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group8}}}</div>}}
 
|group9 = {{#if:{{{group9|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group9}}}</div>}}
 
|group10 = {{#if:{{{group10|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group10}}}</div>}}
 
|group11 = {{#if:{{{group11|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group11}}}</div>}}
 
|group12 = {{#if:{{{group12|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group12}}}</div>}}
 
|group13 = {{#if:{{{group13|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group13}}}</div>}}
 
|group14 = {{#if:{{{group14|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group14}}}</div>}}
 
|group15 = {{#if:{{{group15|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group15}}}</div>}}
 
|group16 = {{#if:{{{group16|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group16}}}</div>}}
 
|group17 = {{#if:{{{group17|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group17}}}</div>}}
 
|group18 = {{#if:{{{group18|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group18}}}</div>}}
 
|group19 = {{#if:{{{group19|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group19}}}</div>}}
 
|group20 = {{#if:{{{group20|}}}|<div style="padding:{{{grouppadding|0em 0.75em;}}}">{{{group20}}}</div>}}
 
  
|list1 = {{{list1|}}}
+
-->{{#if:{{{list4|}}} |<tr>
|list2 = {{{list2|}}}
+
{{#if:{{{group4|}}}   |<td style="background:#e6e6ff;white-space:nowrap;text-align:right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupevenstyle|}}}{{{group4style|}}}">{{{group4}}}</td>}}
|list3 = {{{list3|}}}
+
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list4style|}}}" {{#if:{{{group4|}}}| |colspan="2"}}>{{{list4}}}</td>
|list4 = {{{list4|}}}
+
</tr>}}<!--
|list5 = {{{list5|}}}
 
|list6 = {{{list6|}}}
 
|list7 = {{{list7|}}}
 
|list8 = {{{list8|}}}
 
|list9 = {{{list9|}}}
 
|list10 = {{{list10|}}}
 
|list11 = {{{list11|}}}
 
|list12 = {{{list12|}}}
 
|list13 = {{{list13|}}}
 
|list14 = {{{list14|}}}
 
|list15 = {{{list15|}}}
 
|list16 = {{{list16|}}}
 
|list17 = {{{list17|}}}
 
|list18 = {{{list18|}}}
 
|list19 = {{{list19|}}}
 
|list20 = {{{list20|}}}
 
  
|bodyclass = {{{bodyclass|}}}
+
-->{{#if:{{{list5|}}}  |<tr>
|titleclass = {{{titleclass|}}}
+
{{#if:{{{group5|}}}   |<td style="background:#e6e6ff;white-space:nowrap;text-align:right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group5style|}}}">{{{group5}}}</td>}}
|aboveclass = {{{aboveclass|}}}
+
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list5style|}}}" {{#if:{{{group5|}}}| |colspan="2"}}>{{{list5}}}</td>
|belowclass = {{{belowclass|}}}
+
</tr>}}<!--
|groupclass = {{{groupclass|}}}
 
|listclass = {{{listclass|}}}
 
  
|style = {{{style|}}}{{{bodystyle|}}}
+
-->{{#if:{{{list6|}}} |<tr>
|imageleftstyle = {{{imageleftstyle|}}}
+
{{#if:{{{group6|}}}   |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupevenstyle|}}}{{{group6style|}}}">{{{group6}}}</td>}}
|imagestyle = {{{imagestyle|}}}
+
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list6style|}}}" {{#if:{{{group6|}}}| |colspan="2"}}>{{{list6}}}</td>
|titlestyle = {{{titlestyle|}}}
+
</tr>}}<!--
|basestyle = {{{basestyle|}}}
 
|abovestyle = {{{abovestyle|}}}
 
|belowstyle = {{{belowstyle|}}}
 
|groupstyle = padding-left:0;padding-right:0;{{{groupstyle|}}}
 
|liststyle = {{{liststyle|}}}
 
|evenstyle = {{{evenstyle|}}}
 
|oddstyle = {{{oddstyle|}}}
 
  
|group1style = {{{group1style|}}}
+
-->{{#if:{{{list7|}}} |<tr>
|group2style = {{{group2style|}}}
+
{{#if:{{{group7|}}}   |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group7style|}}}">{{{group7}}}</td>}}
|group3style = {{{group3style|}}}
+
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list7style|}}}" {{#if:{{{group7|}}}| |colspan="2"}}>{{{list7}}}</td>
|group4style = {{{group4style|}}}
+
</tr>}}<!--
|group5style = {{{group5style|}}}
 
|group6style = {{{group6style|}}}
 
|group7style = {{{group7style|}}}
 
|group8style = {{{group8style|}}}
 
|group9style = {{{group9style|}}}
 
|group10style = {{{group10style|}}}
 
|group11style = {{{group11style|}}}
 
|group12style = {{{group12style|}}}
 
|group13style = {{{group13style|}}}
 
|group14style = {{{group14style|}}}
 
|group15style = {{{group15style|}}}
 
|group16style = {{{group16style|}}}
 
|group17style = {{{group17style|}}}
 
|group18style = {{{group18style|}}}
 
|group19style = {{{group19style|}}}
 
|group20style = {{{group20style|}}}
 
  
|list1style = {{{list1style|}}}
+
-->{{#if:{{{list8|}}} |<tr>
|list2style = {{{list2style|}}}
+
{{#if:{{{group8|}}}   |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupevenstyle|}}}{{{group8style|}}}">{{{group8}}}</td>}}
|list3style = {{{list3style|}}}
+
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list8style|}}}" {{#if:{{{group8|}}}| |colspan="2"}}>{{{list8}}}</td>
|list4style = {{{list4style|}}}
+
</tr>}}<!--
|list5style = {{{list5style|}}}
 
|list6style = {{{list6style|}}}
 
|list7style = {{{list7style|}}}
 
|list8style = {{{list8style|}}}
 
|list9style = {{{list9style|}}}
 
|list10style = {{{list10style|}}}
 
|list11style = {{{list11style|}}}
 
|list12style = {{{list12style|}}}
 
|list13style = {{{list13style|}}}
 
|list14style = {{{list14style|}}}
 
|list15style = {{{list15style|}}}
 
|list16style = {{{list16style|}}}
 
|list17style = {{{list17style|}}}
 
|list18style = {{{list18style|}}}
 
|list19style = {{{list19style|}}}
 
|list20style = {{{list20style|}}}
 
  
|evenodd = {{{evenodd|}}}
+
-->{{#if:{{{list9|}}}  |<tr>
|listpadding = {{{listpadding|}}}
+
{{#if:{{{group9|}}}    |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group9style|}}}">{{{group9}}}</td>}}
 +
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list9style|}}}" {{#if:{{{group9|}}}| |colspan="2"}}>{{{list9}}}</td>
 +
</tr>}}<!--
  
}}<noinclude>
+
-->{{#if:{{{list10|}}} |<tr>
 +
{{#if:{{{group10|}}}  |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupevenstyle|}}}{{{group10style|}}}">{{{group10}}}</td>}}
 +
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list10style|}}}" {{#if:{{{group10|}}}| |colspan="2"}}>{{{list10}}}</td>
 +
</tr>}}<!--
 +
 
 +
-->{{#if:{{{list11|}}} |<tr>
 +
{{#if:{{{group11|}}}  |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group11style|}}}">{{{group11}}}</td>}}
 +
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list11style|}}}" {{#if:{{{group11|}}}| |colspan="2"}}>{{{list11}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{list12|}}} |<tr>
 +
{{#if:{{{group12|}}}  |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupevenstyle|}}}{{{group12style|}}}">{{{group12}}}</td>}}
 +
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list12style|}}}" {{#if:{{{group12|}}}| |colspan="2"}}>{{{list12}}}</td>
 +
</tr>}}<!--
 +
 
 +
-->{{#if:{{{list13|}}} |<tr>
 +
{{#if:{{{group13|}}}  |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group13style|}}}">{{{group13}}}</td>}}
 +
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list13style|}}}" {{#if:{{{group13|}}}| |colspan="2"}}>{{{list13}}}</td>
 +
</tr>}}<!--
 +
 
 +
-->{{#if:{{{list14|}}} |<tr>
 +
{{#if:{{{group14|}}}  |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupevenstyle|}}}{{{group14style|}}}">{{{group14}}}</td>}}
 +
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list14style|}}}" {{#if:{{{group14|}}}| |colspan="2"}}>{{{list14}}}</td>
 +
</tr>}}<!--
 +
 
 +
-->{{#if:{{{list15|}}} |<tr>
 +
{{#if:{{{group15|}}}  |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group15style|}}}">{{{group15}}}</td>}}
 +
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list15style|}}}" {{#if:{{{group15|}}}| |colspan="2"}}>{{{list15}}}</td>
 +
</tr>}}<!--
 +
 
 +
--></table><noinclude>
 
{{doc}}
 
{{doc}}
 
</noinclude>
 
</noinclude>

Версия 13:49, 18 июня 2016

{{#if: | {{#if: |}}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }} {{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}{{#if: | {{#if: |}} }}
{{{group1}}} |}}{{{list1}}}
{{{group2}}}{{{list2}}}
{{{group3}}}{{{list3}}}
{{{group4}}}{{{list4}}}
{{{group5}}}{{{list5}}}
{{{group6}}}{{{list6}}}
{{{group7}}}{{{list7}}}
{{{group8}}}{{{list8}}}
{{{group9}}}{{{list9}}}
{{{group10}}}{{{list10}}}
{{{group11}}}{{{list11}}}
{{{group12}}}{{{list12}}}
{{{group13}}}{{{list13}}}
{{{group14}}}{{{list14}}}
{{{group15}}}{{{list15}}}

<templatestyles src="Шаблон:Doc/styles.css" />{{#if: || }}

Шаблон:Якорь
Документация
{{#if: || <templatestyles src="Шаблон:Действия для страницы/styles.css" /> }}

{{#if:|{{#ifexist:{{{1}}}|{{{{{1}}}||||}}|{{#ifexist:Шаблон:{{{1}}}|{{{{{1}}}||||}}|Шаблон:Документировать}}}}|{{#ifexist:Шаблон:Подгруппы навигационной таблицы/doc|Шаблон:Подгруппы навигационной таблицы/doc|Шаблон:Документировать}}}}

<templatestyles src="Шаблон:Doc/styles.css" />{{#ifexpr: 10 mod 2 = 1

| Шаблон:^

|

}}