Шаблон:Infobox clothing: различия между версиями
Перейти к навигации
Перейти к поиску
(fix display of purchase price) |
|||
(не показано 7 промежуточных версий 3 участников) | |||
Строка 1: | Строка 1: | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
{| id="infoboxtable" | {| id="infoboxtable" | ||
− | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | + | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
− | |colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|center | + | |colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center]]|}} |
|- | |- | ||
− | |colspan=2 | + | |colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
|- | |- | ||
− | |colspan=2 id="infoboxsection" style="text-align:center;"| | + | |colspan="2" id="infoboxsection" style="text-align:center;"|Информация |
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"|Где взять: |
− | + | |id="infoboxdetail"|{{#if:{{{source|}}}|{{{source|N/A}}}|Н/Д}} | |
− | |||
− | |||
− | |id="infoboxdetail"|{{#if:{{{source|}}}|{{{source|N/A}}}| | ||
{{#if:{{{ingredients|}}}|<nowiki/> | {{#if:{{{ingredients|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Состав: |
{{!}}id="infoboxdetail"{{!}}{{{ingredients|}}}|}}{{#if:{{{stats|}}}|<nowiki/> | {{!}}id="infoboxdetail"{{!}}{{{ingredients|}}}|}}{{#if:{{{stats|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Характеристики: |
{{!}}id="infoboxdetail"{{!}}{{{stats|}}}|}} | {{!}}id="infoboxdetail"{{!}}{{{stats|}}}|}} | ||
|- | |- | ||
− | |colspan="2" id="infoboxsection" style="text-align: center;"| | + | |colspan="2" id="infoboxsection" style="text-align: center;"|Гильдия искателей приключений |
− | + | {{#if:{{{gprice|}}}|<nowiki/> | |
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}- |
− | {{!}}id="infoboxdetail"{{!}}{{#iferror:{{ | + | {{!}}id="infoboxsection" class="no-wrap"{{!}}Цена покупки: |
+ | {{!}}id="infoboxdetail"{{!}}{{#iferror:{{Price|{{{gprice|}}}}}|{{{gprice|}}}|{{Price|{{{gprice|}}}}} }} }} | ||
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"|Цена продажи: |
− | |id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|Not Sold}}}| | + | |id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|Not Sold}}}|Нет в продаже}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}|Н/Д }} }} |
|} | |} | ||
− | </div> | + | </div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
− | |||
− | }}</includeonly><noinclude>{{ |
Текущая версия на 18:42, 17 мая 2023
Для получения подробной информации о данном шаблоне обратитесь к документации на английском языке.
Применение
Этот шаблон можно использовать путем ввода следующего на соответствующей странице:
{{Infobox clothing}}
Результаты в ...
Infobox clothing | |
[[File:|center]] | |
Информация | |
Где взять: | Н/Д |
Гильдия искателей приключений | |
Цена продажи: | Н/Д |