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...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#ask: [[Has game context::Recipe]]
 
<includeonly>{{#ask: [[Has game context::Recipe]]
{{#if:{{{item|}}}{{{profession|}}}{{{ownable|}}}{{{rarity|}}}
+
{{#if:{{{item|}}}{{{profession|}}}{{{ownable|}}}{{{rarity|}}}{{{material|}}}
 
| <!-- filter by given parameters -->
 
| <!-- filter by given parameters -->
 
   {{#if:{{{item|}}}|[[Has successful synthesis result::?;{{{item}}}]]}}
 
   {{#if:{{{item|}}}|[[Has successful synthesis result::?;{{{item}}}]]}}
Line 6: Line 6:
 
   {{#if:{{{ownable|}}}|[[Can be owned::true]]}}
 
   {{#if:{{{ownable|}}}|[[Can be owned::true]]}}
 
   {{#if:{{{rarity|}}}|[[Has recipe::<q>[[Has item rarity::{{{rarity}}}]]</q>]]}}
 
   {{#if:{{{rarity|}}}|[[Has recipe::<q>[[Has item rarity::{{{rarity}}}]]</q>]]}}
 +
  {{#if:{{{material|}}}|[[Has ingredient::?;{{{material}}}]]}}
 
| <!-- no filter set, so search for PAGENAME -->
 
| <!-- no filter set, so search for PAGENAME -->
 
   [[Has successful synthesis result::?;{{PAGENAME}}]]
 
   [[Has successful synthesis result::?;{{PAGENAME}}]]
Line 17: Line 18:
 
|?Has failed synthesis result <!-- 8 -->
 
|?Has failed synthesis result <!-- 8 -->
 
|?Has ingredient
 
|?Has ingredient
 +
|?Has synthesizing npc <!-- 10 -->
 
| link = none
 
| link = none
 
| format = template
 
| format = template
 +
| sort = Has successful synthesis result
 +
| sortorder = ascending
 
| 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}}}
| sort = Has recipe
 
| sortorder = ascending
 
 
| searchlabel = List of recipes that satisfy the search criteria.
 
| searchlabel = List of recipes that satisfy the search criteria.
 
| default = No recipes found that satisfy the search criteria.
 
| default = No recipes found that satisfy the search criteria.
Line 38: Line 40:
 
| profession tier =  
 
| profession tier =  
 
| ownable =  
 
| ownable =  
 +
| material =
 
| show recipe =  
 
| show recipe =  
 
| show binding =  
 
| show binding =  
 
| show profession =  
 
| show profession =  
 +
| show description
 
| show fail result =  
 
| show fail result =  
 
}}</pre>
 
}}</pre>
Line 51: Line 55:
 
; profession tier : Filter by profession tier or craft level. Requires '''profession''' to be set.
 
; 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.
 
; ownable : Set to anything to filter by recipes that can be owned.
 +
; material : Filter by item that is used as an ingredient in the recipe.
 
; show recipe : Set to ''y'' to show the recipe item, ''n'' to hide. Defaults to ''y''.
 
; 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 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''.
  
Line 66: Line 72:
 
| ownable = y
 
| ownable = y
 
| profession = Alchemy
 
| profession = Alchemy
 +
}}
 +
 +
<pre>{{Recipe list
 +
| material = Requiem Scythe
 +
}}</pre>
 +
{{Recipe list
 +
| material = Requiem Scythe
 
}}
 
}}
  
 
[[Category:Formatting Templates]]
 
[[Category:Formatting Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:46, 15 April 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 = 
| material = 
| 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.
material 
Filter by item that is used as an ingredient in the recipe.
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
{{Recipe list
| material = Requiem Scythe
}}
Icon Name Recipe Profession/Craft Level Materials
Liberation Scythe.png Liberation Scythe (1) Liberation Recipe.png Recipe: Liberation Scythe
Liberation Scythe.png Liberation Scythe (1) Tradeable Liberation Recipe.png Recipe: Tradeable Liberation Scythe
Liberation Scythe.png Liberation Scythe (1) Untradeable Liberation Recipe.png Recipe: Untradeable Liberation Scythe