Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:Recipe list"

From DFO World Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#ask: Has game context::Recipe {{#if:{{{item|}}}{{{profession|}}}{{{ownable|}}}{{{rarity|}}} | <!-- filter by given parameters --> {{#if:{{{item|}}}|Has...")
 
(add description column)
Line 2: Line 2:
 
{{#if:{{{item|}}}{{{profession|}}}{{{ownable|}}}{{{rarity|}}}
 
{{#if:{{{item|}}}{{{profession|}}}{{{ownable|}}}{{{rarity|}}}
 
| <!-- filter by given parameters -->
 
| <!-- filter by given parameters -->
   {{#if:{{{item|}}}|[[Has successful synthesis result::?;{{{item}}}]]}}
+
   {{#if:{{{item|}}}|[[Has successful synthesis result::?;~{{{item}}}]]}}
 
   {{#if:{{{profession|}}}|[[Has proficiency::{{{profession}}};{{{profession tier|?}}}]]}}
 
   {{#if:{{{profession|}}}|[[Has proficiency::{{{profession}}};{{{profession tier|?}}}]]}}
 
   {{#if:{{{ownable|}}}|[[Can be owned::true]]}}
 
   {{#if:{{{ownable|}}}|[[Can be owned::true]]}}
Line 20: Line 20:
 
| format = template
 
| format = template
 
| template = Recipe list result format
 
| template = Recipe list result format
| intro = {{Recipe list header|show recipe = {{{show recipe|y}}}|show binding = {{{show binding|{{#if:{{{item|}}}{{{profession|}}}{{{ownable|}}}|y|n}} }}}|show profession = {{{show profession|y}}}|show fail result = {{{show fail result|n}}}}}
+
| intro = {{Recipe list header|show recipe = {{{show recipe|y}}}|show binding = {{{show binding|{{#if:{{{item|}}}{{{profession|}}}{{{ownable|}}}|y|n}} }}}|show profession = {{{show profession|y}}}|show description = {{{show description|{{#if:{{{item|}}}{{{profession|}}}{{{ownable|}}}|y|n}} }}}|show fail result = {{{show fail result|n}}}}}
 
| outro = {{!}}}
 
| outro = {{!}}}
 
| limit = {{{limit|150}}}
 
| limit = {{{limit|150}}}
Line 41: Line 41:
 
| show binding =  
 
| show binding =  
 
| show profession =  
 
| show profession =  
 +
| show description
 
| show fail result =  
 
| show fail result =  
 
}}</pre>
 
}}</pre>
Line 54: Line 55:
 
; show binding : Set to ''y'' to show the binding of the created item, ''n'' to hide. Defaults to ''n'' if no search parameter is set, ''y'' otherwise.
 
; show binding : Set to ''y'' to show the binding of the created item, ''n'' to hide. Defaults to ''n'' if no search parameter is set, ''y'' otherwise.
 
; show profession : Set to ''y'' to show the profession/craft and level of the recipe, ''n'' to hide. Defaults to ''y''.
 
; show profession : Set to ''y'' to show the profession/craft and level of the recipe, ''n'' to hide. Defaults to ''y''.
 +
; show description : Set to ''y'' to show the description of the created item, ''n'' to hide. Defaults to ''y''.
 
; show fail result : Set to ''y'' to show synthesis failure results, ''n'' to hide. Defaults to ''n''.
 
; show fail result : Set to ''y'' to show synthesis failure results, ''n'' to hide. Defaults to ''n''.
  

Revision as of 12:31, 13 March 2016

Description

This template creates a list of recipes that satisfy the search criteria. Uses Template:Recipe list header and Template:Recipe list result format for formatting.

Usage

{{Recipe list
| item = 
| profession = 
| profession tier = 
| ownable = 
| show recipe = 
| show binding = 
| show profession = 
| show description
| show fail result = 
}}

Parameters

All parameters are optional unless stated otherwise.

item 
Filter by item that is created by recipes. Defaults to {{PAGENAME}} if no other parameter is set.
profession 
Filter by profession or craft.
profession tier 
Filter by profession tier or craft level. Requires profession to be set.
ownable 
Set to anything to filter by recipes that can be owned.
show recipe 
Set to y to show the recipe item, n to hide. Defaults to y.
show binding 
Set to y to show the binding of the created item, n to hide. Defaults to n if no search parameter is set, y otherwise.
show profession 
Set to y to show the profession/craft and level of the recipe, n to hide. Defaults to y.
show description 
Set to y to show the description of the created item, n to hide. Defaults to y.
show fail result 
Set to y to show synthesis failure results, n to hide. Defaults to n.

Examples

{{Recipe list
| ownable = y
| profession = Alchemy
| profession tier = 1
}}
Icon Name Binding Recipe Profession/Craft Level Materials Description
Expert MP Potion.png Expert MP Potion (1) Profession Recipe Tier 1.png Recipe: Expert MP Potion Alchemy 1
Inferior Protein Oil.png Inferior Protein Oil (1) Profession Recipe Tier 2.png Recipe: Inferior Protein Oil Alchemy 2
Professional HP Potion.png Professional HP Potion (1) Profession Recipe Tier 1.png Recipe: Loton's Expert HP Potion Alchemy 1
Master HP Potion.png Master HP Potion (1) Profession Recipe Tier 2.png Recipe: Loton's Master HP Potion Alchemy 2
Low Grade Intelligence Potion.png Low Grade Intelligence Potion (1) Profession Recipe Tier 2.png Recipe: Low Grade Intelligence Potion Alchemy 2
Low Grade Mana Nostrum.png Low Grade Mana Nostrum (1) Profession Recipe Tier 1.png Recipe: Low Grade Mana Nostrum Alchemy 1
Low Grade Strength Potion.png Low Grade Strength Potion (1) Profession Recipe Tier 2.png Recipe: Low Grade Strength Potion Alchemy 2
Low Grade Vital Potion.png Low Grade Vital Potion (1) Profession Recipe Tier 1.png Recipe: Low Grade Vital Potion Alchemy 1
Raw Mana.png Raw Mana (1) Profession Recipe Tier 1.png Recipe: Mana Crystal Alchemy 1
Master MP Potion.png Master MP Potion (1) Profession Recipe Tier 2.png Recipe: Master MP Potion Alchemy 2
Patinaed Elixir Bracelet.png Patinaed Elixir Bracelet (1) Untradable Profession Recipe Tier 5.png Recipe: Patinaed Elixir Bracelet Alchemy 5
Rookie Alchemy Extractor.png Rookie Alchemy Extractor (1) Untradable Profession Recipe Tier 1.png Recipe: Rookie Alchemy Extractor Alchemy 1