User:BryghtShadow/recipe list result format
From Guild Wars 2 Wiki
Jump to navigationJump to search
This is a semantic result template for use in {{recipe list}}. The input parameters generated by the semantic query are:
- Recipe subobject
- Requires discipline
- Requires rating
- Has ingredient
- Has output quantity
- Has item data object
- {{{#userparam}}} nodiscipline - skip rating columns
Used by[edit]
- Template:Recipe list header
- Template:Crafting tier recipe table
- Template:Output recipe list
- Template:Recipe list row
- Template:Recipe list
- Template:Recipe list by discipline
- Template:Recipe table
Example[edit]
{{#ask:[[Requires rating::>{{{min rating|0}}}]] [[Requires rating::<{{{max rating|500}}}]] {{#if:{{{discipline|}}}|[[Requires discipline::{{{discipline}}}]]}} {{#if:{{{type|}}}|[[Has recipe type::{{{type}}}]]}} {{#if:{{{ingredient|Philosopher's Stone}}}|[[Has ingredient::?;?;{{{ingredient|Philosopher's Stone}}}]]}} {{#if:{{{source|Mystic forge}}}|[[Has recipe source::{{{source|Mystic forge}}}]]}} {{#if:{{{sheet|}}}|[[Learned from recipe sheet::{{{sheet}}}]]}} {{#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:{{{other|}}}|{{{other}}}}} {{#if:{{{timegate|}}}|[[Is time gated::Y]]}} |?Requires discipline |?Requires rating |?Has ingredient |?Has output quantity |?Has item data object | link = none | format = template | template = User:BryghtShadow/recipe list result format | intro = {{Recipe list header|source={{{source|Mystic forge}}}|class={{{class|}}}}} <!-- Hides ratings for Mystic Forge source --> | outro = {{!}}} | sort = {{{sort|Requires rating, Has item data object}}} <!-- Mystic Forge recipes have rating of 0 generally --> | sortorder = descending | limit = {{{limit|200}}} | default = No recipes found that match the constraints of the query. }} <!-- CPU time usage 16.441 seconds Real time usage 19.525 seconds Preprocessor visited node count 41709/1000000 Preprocessor generated node count 207196/1000000 Post-expand include size 888431/2097152 bytes Template argument size 63296/2097152 bytes Highest expansion depth 8/40 Expensive parser function count 0/100 -->
{{#ask:[[Requires rating::>{{{min rating|0}}}]] [[Requires rating::<{{{max rating|500}}}]] {{#if:{{{discipline|}}}|[[Requires discipline::{{{discipline}}}]]}} {{#if:{{{type|}}}|[[Has recipe type::{{{type}}}]]}} {{#if:{{{ingredient|Philosopher's Stone}}}|[[Has ingredient::?;?;{{{ingredient|Philosopher's Stone}}}]]}} {{#if:{{{source|Mystic forge}}}|[[Has recipe source::{{{source|Mystic forge}}}]]}} {{#if:{{{sheet|}}}|[[Learned from recipe sheet::{{{sheet}}}]]}} {{#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:{{{other|}}}|{{{other}}}}} {{#if:{{{timegate|}}}|[[Is time gated::Y]]}} |?Requires discipline |?Requires rating |?Has ingredient |?Has output quantity |?Has item data object | link = none | format = template | template = User:BryghtShadow/recipe list result format | intro = {{Recipe list header|source={{{source|Mystic forge}}}|class={{{class|}}}}} <!-- Hides ratings for Mystic Forge source --> | outro = {{!}}} | sort = {{{sort|Requires rating, Has item data object}}} <!-- Mystic Forge recipes have rating of 0 generally --> | sortorder = descending | limit = {{{limit|200}}} | default = No recipes found that match the constraints of the query. }}