Шаблон:Output recipe list — различия между версиями
Материал из Guild Wars 2 wiki
(Новая страница: «<includeonly>{{recipe list header}} {{#ask: [[Has canonical name::~*{{{1|{{PAGENAME}}}}}*]] Requires rating::+<!-- All recipes have a rating, and only recipes ha...») |
|||
Строка 1: | Строка 1: | ||
− | <includeonly> | + | <includeonly>{{#ask:[[Has canonical name::~*{{{1|{{PAGENAME}}}}}*]] |
− | {{#ask: [[Has canonical name::~*{{{1|{{PAGENAME}}}}}*]] [[ | + | [[Has recipe source::{{{source|+}}}]] |
− | + | |?Requires discipline | |
− | + | |?Requires rating | |
− | + | |?Has ingredient | |
− | + | |?Has output quantity | |
− | + | |?Has item data object | |
− | + | |?Has recipe source | |
− | + | | link = none | |
− | + | | format = template | |
− | + | | template = Recipe list result format | |
− | + | | intro = {{Recipe list header|source={{{source}}}}} <!-- Hides ratings for Mystic Forge source --> | |
− | + | | outro = {{!}}} | |
− | |}</includeonly><noinclude> | + | | sort = Requires rating, Has canonical name <!-- Mystic Forge recipes have rating of 0 generally --> |
+ | | sortorder = descending | ||
+ | | limit = 200 | ||
+ | | default = No recipes found that match the constraints of the query. | ||
+ | }}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Строка 20: | Строка 24: | ||
{{output recipe list}} | {{output recipe list}} | ||
{{output recipe list|<Item>}} | {{output recipe list|<Item>}} | ||
+ | {{output recipe list|<Item>|source=<Source>}} | ||
</pre> | </pre> | ||
Текущая версия на 12:49, 4 апреля 2018
Usage[править]
Generates a list of recipes that create items that share a base part of their name. Uses the surrogate template {{recipe list result format}} to format each result as a table row.
{{output recipe list}} {{output recipe list|<Item>}} {{output recipe list|<Item>|source=<Source>}}
Parameters[править]
- Unnamed parameter 1
- Query term. Defaults to
{{PAGENAME}}
.
Example[править]
{{output recipe list|Rune of Altruism}}
Item | Rarity | Discipline(s) | Rating | Ingredients |
---|---|---|---|---|
Superior Rune of Altruism (Learned from: Discovery) |
400 | |||
Superior Rune of Altruism (Learned from: Discovery) |
400 | |||
Superior Rune of Altruism (Learned from: Discovery) |
400 |