Шаблон:Магический предмет: различия между версиями
Dmitri (обсуждение | вклад) Нет описания правки |
Dmitri (обсуждение | вклад) Нет описания правки |
||
Строка 67: | Строка 67: | ||
<onlyinclude> | <onlyinclude> | ||
<div class="infobox" style=" | <div class="infobox" style="width:300px; float:right; margin-left:10px; border:1px solid #aaa; padding:4px; background:#f9f9f9;"> | ||
<!-- | <!-- Блок названий --> | ||
<div style=" | <div style="text-align:center; margin:4px 0;"> | ||
{{{ | {{#if: {{{название|}}} | ||
| <div style="font-weight:bold; font-size:120%; text-align:center;">{{{название}}}</div> | |||
}} | |||
{{#if: {{{название2|}}} | |||
| <div style="font-weight:bold; font-size:100%; text-align:center;">{{{название2}}}</div> | |||
}} | |||
{{#if: {{{name|}}} | |||
| <div style="font-weight:bold; font-size:120%; text-align:center;">{{{name}}}</div> | |||
}} | |||
{{#if: {{{name2|}}} | |||
| <div style="font-weight:bold; font-size:100%; text-align:center;">{{{name2}}}</div> | |||
}} | |||
</div> | </div> | ||
<table style="width:100%; margin-top:4px;"> | |||
<table style="width:100%; margin-top:4px | |||
<!-- Тип --> | <!-- Тип --> | ||
{{#if: {{{тип|{{{ | {{#if: {{{тип|}}} | ||
| <tr> | |||
<td style="font-weight:bold; white-space:nowrap;">Тип:</td> | |||
<td>{{{тип}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{type|}}} | |||
| <tr> | | <tr> | ||
<td style="font-weight:bold; white-space:nowrap | <td style="font-weight:bold; white-space:nowrap;">Type:</td> | ||
<td | <td>{{{type}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- Редкость --> | <!-- Редкость --> | ||
{{#if: {{{редкость| | {{#if: {{{редкость|}}} | ||
| <tr> | | <tr> | ||
<td style="font-weight:bold; white-space:nowrap | <td style="font-weight:bold; white-space:nowrap;">Редкость:</td> | ||
<td style=" | <td>{{{редкость}}}</td> | ||
</tr> | |||
}} | |||
{{#if: {{{rarity|}}} | |||
| <tr> | |||
<td style="font-weight:bold; white-space:nowrap;">Rarity:</td> | |||
<td>{{{rarity}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
<!-- Настройка --> | <!-- Настройка --> | ||
{{#if: {{{настройка| | {{#if: {{{настройка|}}} | ||
| <tr> | | <tr> | ||
<td style="font-weight:bold; white-space:nowrap | <td style="font-weight:bold; white-space:nowrap;">Настройка:</td> | ||
<td | <td>{{#ifeq: {{{настройка}}} | true | Требуется | {{{настройка}}}}}</td> | ||
</tr> | |||
}} | |||
{{#if: {{{attunement|}}} | |||
| <tr> | |||
<td style="font-weight:bold; white-space:nowrap;">Attunement:</td> | |||
<td>{{#ifeq: {{{attunement}}} | true | Required | {{{attunement}}}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
<!-- Цена --> | <!-- Цена --> | ||
{{#if: {{{цена| | {{#if: {{{цена|}}} | ||
| <tr> | | <tr> | ||
<td style="font-weight:bold; white-space:nowrap | <td style="font-weight:bold; white-space:nowrap;">Цена:</td> | ||
<td | <td>{{{цена}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{price|}}} | |||
{{#if: {{{ | |||
| <tr> | | <tr> | ||
<td style="font-weight:bold; white-space:nowrap | <td style="font-weight:bold; white-space:nowrap;">Price:</td> | ||
<td | <td>{{{price}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
</table> | </table> | ||
</div> | </div> | ||
</onlyinclude> | </onlyinclude> |