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...") |
(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
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 = | 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 }}