Редактирование: Шаблон:Recipe list by discipline
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
<includeonly>{{trim| | <includeonly>{{trim| | ||
− | {{#ifexpr:{{#ask:[[Has ingredient:: | + | {{#ifexpr:{{#ask:[[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|'|'}}}}}]] [[Has recipe source::Mystic forge]]|format=count}} > 0 | |
− | === Mystic Forge === | + | ==== Mystic Forge ==== |
− | {{recipe table|ingredient={{{1| {{# | + | {{recipe table|ingredient={{{1|{{#replace:{{PAGENAME}}|'|'}}}}}|source=Mystic forge}} |
}}<!-- end ifexpr for Mystic Forge --> | }}<!-- end ifexpr for Mystic Forge --> | ||
− | {{#ifexpr:{{#ask:[[Has ingredient:: | + | {{#ifexpr:{{#ask:[[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|'|'}}}}}]] [[Discipline count::>2]]|format=count}} > 0 | |
− | === General === | + | ==== General ==== |
{{recipe list header}} | {{recipe list header}} | ||
− | {{#ask: [[Has ingredient:: | + | {{#ask: [[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|'|'}}}}}]] [[Discipline count::>2]] |
| ?Requires discipline | | ?Requires discipline | ||
| ?Requires rating | | ?Requires rating | ||
Строка 18: | Строка 18: | ||
| sort = Requires rating, Has canonical name | | sort = Requires rating, Has canonical name | ||
| sortorder = descending | | sortorder = descending | ||
− | | limit = | + | | limit = 150 |
}} | }} | ||
{{!}}} | {{!}}} | ||
}}<!-- end ifexpr for General --> | }}<!-- end ifexpr for General --> | ||
− | {{#arraymap:Armorsmith, Artificer, Chef, Huntsman, Jeweler, Leatherworker | + | {{#arraymap:Armorsmith, Artificer, Chef, Huntsman, Jeweler, Leatherworker, Tailor, Weaponsmith|,|@@@|<!-- |
− | -->{{#ifexpr:{{#ask:[[Has ingredient:: | + | -->{{#ifexpr:{{#ask:[[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|'|'}}}}}]] [[Requires discipline::@@@]] [[Discipline count::1]]|format=count}} > 0 | |
− | === {{@@@}} @@@ === | + | ==== {{@@@}} @@@ ==== |
{{{!}} {{STDT|recipe sortable}} {{#vardefine:mysticforge}} | {{{!}} {{STDT|recipe sortable}} {{#vardefine:mysticforge}} | ||
! style="width:300px" {{!}} Item | ! style="width:300px" {{!}} Item | ||
Строка 31: | Строка 31: | ||
! style="min-width:375px" {{!}} Ingredients | ! style="min-width:375px" {{!}} Ingredients | ||
{{!}}- | {{!}}- | ||
− | {{#ask: [[Has ingredient:: | + | {{#ask: [[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|'|'}}}}}]] [[Requires discipline::@@@]] [[Discipline count::1]] |
| ?Requires discipline | | ?Requires discipline | ||
| ?Requires rating | | ?Requires rating | ||
Строка 43: | Строка 43: | ||
| sort = Requires rating, Has canonical name | | sort = Requires rating, Has canonical name | ||
| sortorder = descending | | sortorder = descending | ||
− | | limit = | + | | limit = 150 |
}} | }} | ||
{{!}}} | {{!}}} | ||
Строка 60: | Строка 60: | ||
;Unnamed parameter 1 | ;Unnamed parameter 1 | ||
: Query term. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. | : Query term. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. | ||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
− | <pre>{{recipe list by discipline| | + | <pre>{{recipe list by discipline|Mithril Ingot}}</pre> |
− | {{recipe list by discipline| | + | {{recipe list by discipline|Mithril Ingot}} |
[[Category:Recipe formatting templates]]</noinclude> | [[Category:Recipe formatting templates]]</noinclude> |