Шаблон:Base ingredients — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) (Новая страница: «<onlyinclude>{{base ingredients lookup|{{{item|{{{1}}}}}}|{{{quantity|1}}} |id={{{id|}}} |discipline={{{discipline|}}} }} {{base ingredients table |item={{{item|{…») |
|||
Строка 1: | Строка 1: | ||
− | < | + | <includeonly>{{base ingredients lookup|{{{item|{{{1}}}}}}|{{{quantity|1}}} |
|id={{{id|}}} | |id={{{id|}}} | ||
|discipline={{{discipline|}}} | |discipline={{{discipline|}}} | ||
Строка 7: | Строка 7: | ||
|quantity={{{quantity|1}}} | |quantity={{{quantity|1}}} | ||
|{{#var:base_ingredient_list}} | |{{#var:base_ingredient_list}} | ||
− | }}</ | + | }}</includeonly><noinclude> |
== Usage == | == Usage == |
Текущая версия на 12:47, 4 апреля 2018
Usage[править]
Generates a list of the base ingredients for a given item. {{Base ingredients lookup}} handles looking up and generating the list of materials. {{base ingredients table}} generates the table from the lookup call.
Parameters[править]
- item
- The item to generate the list of ingredients for (Property:Has item data object)
- quantity
- Optional. The quantity of the item to create. Defaults to 1.
Example[править]
{{Base ingredients|Iron Ingot}}
<span style="border-bottom:1px silver dotted;" title="Minimum quantity of 40
«Y» — не булево значение (да/нет).
due to recipe selection.">Ошибка выражения: неопознанное слово «span»</span> Iron Ingot <span class="tptotal hide" data-id="" data-qty="Ошибка выражения: неопознанное слово «span»"></span>Quantity | Material | Buy price | Material cost |
---|---|---|---|
1 | Iron Ingot | ... | ... |
Total cost | ... |
{{#Widget:TP prices total}}