Редактирование: Шаблон:Vendor table header
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
− | + | {| {{STDT|npc}} | |
− | + | ! Item {{#arraymap:showType,showRarity,showLevel,showFacts | , | @@@ | <!-- Define column headers inline --> | |
− | + | {{#vardefine:@@@| {{#ifeq:{{{@@@|true}}}|false|false|true}} }} <!-- Define column header variables --> | |
− | {| {{STDT|npc | + | {{#ifeq: {{#var:@@@}} | true | !! {{#replace:@@@|show|}} }} <!-- Variable names match header names --> |
− | ! | + | |}} |
− | ! | + | ! Cost<noinclude> |
− | |||
− | ! | ||
− | |||
− | !! {{# | ||
− | ! | ||
− | |||
− | ! | ||
− | |||
− | |||
|} | |} | ||
Строка 20: | Строка 11: | ||
<pre> | <pre> | ||
{{vendor table header | {{vendor table header | ||
− | |||
| showType = | | showType = | ||
| showRarity = | | showRarity = | ||
| showLevel = | | showLevel = | ||
| showFacts = | | showFacts = | ||
− | |||
}} | }} | ||
</pre> | </pre> | ||
== Parameters == | == Parameters == | ||
− | |||
− | |||
− | |||
− | |||
;showType | ;showType | ||
: Default true. Show the type of item. This can be item type or any item subtypes such as armor type. | : Default true. Show the type of item. This can be item type or any item subtypes such as armor type. | ||
;showRarity | ;showRarity | ||
− | : Default true. Show the [[ | + | : Default true. Show the [[rarity]] of the item. |
;showLevel | ;showLevel | ||
: Default true. Show the required level to equip or use the item. | : Default true. Show the required level to equip or use the item. | ||
− | |||
− | |||
;showFacts | ;showFacts | ||
: Default true. Show the item facts of the item, this is usually any attribute bonuses or other effects. | : Default true. Show the item facts of the item, this is usually any attribute bonuses or other effects. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category: | + | == Other == |
+ | <nowiki>{{</nowiki>[[Template:Inventory/Table Header|Inventory/Table Header]]<nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>[[Template:Inventory/Item|Inventory/Item]]| item 1 <nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>[[Template:Inventory/Armor|Inventory/Armor]]| item 2 <nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>[[Template:Inventory/Weapon|Inventory/Weapon]]| item 3 <nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>[[Template:Inventory/Accessory|Inventory/Accessory]]| item 4 <nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>[[Template:Inventory/Recipe|Inventory/Recipe]]| item 5 <nowiki>}}</nowiki> | ||
+ | |||
+ | [[Category:Table formatting templates]] | ||
</noinclude> | </noinclude> |