Редактирование: Шаблон:Recipe table
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
− | <includeonly>{{#ask: | + | <includeonly>{{#ask:[[Requires rating::>{{{min rating|0}}}]] |
− | + | [[Requires rating::<{{{max rating|500}}}]] | |
− | + | {{#if:{{{discipline|}}}|[[Requires discipline::{{{discipline}}}]]}} | |
− | + | {{#if:{{{type|}}}|[[Has recipe type::{{{type}}}]]}} | |
− | + | {{#if:{{{ingredient|}}}|[[Has ingredient::?;{{{ingredient}}}]]}} | |
− | + | {{#if:{{{source|}}}|[[Has recipe source::{{{source}}}]]}} | |
− | + | {{#if:{{{item name|}}}|[[Has item data object.Has canonical name::~*{{{item name}}}*]]}} | |
− | + | {{#if:{{{item type|}}}|[[Has item data object.Has item type::{{{item type}}}]]}} | |
− | + | {{#if:{{{timegate|}}}|[[Is time gated::Y]]}} | |
− | |||
− | |||
− | |||
|?Requires discipline | |?Requires discipline | ||
|?Requires rating | |?Requires rating | ||
Строка 16: | Строка 13: | ||
|?Has output quantity | |?Has output quantity | ||
|?Has item data object | |?Has item data object | ||
− | |||
| link = none | | link = none | ||
| format = template | | format = template | ||
Строка 22: | Строка 18: | ||
| intro = {{Recipe list header|source={{{source}}}}} <!-- Hides ratings for Mystic Forge source --> | | intro = {{Recipe list header|source={{{source}}}}} <!-- Hides ratings for Mystic Forge source --> | ||
| outro = {{!}}} | | outro = {{!}}} | ||
− | | sort = | + | | sort = Requires rating, Has item data object<!-- Mystic Forge recipes have rating of 0 generally --> |
| sortorder = descending | | sortorder = descending | ||
− | | limit = | + | | limit = 200 |
− | |||
| default = No recipes found that match the constraints of the query. | | default = No recipes found that match the constraints of the query. | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | |||
== Usage == | == Usage == | ||
− | Generates a list of recipes based on the input parameters. Format using {{tl|recipe list header}} and {{tl|recipe list result format}}. | + | Generates a list of recipes based on the input parameters. Format using {{tl|recipe list header}} and {{tl|recipe list result format}}. |
<pre> | <pre> | ||
Строка 39: | Строка 33: | ||
| ingredient = | | ingredient = | ||
| source = | | source = | ||
− | |||
| type = | | type = | ||
| item type = | | item type = | ||
Строка 47: | Строка 40: | ||
== Parameters == | == Parameters == | ||
+ | All parameters are used as criteria for certain properties within the semantic query. | ||
{| {{STDT}} | {| {{STDT}} | ||
! Parameter || Maps to property | ! Parameter || Maps to property | ||
Строка 59: | Строка 53: | ||
|- | |- | ||
| source || [[Property:Has recipe source]] | | source || [[Property:Has recipe source]] | ||
− | |||
− | |||
|- | |- | ||
| type || [[Property:Has recipe type]] | | type || [[Property:Has recipe type]] | ||
Строка 69: | Строка 61: | ||
|- | |- | ||
| timegate || [[Property:Is time gated]] | | timegate || [[Property:Is time gated]] | ||
− | |||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == |