Строка 2: |
Строка 2: |
| <span style="color:#777777"> | | <span style="color:#777777"> |
| '''Источник:''' Блаватская Е.П. - Тайная Доктрина | | '''Источник:''' Блаватская Е.П. - Тайная Доктрина |
− | {{ #if: {{{шлока|}}} | шлока ''{{{шлока}}}'' |}} | + | {{ #if: {{{том|}}} | т. ''{{{том}}}'' |}} |
| + | {{ #if: {{{станца|}}} | ст. ''{{{станца}}}'' |}} |
| + | {{ #if: {{{шлока|}}} | шлока ''{{{шлока}}}'' |}} |
| + | {{ #if: {{{рисунок|}}}| рисунок ''{{{рисунок}}}'' |}} |
| + | {{ #if: {{{таблица|}}}| таблица ''{{{таблица}}}'' |}} |
| | | |
| </span> | | </span> |
Строка 16: |
Строка 20: |
| [[Категория:Шаблоны]] | | [[Категория:Шаблоны]] |
| <noinclude> | | <noinclude> |
− |
| |
− |
| |
| <!-- | | <!-- |
− |
| |
| To distinguish between a parameter being defined and non-empty on one hand, or undefined or empty on the other hand, use #if: with a blank default: | | To distinguish between a parameter being defined and non-empty on one hand, or undefined or empty on the other hand, use #if: with a blank default: |
− |
| |
| {{ #if: {{{param|}}} | param is defined and non-empty | param is undefined or empty}}. | | {{ #if: {{{param|}}} | param is defined and non-empty | param is undefined or empty}}. |
| | | |
| To distinguish between defined (and possibly empty) and undefined, use: | | To distinguish between defined (and possibly empty) and undefined, use: |
− |
| |
| {{ #ifeq: {{{param|+}}} | {{{param|-}}} | param is defined | param is undefined }}. | | {{ #ifeq: {{{param|+}}} | {{{param|-}}} | param is defined | param is undefined }}. |
− |
| |
| | | |
| {{ #ifeq: {{{том|+}}} | {{{том|-}}} |, том '''{{{том}}}''' | }} | | {{ #ifeq: {{{том|+}}} | {{{том|-}}} |, том '''{{{том}}}''' | }} |