Шаблон:Recipe list header — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
Строка 1: Строка 1:
 
{| {{STDT|recipe sortable}}  
 
{| {{STDT|recipe sortable}}  
! style="width:300px" | Предмет
+
! style="width:300px" | Item
! style="width:30px"  | Редкость
+
! style="width:30px"  | Rarity
 
{{#vardefine:mysticforge}}{{#ifeq:{{lc:{{{source}}}}}|mystic forge|{{#vardefine:mysticforge|y}}|{{#vardefine:mysticforge|n}}<!-- Do not show if constrained to Mystic Forge -->
 
{{#vardefine:mysticforge}}{{#ifeq:{{lc:{{{source}}}}}|mystic forge|{{#vardefine:mysticforge|y}}|{{#vardefine:mysticforge|n}}<!-- Do not show if constrained to Mystic Forge -->
! style="width:104px" {{!}} Дисциплина(ы)
+
! style="width:104px" {{!}} Discipline(s)
! style="width:40px"  {{!}} Рейтинг
+
! style="width:40px"  {{!}} Rating
 
}}
 
}}
! style="min-width:300px" | Ингредиенты
+
! style="min-width:300px" | Ingredients
 
|-<noinclude>
 
|-<noinclude>
 
{{recipe list row|Pile of Zesty Herbs}}
 
{{recipe list row|Pile of Zesty Herbs}}

Текущая версия на 12:59, 4 апреля 2018

Item Rarity Discipline(s) Rating Ingredients

Usage[править]

The header for recipe tables. Provides the header for {{recipe list}}, {{output recipe list}}, and related templates.

{{recipe list header|source=<Source>}}
{{recipe list header}}
{{recipe list row|<Item>}}
{{recipe list row|<Item>}}
|}
Variables
mysticforge - Used with {{recipe list row}} to hide the rating and discipline columns if restricted to Mystic Forge.

Parameters[править]

Unnamed parameter 1
Item
source
The recipe source (Property:Has recipe source) to filter out columns for. Only used for Mystic Forge recipes as they typically do not require a discipline or rating.

Example[править]

{{recipe list header}}
{{recipe list row|<Item>}}
{{recipe list row|<Item>}}
|}