Шаблон:Recipe ingredients
Материал из Guild Wars 2 wiki
Версия от 12:01, 8 апреля 2016; Snowbirdie (обсуждение | вклад) (Новая страница: «<includeonly><div class="ingredients">{{#arraymap:{{#show:{{{1|}}}#recipe{{{2|1}}}|?Has ingredient|link=none}},|),|@@@|;{{#sub:{{#explode:@@@| |1}}|1|-1}}:{{item …»)
Usage[править]
This template displays the required ingredients for crafting a recipe formatted as a list. Queries for recipe subobject should pass Property:Has item data object as a parameter to the template.
{{recipe ingredients|<Item>}} {{recipe ingredients|<Item>|<Number>}}
Parameters[править]
- Unnamed parameter 1
- Name of the item.
- Unnamed parameter 2
- Number of the recipe, corresponds to the recipe subobject as <Item>#recipe<Number>. Defaults to 1.
Examples[править]
{{recipe ingredients|Tray of Strawberry Pies}}
- [[|The page type input value ":" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.]]