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

Материал из Алговики
Перейти к навигации Перейти к поиску
[выверенная версия][выверенная версия]
м (Small fix.)
(Удаление лишних переносов строк.)
Строка 2: Строка 2:
 
{{#if: {{{title|}}} |
 
{{#if: {{{title|}}} |
 
{{!}} colspan="2" style="background-color:#cfc; text-align: center; font-size: 120%; font-weight: bold;" {{!}} {{{title}}}
 
{{!}} colspan="2" style="background-color:#cfc; text-align: center; font-size: 120%; font-weight: bold;" {{!}} {{{title}}}
}}
+
}}{{#if: {{{title-1|}}} |
{{#if: {{{title-1|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" style="background-color:#ddf; text-align: center; font-size: 110%; font-weight: bold;" {{!}} {{{title-1}}}
 
{{!}} colspan="2" style="background-color:#ddf; text-align: center; font-size: 110%; font-weight: bold;" {{!}} {{{title-1}}}
}}
+
}}{{#if: {{{label-1.1|}}} |
{{#if: {{{label-1.1|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.1}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.1}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.1}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.1}}}
}}
+
}}{{#if: {{{label-1.2|}}} |
{{#if: {{{label-1.2|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.2}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.2}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.2}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.2}}}
}}
+
}}{{#if: {{{label-1.3|}}} |
{{#if: {{{label-1.3|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.3}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.3}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.3}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.3}}}
}}
+
}}{{#if: {{{label-1.4|}}} |
{{#if: {{{label-1.4|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.4}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.4}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.4}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.4}}}
}}
+
}}{{#if: {{{label-1.5|}}} |
{{#if: {{{label-1.5|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.5}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.5}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.5}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-1.5}}}
}}
+
}}{{#if: {{{title-2|}}} |
{{#if: {{{title-2|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" style="background-color:#ddf; text-align: center; font-size: 110%; font-weight: bold;" {{!}} {{{title-2}}}
 
{{!}} colspan="2" style="background-color:#ddf; text-align: center; font-size: 110%; font-weight: bold;" {{!}} {{{title-2}}}
}}
+
}}{{#if: {{{label-2.1|}}} |
{{#if: {{{label-2.1|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.1}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.1}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-2.1}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-2.1}}}
}}
+
}}{{#if: {{{label-2.2|}}} |
{{#if: {{{label-2.2|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.2}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.2}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-2.2}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-2.2}}}
}}
+
}}{{#if: {{{label-2.3|}}} |
{{#if: {{{label-2.3|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.3}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.3}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-2.3}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-2.3}}}
}}
+
}}{{#if: {{{label-2.4|}}} |
{{#if: {{{label-2.4|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.4}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.4}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-2.4}}}
 
{{!}} style="padding: 0.2em;" {{!}} {{{data-2.4}}}
}}
+
}}{{#if: {{{label-2.5|}}} |
{{#if: {{{label-2.5|}}} |
 
 
{{!}}-
 
{{!}}-
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.5}}}
 
{{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.5}}}

Версия 23:51, 9 июня 2015