Шаблон:Infobox: различия между версиями
Перейти к навигации
Перейти к поиску
[выверенная версия] | [выверенная версия] |
м (Small fix.) |
(Добавление условных операторов.) |
||
Строка 1: | Строка 1: | ||
{| style="border-collapse: separate; border-spacing: 4px; border: 1px solid darkgray; margin: 1em 1em 1em 0; background-color: #f9f9f9; border: 1px #aaa solid; clear: right; float: right;" | {| style="border-collapse: separate; border-spacing: 4px; border: 1px solid darkgray; margin: 1em 1em 1em 0; background-color: #f9f9f9; border: 1px #aaa solid; clear: right; float: right;" | ||
− | | colspan="2" style="background-color:#cfc; text-align: center; font-size: 120%; font-weight: bold;" | + | {{#if: {{{title|}}} | |
− | |- | + | {{!}} colspan="2" style="background-color:#cfc; text-align: center; font-size: 120%; font-weight: bold;" {{!}} {{{title}}} |
− | + | }} | |
− | |- | + | {{#if: {{{title-1|}}} | |
− | + | {{!}}- | |
− | + | {{!}} colspan="2" style="background-color:#ddf; text-align: center; font-size: 110%; font-weight: bold;" {{!}} {{{title-1}}} | |
− | |- | + | }} |
− | + | {{#if: {{{label-1.1|}}} | | |
− | + | {{!}}- | |
− | |- | + | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.1}}} |
− | + | {{!}} style="padding: 0.2em;" {{!}} {{{data-1.1}}} | |
− | + | }} | |
− | |- | + | {{#if: {{{label-1.2|}}} | |
− | + | {{!}}- | |
− | + | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.2}}} | |
− | |- | + | {{!}} style="padding: 0.2em;" {{!}} {{{data-1.2}}} |
− | + | }} | |
− | + | {{#if: {{{label-1.3|}}} | | |
− | | | + | {{!}}- |
− | + | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.3}}} | |
− | |- | + | {{!}} style="padding: 0.2em;" {{!}} {{{data-1.3}}} |
− | + | }} | |
− | + | {{#if: {{{label-1.4|}}} | | |
− | |- | + | {{!}}- |
− | + | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.4}}} | |
− | + | {{!}} style="padding: 0.2em;" {{!}} {{{data-1.4}}} | |
− | |- | + | }} |
− | + | {{#if: {{{label-1.5|}}} | | |
− | + | {{!}}- | |
− | |- | + | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-1.5}}} |
− | + | {{!}} style="padding: 0.2em;" {{!}} {{{data-1.5}}} | |
− | + | }} | |
− | |- | + | {{#if: {{{title-2|}}} | |
− | + | {{!}} colspan="2" style="background-color:#ddf; text-align: center; font-size: 110%; font-weight: bold;" {{!}} {{{title-2}}} | |
− | + | }} | |
+ | {{#if: {{{label-2.1|}}} | | ||
+ | {{!}}- | ||
+ | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.1}}} | ||
+ | {{!}} style="padding: 0.2em;" {{!}} {{{data-2.1}}} | ||
+ | }} | ||
+ | {{#if: {{{label-2.2|}}} | | ||
+ | {{!}}- | ||
+ | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.2}}} | ||
+ | {{!}} style="padding: 0.2em;" {{!}} {{{data-2.2}}} | ||
+ | }} | ||
+ | {{#if: {{{label-2.3|}}} | | ||
+ | {{!}}- | ||
+ | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.3}}} | ||
+ | {{!}} style="padding: 0.2em;" {{!}} {{{data-2.3}}} | ||
+ | }} | ||
+ | {{#if: {{{label-2.4|}}} | | ||
+ | {{!}}- | ||
+ | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.4}}} | ||
+ | {{!}} style="padding: 0.2em;" {{!}} {{{data-2.4}}} | ||
+ | }} | ||
+ | {{#if: {{{label-2.5|}}} | | ||
+ | {{!}}- | ||
+ | {{!}} style="background-color:#eef; padding: 0.2em; font-weight: bold;" {{!}} {{{label-2.5}}} | ||
+ | {{!}} style="padding: 0.2em;" {{!}} {{{data-2.5}}} | ||
+ | }} | ||
|} | |} |