Редактирование: Шаблон:Inventory

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.

Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.

На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.

Текущая версия Ваш текст
Строка 1: Строка 1:
<onlyinclude><small>Click [{{fullurl:{{urlencode:Template:Inventory/{{{1}}}}}|action=edit}} here] to edit this table</small><!--
+
<includeonly>{{#if: {{{1|}}}|{{Inventory/{{lc:{{{1}}}}}}}|''A parameter must be supplied - see [[Template:Inventory#Parameters]].''}}</includeonly><noinclude>
-->{{#ifeq:{{{no subobjects|false}}}|true|{{#vardefine:suppress VTR subobjects|Template:Inventory - no subobjects}}}}{{inventory/{{{1}}}|{{{2|}}}}}<nowiki/><!-- removes linebreak --></onlyinclude>
+
This template provides a convenient way of specifying the commonly seen merchant inventories.
  
== Usage ==
+
Refer to {{tl|Vendor table row}}/{{tl|Vendor table header}} for more information on how to build custom inventory tables using the set of provided templates.
This template inserts a copy of the items offered by a specified vendor. The list of possible vendors is given in the [[#Parameters]] section below. To include this template on a page, use:
 
  
<pre>
+
=== Parameters ===
{{inventory|<service lookup>}}
+
;Unnamed parameter 1
</pre>
+
:A value that identifies the common [[vendor]] table. See [[:Category:Vendor inventory tables]] for a list of vendor tables that have been identified as being common among many vendor NPCs.
 
+
:Possible values:
=== Vendor lists ===
+
{| {{STDT|npc}}
The vendor lists themselves are stored on subpages of this page. For instance, "standard merchant" is stored on [[:Template:Inventory/standard merchant]]. To edit the list of items provided by a vendor, edit that subpage. (Alternately, this template adds a "Click here to edit the table" link on any page it's used on, so you can also reach the relevant subpage directly via that.)
+
! !! parameter value !! Additional description
 
 
You can also use the edit box below to go directly to any subpage; type a substring of the title into it to receive a list of matching subpages.
 
 
 
{{#forminput:form=Inventory table|autocomplete on category=Vendor inventory tables|placeholder=Select a inventory table to edit}}
 
Refer to {{tl|vendor table row}} and {{tl|vendor table header}} for vendor inventory formatting.
 
 
 
== Parameters ==
 
; Unnamed parameter 1
 
: The NPC service table to generate. A full list of inventory tables is found on [[:Category:Vendor inventory tables]].
 
: {| {{STDT|npc}} style="display: table"
 
! Table !! Description
 
 
|-
 
|-
! colspan="2" style="text-align: left" | Merchant tables
+
| style="background-color:#fff" rowspan=11 | Merchant tables || standard merchant || Bag + all salvage kits + all tools
|-
 
| standard merchant   || Bag + all salvage kits + all tools
 
 
|-
 
|-
 
| standard merchant 1 || Copper tools only
 
| standard merchant 1 || Copper tools only
Строка 42: Строка 28:
 
|-
 
|-
 
| salvage kit merchant ||
 
| salvage kit merchant ||
|-
 
| mystic forge merchant ||
 
|-
 
| laurel merchant ||
 
|-
 
| wvw laurel merchant ||
 
 
|-
 
|-
 
| chef ingredients 1 ||
 
| chef ingredients 1 ||
 
|-
 
|-
 
| candy merchant ||
 
| candy merchant ||
|-
+
|- class="line-top"
| gift exchange || [[Wintersday]] items
+
| style="background-color:#fff" rowspan=1 | Karma merchant tables || chef ingredients ||
|-
+
|- class="line-top"
! colspan="2" style="text-align: left" | Karma merchant tables
+
| style="background-color:#fff" rowspan=7 | Bartender tables || belcher's bluff kit ||
|-
 
| chef ingredients ||
 
|-
 
! colspan="2" style="text-align: left" | Bartender tables
 
|-
 
| belcher's bluff kit ||
 
 
|-
 
|-
 
| bartender 1 || GW1's legacy beverages
 
| bartender 1 || GW1's legacy beverages
Строка 74: Строка 48:
 
|-
 
|-
 
| bartender 6 || Sylvari nectars
 
| bartender 6 || Sylvari nectars
|-
+
|- class="line-top"
! colspan="2" style="text-align: left" | Crafting NPCs, specific tabs
+
| style="background-color:#fff" rowspan=4 | Crafting NPCs - specific tabs || kits and tools ||
|-
 
| kits and tools ||
 
 
|-
 
|-
 
| inscriptions ||
 
| inscriptions ||
Строка 84: Строка 56:
 
|-
 
|-
 
| runes ||
 
| runes ||
|-
+
|- class="line-top"
! colspan="2" style="text-align: left" | Crafting NPCs, entire inventory
+
| style="background-color:#fff" rowspan=8 | Crafting NPCs - entire inventory || master armorsmith ||
|-
 
| master armorsmith ||
 
 
|-
 
|-
 
| master artificer ||
 
| master artificer ||
Строка 102: Строка 72:
 
|-
 
|-
 
| master weaponsmith ||
 
| master weaponsmith ||
|-
+
|- class="line-top"
! colspan="2" style="text-align: left" | Trainers
+
| style="background-color:#fff" rowspan=2 | Trainers || commander trainer ||
|-
 
| commander trainer ||
 
 
|-
 
|-
 
| profession trainer ||
 
| profession trainer ||
|-
+
|- class="line-top"
! colspan="2" style="text-align: left" | Guild vendors
+
| style="background-color:#fff" rowspan=5 | Guild Vendors || guild armorer ||
|-
 
| guild armorer ||
 
 
|-
 
|-
 
| guild weaponsmith ||
 
| guild weaponsmith ||
Строка 119: Строка 85:
 
| guild promoter drink ||
 
| guild promoter drink ||
 
|-
 
|-
| guild promoter letter ||
+
| guild promoter letter||
|-
 
! colspan="2" style="text-align: left" | Path of Fire vendors
 
 
|-
 
|-
| dwarven crafting specialist || 32-slot bag exchange
 
|-
 
| grey market diamond exchange ||
 
 
|}
 
|}
 
; no subobjects
 
: Optional. Suppresses subobjects if true, defaults false. Only set if you know what you're doing.
 
  
 
=== Example usage ===
 
=== Example usage ===
Строка 137: Строка 95:
 
* [[Template:Quartermaster]] - for [[quartermaster]]s in [[world versus world]]
 
* [[Template:Quartermaster]] - for [[quartermaster]]s in [[world versus world]]
  
[[Category:Vendor inventory tables|*]]
+
[[Category:Table formatting templates|Inventory]][[Category:Vendor inventory tables|*]]
 +
</noinclude>

Пожалуйста, учтите, что любой ваш вклад в проект «Guild Wars 2 wiki» может быть отредактирован или удалён другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см. Guild Wars 2 wiki:Авторские права). НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!

Чтобы изменить эту страницу, пожалуйста, ответьте на приведённый ниже вопрос (подробнее):

Отменить | Справка по редактированию (в новом окне)