Редактирование: Шаблон:Recipe list by discipline

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.

Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.

На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.

Текущая версия Ваш текст
Строка 1: Строка 1:
 
<includeonly>{{trim|
 
<includeonly>{{trim|
{{#ifexpr:{{#ask:[[Has ingredient::?;?;{{{1| {{#titleparts:{{{1|{{BASEPAGENAME}}}}} }}}}}]] [[Has recipe source::Mystic forge]] {{{other|}}}|format=count}} > 0 |
+
{{#ifexpr:{{#ask:[[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|&#39;|'}}}}}]] [[Has recipe source::Mystic forge]]|format=count}} > 0 |
=== Mystic Forge ===
+
==== Mystic Forge ====
{{recipe table|ingredient={{{1| {{#titleparts:{{{1|{{BASEPAGENAME}}}}} }}}}}|source=Mystic forge|limit={{{limit|200}}}|other={{{other|}}}}}
+
{{recipe table|ingredient={{{1|{{#replace:{{PAGENAME}}|&#39;|'}}}}}|source=Mystic forge}}
 
}}<!-- end ifexpr for Mystic Forge -->
 
}}<!-- end ifexpr for Mystic Forge -->
{{#ifexpr:{{#ask:[[Has ingredient::?;?;{{{1| {{#titleparts:{{{1|{{BASEPAGENAME}}}}} }}}}}]] [[Discipline count::>2]] {{{other|}}}|format=count}} > 0 |
+
{{#ifexpr:{{#ask:[[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|&#39;|'}}}}}]] [[Discipline count::>2]]|format=count}} > 0 |
=== General ===
+
==== General ====
 
{{recipe list header}}
 
{{recipe list header}}
{{#ask: [[Has ingredient::?;?;{{{1| {{#titleparts:{{{1|{{BASEPAGENAME}}}}}}} }}}]] [[Discipline count::>2]] {{{other|}}}
+
{{#ask: [[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|&#39;|'}}}}}]] [[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}}}
+
  | limit = 150
 
}}
 
}}
 
{{!}}}
 
{{!}}}
 
}}<!-- end ifexpr for General -->
 
}}<!-- end ifexpr for General -->
{{#arraymap:Armorsmith, Artificer, Chef, Huntsman, Jeweler, Leatherworker, Scribe, Tailor, Weaponsmith|,|@@@|<!--
+
{{#arraymap:Armorsmith, Artificer, Chef, Huntsman, Jeweler, Leatherworker, Tailor, Weaponsmith|,|@@@|<!--
-->{{#ifexpr:{{#ask:[[Has ingredient::?;?;{{{1| {{#titleparts:{{{1|{{BASEPAGENAME}}}}}}} }}}]] [[Requires discipline::@@@]] [[Discipline count::1]] {{{other|}}}|format=count}} > 0 |
+
-->{{#ifexpr:{{#ask:[[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|&#39;|'}}}}}]] [[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::?;?;{{{1| {{#titleparts:{{{1|{{BASEPAGENAME}}}}}}} }}}]] [[Requires discipline::@@@]] [[Discipline count::1]] {{{other|}}}
+
{{#ask: [[Has ingredient::?;{{{1|{{#replace:{{PAGENAME}}|&#39;|'}}}}}]] [[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}}}
+
  | 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>.
;limit
 
: Maximum number of results to return.
 
;other
 
: Additional query restrictions. Use sparingly.
 
  
 
== Example ==
 
== Example ==
<pre>{{recipe list by discipline|Copper Ore}}</pre>
+
<pre>{{recipe list by discipline|Mithril Ingot}}</pre>
{{recipe list by discipline|Copper Ore}}
+
{{recipe list by discipline|Mithril Ingot}}
  
 
[[Category:Recipe formatting templates]]</noinclude>
 
[[Category:Recipe formatting templates]]</noinclude>

Пожалуйста, учтите, что любой ваш вклад в проект «Guild Wars 2 wiki» может быть отредактирован или удалён другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см. Guild Wars 2 wiki:Авторские права). НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!

Чтобы изменить эту страницу, пожалуйста, ответьте на приведённый ниже вопрос (подробнее):

Отменить | Справка по редактированию (в новом окне)