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"
(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}}} | ||
− | |||
− | |||
| 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
Contents
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 }}
{{Recipe list | material = Requiem Scythe }}
Icon | Name | Recipe | Profession/Craft | Level | Materials |
---|---|---|---|---|---|
Liberation Scythe (1) | Recipe: Liberation Scythe | — | — |
| |
Liberation Scythe (1) | Recipe: Tradeable Liberation Scythe | — | — |
| |
Liberation Scythe (1) | Recipe: Untradeable Liberation Scythe | — | — |
|