Редактирование: Шаблон:Vendor table row result format
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
− | + | {{#vardefine:item_type|{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}}}<!-- | |
− | + | -->{{#ifeq:{{#var:showType}} | true | {{!!}} style="text-align:center" {{!}} {{#if:{{#var:item_type}}|{{{1}}} [[{{#var:item_type}}]] | - }} }}<!-- | |
− | + | -->{{#ifeq:{{#var:showRarity}} | true | {{!!}} style="text-align:center" {{!}} {{rarity|{{{7|-}}}}} }}<!-- | |
− | + | -->{{#ifeq:{{#var:showLevel}} | true | {{!!}} style="text-align:center" {{!}} {{#if:{{{8|}}}|{{{8}}}| - }} }}<!-- | |
− | -->{{#ifeq:{{#var:showType}} | true | {{!!}} style="text-align:center" {{!}} {{#if: | + | -->{{#ifeq:{{#var:showFacts}} | true | {{!!}} {{#if:{{{9|}}}| {{item stat lookup|type={{#var:item_type}}|level={{{8|}}}|rarity={{{7|}}}|class={{{1|}}}}}{{prefix attributes|{{{9|}}}}}| - }}{{#if: {{{10|}}} | <br>{{item icon|{{{10}}}}} }} }}<noinclude> |
− | -->{{#ifeq:{{#var:showRarity}} | true | {{!!}} style="text-align:center" {{!}} | + | This template pops up and provides the variables required for the complex formatting within {{tl|Vendor table row}} if the item id has been specified instead of an item name. |
− | -->{{#ifeq:{{#var:showLevel}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{ | ||
− | |||
− | -->{{#ifeq:{{#var:showFacts}} | true | {{!!}} {{#if: {{{ | ||
− | |||
− | |||
− | |||
− | |||
− | This template | ||
− | |||
− | |||
− | |||
− | |||
#Has armor weight class | #Has armor weight class | ||
#Has item type | #Has item type | ||
+ | #Has armor type | ||
+ | #Has weapon type | ||
+ | #Has trinket type | ||
+ | #Has upgrade component type | ||
#Has item rarity | #Has item rarity | ||
#Has level requirement | #Has level requirement | ||
#Has equipment prefix | #Has equipment prefix | ||
#Has upgrade component | #Has upgrade component | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[Category:Vendor formatting templates]] | |
− | |||
− | |||
− | [[Category:Vendor formatting | ||
</noinclude> | </noinclude> |