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

Материал из Вики ВМК МГУ
Перейти к: навигация, поиск
ru>Кирилл Платон
ru>Homoatrox
м (откат правок Кирилл Платон (обс) к версии Yuri Che)
Строка 1: Строка 1:
 
<table style="background-color: transparent; font-size:100%; padding:0; border:none; margin:-3px; text-align:left; {{{bodystyle|}}}">
 
<table style="background-color: transparent; font-size:100%; padding:0; border:none; margin:-3px; text-align:left; {{{bodystyle|}}}">
  
 
+
{{#if:{{{list1|}}}    |<tr>
{{#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>
+
{{#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>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">|<td colspan="2" style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">}}{{{list1}}}</td>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">|<td colspan="2" style="{{{liststyle|}}}{{{oddstyle|}}}{{{list1style|}}}">}}{{{list1}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
 
   
 
   
-->{{#if:{{{list2|}}} |<tr>
+
-->{{#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>}}
+
{{#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>
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list2style|}}}" {{#if:{{{group2|}}}| |colspan="2"}}>{{{list2}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
-->{{#if:{{{list3|}}} |<tr>
+
-->{{#if:{{{list3|}}} |<tr>
{{#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>}}
+
{{#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>}}
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list3style|}}}" {{#if:{{{group3|}}}| |colspan="2"}}>{{{list3}}}</td>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list3style|}}}" {{#if:{{{group3|}}}| |colspan="2"}}>{{{list3}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
-->{{#if:{{{list4|}}} |<tr>
+
-->{{#if:{{{list4|}}} |<tr>
{{#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>}}
+
{{#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>}}
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list4style|}}}" {{#if:{{{group4|}}}| |colspan="2"}}>{{{list4}}}</td>
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list4style|}}}" {{#if:{{{group4|}}}| |colspan="2"}}>{{{list4}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
-->{{#if:{{{list5|}}} |<tr>
+
-->{{#if:{{{list5|}}} |<tr>
{{#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>}}
+
{{#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>}}
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list5style|}}}" {{#if:{{{group5|}}}| |colspan="2"}}>{{{list5}}}</td>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list5style|}}}" {{#if:{{{group5|}}}| |colspan="2"}}>{{{list5}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
-->{{#if:{{{list6|}}} |<tr>
+
-->{{#if:{{{list6|}}} |<tr>
{{#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>}}
+
{{#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>}}
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list6style|}}}" {{#if:{{{group6|}}}| |colspan="2"}}>{{{list6}}}</td>
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list6style|}}}" {{#if:{{{group6|}}}| |colspan="2"}}>{{{list6}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
-->{{#if:{{{list7|}}} |<tr>
+
-->{{#if:{{{list7|}}} |<tr>
{{#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>}}
+
{{#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>}}
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list7style|}}}" {{#if:{{{group7|}}}| |colspan="2"}}>{{{list7}}}</td>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list7style|}}}" {{#if:{{{group7|}}}| |colspan="2"}}>{{{list7}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
-->{{#if:{{{list8|}}} |<tr>
+
-->{{#if:{{{list8|}}} |<tr>
{{#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>}}
+
{{#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>}}
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list8style|}}}" {{#if:{{{group8|}}}| |colspan="2"}}>{{{list8}}}</td>
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list8style|}}}" {{#if:{{{group8|}}}| |colspan="2"}}>{{{list8}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
-->{{#if:{{{list9|}}} |<tr>
+
-->{{#if:{{{list9|}}} |<tr>
{{#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>}}
+
{{#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>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list9style|}}}" {{#if:{{{group9|}}}| |colspan="2"}}>{{{list9}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
 
-->{{#if:{{{list10|}}} |<tr>
 
-->{{#if:{{{list10|}}} |<tr>
{{#if:{{{group10|}}} |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group10style|}}}">{{{group10}}}</td>}}
+
{{#if:{{{group10|}}}   |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group10style|}}}">{{{group10}}}</td>}}
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list10style|}}}" {{#if:{{{group10|}}}| |colspan="2"}}>{{{list10}}}</td>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list10style|}}}" {{#if:{{{group10|}}}| |colspan="2"}}>{{{list10}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
 
-->{{#if:{{{list11|}}} |<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>}}
+
{{#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>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list11style|}}}" {{#if:{{{group11|}}}| |colspan="2"}}>{{{list11}}}</td>
 
</tr>}} <!--
 
</tr>}} <!--
  
 
-->{{#if:{{{list12|}}} |<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;}}}{{{groupoddstyle|}}}{{{group12style|}}}">{{{group12}}}</td>}}
+
{{#if:{{{group12|}}}   |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group12style|}}}">{{{group12}}}</td>}}
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list12style|}}}" {{#if:{{{group12|}}}| |colspan="2"}}>{{{list12}}}</td>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list12style|}}}" {{#if:{{{group12|}}}| |colspan="2"}}>{{{list12}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
 
-->{{#if:{{{list13|}}} |<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>}}
+
{{#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>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list13style|}}}" {{#if:{{{group13|}}}| |colspan="2"}}>{{{list13}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
 
-->{{#if:{{{list14|}}} |<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;}}}{{{groupoddstyle|}}}{{{group14style|}}}">{{{group14}}}</td>}}
+
{{#if:{{{group14|}}}   |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupoddstyle|}}}{{{group14style|}}}">{{{group14}}}</td>}}
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list14style|}}}" {{#if:{{{group14|}}}| |colspan="2"}}>{{{list14}}}</td>
 
<td style="{{{liststyle|}}}{{{oddstyle|}}}{{{list14style|}}}" {{#if:{{{group14|}}}| |colspan="2"}}>{{{list14}}}</td>
 
</tr>}}<!--
 
</tr>}}<!--
  
 
-->{{#if:{{{list15|}}} |<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;}}}{{{groupevenstyle|}}}{{{group15style|}}}">{{{group15}}}</td>}}
+
{{#if:{{{group15|}}}   |<td style="background: #e6e6ff; white-space: nowrap; text-align: right; font-weight: bold;{{{groupstyle|width: 1%; padding: 0 7px;}}}{{{groupevenstyle|}}}{{{group15style|}}}">{{{group15}}}</td>}}
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list15style|}}}" {{#if:{{{group15|}}}| |colspan="2"}}>{{{list15}}}}}</td></tr><!--
 
<td style="{{{liststyle|}}}{{{evenstyle|}}}{{{list15style|}}}" {{#if:{{{group15|}}}| |colspan="2"}}>{{{list15}}}}}</td></tr><!--
  

Версия 21:27, 22 июня 2011

{{#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

| Шаблон:^

|

}}