Template:Synthesis Recipe: Difference between revisions

From HorizonXI Wiki
(removed the expansion toggle parameter again since we use css classes now)
m (added preprocessing step into categorization of recipes to catch non-numeric inputs properly)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1|}}}}}|none = ''None''|example code = <pre>{{Synthesis Recipe
<includeonly><onlyinclude>{{#switch:{{lc:{{{1|}}}}}|bp|boilerplate =  
{{Preview Only Infobox|<ul><li>'''<nowiki>{{Synthesis Recipe|d</nowiki>:''' To see the documentation for this template. Alternatively, visit the [[:Template:Synthesis Recipe|the template's documentation]] for further information.</li></ul>
<pre>{{Synthesis Recipe
| craft =  
| craft =  
| cap =  
| cap =  
| result =  
| result =  
| yield =  
| yield =  
| hq result =
| hq yield =
| hq 2 result =
| hq 2 yield =
| hq 3 result =
| hq 3 yield =
| crystal =  
| crystal =  
| ingredient =  
| ingredient =  
| ingredient quantity =
| ingredient quantity =
}}</pre>|#default = <!--
| ingredient 2 =
-->{{#switch:{{lc:{{{1|}}}}}|nc|no categories = |#default = {{#if:{{{craft|}}}|[[Category:{{{craft|}}}]]}}{{#if:{{{subcraft|}}}|[[Category:{{{subcraft|}}}]]}}{{#if:{{{subcraft 2|}}}|[[Category:{{{subcraft 2|}}}]]}}{{#if:{{{subcraft 3|}}}|[[Category:{{{subcraft 3|}}}]]}}}}<!--
| ingredient 2 quantity =
-->{{#ifeq:{{padleft:{{{craft|}}}|3|?}}|???|''Unknown Craft'' <includeonly>{{Information Needed}}</includeonly>|{{Craft|{{{craft}}}|{{#if:{{{cap|}}}|{{{cap}}}|???}}}}<!--
| custom content =
| horizon changes =  
}}</pre>|disable={{{1|}}}}}<!--
 
-->|d|documentation =
{{Preview Only Infobox|<ul><li>'''<nowiki>{{Synthesis Recipe|bp</nowiki>:''' To see the documentation for this template. Alternatively, visit the [[:Template:Synthesis Recipe|the template's documentation]] for further information.</li></ul><pre>{{Synthesis Recipe
| craft = {Name of craft the recipe belongs to}
| cap = {Level cap of recipe}
| result = {Regular quality result of the item crafted}
| yield = {Amount of the regular quality item crafted}
| hq result = {Name of the hq result of the item crated, if applicable}
| hq yield = {Amount of the hq quality item crafted, if applicable}
| hq 2 result = {Name of the hq 2 result of the item crated, if applicable}
| hq 2 yield = {Amount of the hq 2 quality item crafted, if applicable}
| hq 3 result = {Name of the hq 3 result of the item crated, if applicable}
| hq 3 yield = {Amount of the hq 3 quality item crafted, if applicable}
| crystal = {Crystal required for this receipe}
| ingredient = {First ingredient}
| ingredient quantity = {Quantity of the first ingredient}
| ingredient 2 = {Second ingredient. Applies 2-8 eg. "| ingredient 8 =" }
| ingredient 2 quantity = {Quantity of second ingredient. Also applies 2-8 eg. "|ingredient 8 quantity =" }
| custom content = {Use if recipe is custom. Parameter will accept "y", "yes" and "true"}
| horizon changes = {Use if recipe has HorizonXI changes. Parameter will accept "y", "yes" and "true"}
}}</pre>|disable={{{1|}}}}}<!--
 
-->|none=''None''|#default =  
<!--
CATEGORIZATIONS
-->{{categorize|{{{1|}}}|<!--
-->{{#if:{{{craft|}}}|{{#ifeq:{{{ingredient}}}|{{PAGENAME}}|[[Category:{{{craft|}}}/Desynthesis]]|[[Category:{{{craft|}}}]]{{#if:{{{cap|}}}|[[Category:{{{craft|}}}/{{GetRecipeRank|{{GetLevelRange/Preprocess|{{{cap|}}}}}}}]]}}}}}}<!--
-->{{#if:{{{subcraft|}}}|{{#ifeq:{{{ingredient}}}|{{PAGENAME}}|<!--subcraft in desynth recipe-->|[[Category:{{{subcraft|}}}]][[Category:{{{subcraft|}}}/Subcraft]]{{#if:{{{subcraft cap|}}}|[[Category:{{{subcraft|}}}/{{GetRecipeRank|{{GetLevelRange/Preprocess|{{{subcraft cap|}}}}}}}]]}}}}}}<!--
-->{{#if:{{{subcraft 2|}}}|{{#ifeq:{{{ingredient}}}|{{PAGENAME}}|<!--subcraft in desynth recipe-->|[[Category:{{{subcraft 2|}}}]][[Category:{{{subcraft 2|}}}/Subcraft]]{{#if:{{{subcraft 2 cap|}}}|[[Category:{{{subcraft 2|}}}/{{GetRecipeRank|{{GetLevelRange/Preprocess|{{{subcraft 2 cap|}}}}}}}]]}}}}}}<!--
-->{{#if:{{{subcraft 3|}}}|{{#ifeq:{{{ingredient}}}|{{PAGENAME}}|<!--subcraft in desynth recipe-->|[[Category:{{{subcraft 3|}}}]][[Category:{{{subcraft 3|}}}/Subcraft]]{{#if:{{{subcraft 3 cap|}}}|[[Category:{{{subcraft 3|}}}/{{GetRecipeRank|{{GetLevelRange/Preprocess|{{{subcraft 3 cap|}}}}}}}]]}}}}}}<!--
categorize HQ items
-->{{#if:{{{hq result|}}}|<!-- if the hq result is equal to the pagename
-->{{#ifeq:{{{hq result}}}|{{PAGENAME}}|<!-- and NOT equal to the (nq) result name
-->{{#ifeq:{{{hq result}}}|{{{result}}}|<!--do nothing-->|[[Category:High Quality]]}}|<!-- else do nothing -->}}<!--
-->}}<!--
 
HQ 2
-->{{#if:{{{hq 2 result|}}}|<!-- if the hq result is equal to the pagename
-->{{#ifeq:{{{hq 2 result}}}|{{PAGENAME}}|<!-- and NOT equal to the (nq) result name
-->{{#ifeq:{{{hq 2 result}}}|{{{result}}}|<!--do nothing-->|[[Category:High Quality]]}}|<!-- else do nothing -->}}<!--
-->}}<!--
 
HQ 3
-->{{#if:{{{hq 3 result|}}}|<!-- if the hq result is equal to the pagename
-->{{#ifeq:{{{hq 3 result}}}|{{PAGENAME}}|<!-- and NOT equal to the (nq) result name
-->{{#ifeq:{{{hq 3 result}}}|{{{result}}}|<!--do nothing-->|[[Category:High Quality]]}}|<!-- else do nothing -->}}<!--
-->}}<!--
 
categorize end
-->}}<!--
 
-->{{#ifeq:{{padleft:{{{craft|}}}|3|?}}|???|''Unknown Craft'' {{Information Needed}}|{{Craft|{{{craft}}}|{{#if:{{{cap|}}}|{{{cap}}}|???}}}}<!--
-->{{#if:{{{subcraft|}}}|, ''{{Craft|{{{subcraft}}}|{{{subcraft cap}}}}}''{{#if:{{{subcraft 2|}}}|, ''{{Craft|{{{subcraft 2}}}|{{{subcraft 2 cap}}}}}''}}{{#if:{{{subcraft 3|}}}|, ''{{Craft|{{{subcraft 3}}}|{{{subcraft 3 cap}}}}}''}}}}}}
-->{{#if:{{{subcraft|}}}|, ''{{Craft|{{{subcraft}}}|{{{subcraft cap}}}}}''{{#if:{{{subcraft 2|}}}|, ''{{Craft|{{{subcraft 2}}}|{{{subcraft 2 cap}}}}}''}}{{#if:{{{subcraft 3|}}}|, ''{{Craft|{{{subcraft 3}}}|{{{subcraft 3 cap}}}}}''}}}}}}
:'''Yield:''' {{#switch:{{lc:{{{result|???}}}}}
:'''Yield:''' {{#switch:{{lc:{{{result|???}}}}}
| {{lc:{{PAGENAME}}}} = ''{{{result display|{{{result}}}}}}''
| {{lc:{{PAGENAME}}}} = ''{{{result display|{{{result}}}}}}''
| this = ''{{PAGENAME}}''
| this = ''{{PAGENAME}}''
| #default = {{#ifeq:{{padleft:{{{result|}}}|3|?}}|???|''Unknown'' <includeonly>{{Information Needed}}</includeonly>|[[{{{result}}}{{#if:{{{result display|}}}|{{!}}{{{result display}}}}}]]}}<!--
| #default = {{#ifeq:{{padleft:{{{result|}}}|3|?}}|???|''Unknown'' {{Information Needed}}|[[{{{result}}}{{#if:{{{result display|}}}|{{!}}{{{result display}}}}}]]}}<!--
-->}}<!--
-->}}<!--
--> x {{#ifeq:{{padleft:{{{yield|1}}}|3|?}}|???|??? <includeonly>{{Information Needed}}</includeonly>|{{{yield|1}}}}}<!--
--> x {{#ifeq:{{padleft:{{{yield|1}}}|3|?}}|???|??? {{Information Needed}}|{{{yield|1}}}}}<!--
-->{{#if:{{{hq result|}}}{{{hq yield|}}}{{{hq 2 result|}}}{{{hq 2 yield|}}}{{{hq 3 result|}}}{{{hq 3 yield|}}}|<!--
-->{{#if:{{{hq result|}}}{{{hq yield|}}}{{{hq 2 result|}}}{{{hq 2 yield|}}}{{{hq 3 result|}}}{{{hq 3 yield|}}}|<!--
-->{{#ifeq:{{lc:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}}}{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|}}}}}}}}}}}}|{{lc:{{{result|}}}{{{yield|}}}}}||<nowiki/>
-->{{#ifeq:{{lc:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}}}{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|}}}}}}}}}}}}|{{lc:{{{result|}}}{{{yield|}}}}}||<nowiki/><br><!--
:'''HQ 1:''' {{#switch:{{lc:{{{hq result|{{{result|}}}}}}}}
-->'''HQ 1:''' {{#switch:{{lc:{{{hq result|{{{result|}}}}}}}}
| {{lc:{{PAGENAME}}}} = ''{{{hq result display|{{{hq result|{{{result}}}}}}}}}''
| {{lc:{{PAGENAME}}}} = ''{{{hq result display|{{{hq result|{{{result}}}}}}}}}''
| this = ''{{PAGENAME}}''
| this = ''{{PAGENAME}}''
| +1 | +2 | +3 = {{#ifeq:{{lc:{{{result}}} {{{hq result}}}}}|{{lc:{{PAGENAME}}}}|''{{{result}}} {{{hq result}}}''|[[{{{result}}} {{{hq result}}}]]}}
| +1 | +2 | +3 = {{#ifeq:{{lc:{{{result}}} {{{hq result}}}}}|{{lc:{{PAGENAME}}}}|''{{{result}}} {{{hq result}}}''|[[{{{result}}} {{{hq result}}}]]}}
| #default = {{#ifeq:{{padleft:{{{hq result|{{{result|}}}}}}|3|?}}|???|''Unknown'' <includeonly>{{Information Needed}}</includeonly>|[[{{{hq result|{{{result}}}}}}{{#if:{{{hq result display|}}}|{{!}}{{{hq result display}}}}}]]}}<!--
| #default = {{#ifeq:{{padleft:{{{hq result|{{{result|}}}}}}|3|?}}|???|''Unknown'' {{Information Needed}}|[[{{{hq result|{{{result}}}}}}{{#if:{{{hq result display|}}}|{{!}}{{{hq result display}}}}}]]}}<!--
-->}} x {{#ifeq:{{padleft:{{{hq yield|{{{yield|1}}}}}}|3|?}}|???|??? <includeonly>{{Information Needed}}</includeonly>|{{{hq yield|{{{yield|1}}}}}}}}<!--
-->}} x {{#ifeq:{{padleft:{{{hq yield|{{{yield|1}}}}}}|3|?}}|???|??? {{Information Needed}}|{{{hq yield|{{{yield|1}}}}}}}}<!--
-->{{#if:{{{hq 2 result|}}}{{{hq 2 yield|}}}{{{hq 3 result|}}}{{{hq 3 yield|}}}|<!--
-->{{#if:{{{hq 2 result|}}}{{{hq 2 yield|}}}{{{hq 3 result|}}}{{{hq 3 yield|}}}|<!--
-->{{#ifeq:{{lc:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|}}}}}}}}}}}}}}|{{lc:{{{hq result|{{{result|}}}}}}{{{hq yield|{{{yield|}}}}}}}}||<nowiki/>
-->{{#ifeq:{{lc:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|}}}}}}}}}}}}}}|{{lc:{{{hq result|{{{result|}}}}}}{{{hq yield|{{{yield|}}}}}}}}||<nowiki/><br><!--
:'''HQ 2:''' {{#switch:{{lc:{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}
-->'''HQ 2:''' {{#switch:{{lc:{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}
| {{lc:{{PAGENAME}}}} = ''{{{hq 2 result display|{{{hq 2 result|{{{hq result|{{{result}}}}}}}}}}}}''
| {{lc:{{PAGENAME}}}} = ''{{{hq 2 result display|{{{hq 2 result|{{{hq result|{{{result}}}}}}}}}}}}''
| this = ''{{PAGENAME}}''
| this = ''{{PAGENAME}}''
| +1 | +2 | +3 = {{#ifeq:{{lc:{{{result}}} {{{hq 2 result|{{{hq result}}}}}}}}|{{lc:{{PAGENAME}}}}|''{{{result}}} {{{hq 2 result|{{{hq result}}}}}}''|[[{{{result}}} {{{hq 2 result|{{{hq result}}}}}}]]}}
| +1 | +2 | +3 = {{#ifeq:{{lc:{{{result}}} {{{hq 2 result|{{{hq result}}}}}}}}|{{lc:{{PAGENAME}}}}|''{{{result}}} {{{hq 2 result|{{{hq result}}}}}}''|[[{{{result}}} {{{hq 2 result|{{{hq result}}}}}}]]}}
| #default = {{#ifeq:{{padleft:{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}|3|?}}|???|''Unknown'' <includeonly>{{Information Needed}}</includeonly>|[[{{{hq 2 result|{{{hq result|{{{result}}}}}}}}}{{#if:{{{hq 2 result display|}}}|{{!}}{{{hq 2 result display}}}}}]]}}<!--
| #default = {{#ifeq:{{padleft:{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}|3|?}}|???|''Unknown'' {{Information Needed}}|[[{{{hq 2 result|{{{hq result|{{{result}}}}}}}}}{{#if:{{{hq 2 result display|}}}|{{!}}{{{hq 2 result display}}}}}]]}}<!--
-->}} x {{#ifeq:{{padleft:{{{hq 2 yield|{{{hq yield|{{{yield|1}}}}}}}}}|3|?}}|???|??? <includeonly>{{Information Needed}}</includeonly>|{{{hq 2 yield|{{{hq yield|{{{yield|1}}}}}}}}}}}<!--
-->}} x {{#ifeq:{{padleft:{{{hq 2 yield|{{{hq yield|{{{yield|1}}}}}}}}}|3|?}}|???|??? {{Information Needed}}|{{{hq 2 yield|{{{hq yield|{{{yield|1}}}}}}}}}}}<!--
-->{{#if:{{{hq 3 result|}}}{{{hq 3 yield|}}}|<!--
-->{{#if:{{{hq 3 result|}}}{{{hq 3 yield|}}}|<!--
-->{{#ifeq:{{lc:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|}}}}}}}}}}}}}}|{{lc:{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}{{{hq 2 yield|{{{hq yield|{{{yield|}}}}}}}}}}}||<nowiki/>
-->{{#ifeq:{{lc:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|}}}}}}}}}}}}}}|{{lc:{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}{{{hq 2 yield|{{{hq yield|{{{yield|}}}}}}}}}}}||<nowiki/><br><!--
:'''HQ 3:''' {{#switch:{{lc:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}}}
-->'''HQ 3:''' {{#switch:{{lc:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}}}
| {{lc:{{PAGENAME}}}} = ''{{{hq 3 result display|{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result}}}}}}}}}}}}}}}''
| {{lc:{{PAGENAME}}}} = ''{{{hq 3 result display|{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result}}}}}}}}}}}}}}}''
| this = ''{{PAGENAME}}''
| this = ''{{PAGENAME}}''
| +1 | +2 | +3 = {{#ifeq:{{lc:{{{result}}} {{{hq 3 result|{{{hq 2 result|{{{hq result}}}}}}}}}}}|{{lc:{{PAGENAME}}}}|''{{{result}}} {{{hq 3 result|{{{hq 2 result|{{{hq result}}}}}}}}}''|[[{{{result}}} {{{hq 3 result|{{{hq 2 result|{{{hq result}}}}}}}}}]]}}
| +1 | +2 | +3 = {{#ifeq:{{lc:{{{result}}} {{{hq 3 result|{{{hq 2 result|{{{hq result}}}}}}}}}}}|{{lc:{{PAGENAME}}}}|''{{{result}}} {{{hq 3 result|{{{hq 2 result|{{{hq result}}}}}}}}}''|[[{{{result}}} {{{hq 3 result|{{{hq 2 result|{{{hq result}}}}}}}}}]]}}
| #default = {{#ifeq:{{padleft:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}|3|?}}|???|''Unknown'' <includeonly>{{Information Needed}}</includeonly>|[[{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result}}}}}}}}}}}}{{#if:{{{hq 3 result display|}}}|{{!}}{{{hq 3 result display}}}}}]]}}<!--
| #default = {{#ifeq:{{padleft:{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result|}}}}}}}}}}}}|3|?}}|???|''Unknown'' {{Information Needed}}|[[{{{hq 3 result|{{{hq 2 result|{{{hq result|{{{result}}}}}}}}}}}}{{#if:{{{hq 3 result display|}}}|{{!}}{{{hq 3 result display}}}}}]]}}<!--
-->}} x {{#ifeq:{{padleft:{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|1}}}}}}}}}}}}|3|?}}|???|??? <includeonly>{{Information Needed}}</includeonly>|{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|1}}}}}}}}}}}}}}<!--
-->}} x {{#ifeq:{{padleft:{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|1}}}}}}}}}}}}|3|?}}|???|??? {{Information Needed}}|{{{hq 3 yield|{{{hq 2 yield|{{{hq yield|{{{yield|1}}}}}}}}}}}}}}<!--
-->}}}}<!--
-->}}}}<!--
-->}}}}<!--
-->}}}}<!--
-->}}}}
-->}}}}
:{{#ifeq:{{lc:{{{craft|}}}}}|synergy|'''Balance:''' {{#if:{{{fire|}}}{{{ice|}}}{{{wind|}}}{{{earth|}}}{{{lightning|}}}{{{water|}}}{{{light|}}}{{{dark|}}}|{{#if:{{{fire|}}}|{{Element|Fire}}{{{fire}}} <nowiki/>}}{{#if:{{{ice|}}}|{{Element|Ice}}{{{ice}}} <nowiki/>}}{{#if:{{{wind|}}}|{{Element|Wind}}{{{wind}}} <nowiki/>}}{{#if:{{{earth|}}}|{{Element|Earth}}{{{earth}}} <nowiki/>}}{{#if:{{{lightning|}}}|{{Element|Lightning}}{{{lightning}}} <nowiki/>}}{{#if:{{{water|}}}|{{Element|Water}}{{{water}}} <nowiki/>}}{{#if:{{{light|}}}|{{Element|Light}}{{{light}}} <nowiki/>}}{{#if:{{{dark|}}}|{{Element|Dark}}{{{dark}}}}}|''Unknown Elemental Balance'' <includeonly>{{Information Needed}}</includeonly>}}|<!--
:{{#ifeq:{{lc:{{{craft|}}}}}|synergy|'''Balance:''' {{#if:{{{fire|}}}{{{ice|}}}{{{wind|}}}{{{earth|}}}{{{lightning|}}}{{{water|}}}{{{light|}}}{{{dark|}}}|{{#if:{{{fire|}}}|{{Element|Fire}}{{{fire}}} <nowiki/>}}{{#if:{{{ice|}}}|{{Element|Ice}}{{{ice}}} <nowiki/>}}{{#if:{{{wind|}}}|{{Element|Wind}}{{{wind}}} <nowiki/>}}{{#if:{{{earth|}}}|{{Element|Earth}}{{{earth}}} <nowiki/>}}{{#if:{{{lightning|}}}|{{Element|Lightning}}{{{lightning}}} <nowiki/>}}{{#if:{{{water|}}}|{{Element|Water}}{{{water}}} <nowiki/>}}{{#if:{{{light|}}}|{{Element|Light}}{{{light}}} <nowiki/>}}{{#if:{{{dark|}}}|{{Element|Dark}}{{{dark}}}}}|''Unknown Elemental Balance'' {{Information Needed}}}}|<!--
-->{{#if:{{{crystal|}}}|{{{{{crystal}}}|Crystal}}|'''Unknown Crystal''' <includeonly>{{Information Needed}}</includeonly>}}}}<!--
-->{{#if:{{{crystal|}}}|{{{{{crystal}}}|Crystal}}|'''Unknown Crystal''' {{Information Needed}}}}}}
-->{{#if:{{{crafting tool|}}}|<nowiki/>
{{#if:{{{crafting tool|}}}|<nowiki/>:{{Crafting Tool|{{{crafting tool}}}}}}}
:{{Crafting Tool|{{{crafting tool}}}}}}}
:*{{#ifeq:{{padleft:{{{ingredient|}}}|3|?}}|???|''Unknown ingredients'' {{Information Needed}}|{{{ingredient quantity|1}}} x {{#switch:{{lc:{{{ingredient}}}}}
:*{{#ifeq:{{padleft:{{{ingredient|}}}|3|?}}|???|''Unknown ingredients'' <includeonly>{{Information Needed}}</includeonly>|{{{ingredient quantity|1}}} x {{#switch:{{lc:{{{ingredient}}}}}
| {{lc:{{PAGENAME}}}} = ''{{{ingredient}}}''
| {{lc:{{PAGENAME}}}} = ''{{{ingredient}}}''
| this = ''{{PAGENAME}}''
| this = ''{{PAGENAME}}''
Line 59: Line 120:
:*{{{ingredient 7 quantity|1}}} x [[{{{ingredient 7}}}]]{{#if:{{{ingredient 8|}}}|<nowiki/>
:*{{{ingredient 7 quantity|1}}} x [[{{{ingredient 7}}}]]{{#if:{{{ingredient 8|}}}|<nowiki/>
:*{{{ingredient 8 quantity|1}}} x [[{{{ingredient 8}}}]]}}}}}}}}}}}}}}}}<!--
:*{{{ingredient 8 quantity|1}}} x [[{{{ingredient 8}}}]]}}}}}}}}}}}}}}}}<!--
-->}}<noinclude><!--
-->}}<!--
if custom content is true then categorize as such
-->{{#if:{{{custom content|}}}|{{#switch:{{lc:{{{custom content}}}}}
| y | yes | true = [[Category:HorizonXI Custom Content]]
|#default=
}}|}}<!--
 
if content has Horizon Changes then categorize as such
-->{{#if:{{{horizon changes|}}}|{{#switch:{{lc:{{{horizon changes}}}}}
| y | yes | true = [[Category:Horizon Changes]]
|#default=
}}|}}</onlyinclude></includeonly><noinclude><!--


-->
-->
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
==Usage==
==Usage==
{{Synthesis Recipe|example code}}
*'''craft:''' The craft skill required to perform this synthesis recipe.
*'''craft:''' The craft skill required to perform this synthesis recipe.
*'''cap:''' The level of the synthesis recipe. This is the "old" skillup cap and 11 levels below the current skillup cap.
*'''cap:''' The level of the synthesis recipe. This is the "old" skillup cap and 11 levels below the current skillup cap.
Line 82: Line 153:
:*'''ingredient 2''' through '''ingredient 8:''' Additional ingredients required for this synthesis recipe.
:*'''ingredient 2''' through '''ingredient 8:''' Additional ingredients required for this synthesis recipe.
:*'''ingredient 2 quantity''' through '''ingredient 8 quantity:''' The quantities of the additional ingredients.
:*'''ingredient 2 quantity''' through '''ingredient 8 quantity:''' The quantities of the additional ingredients.
*'''custom content:''' Whether this is a custom item or not. Parameter will accept "y", "yes" and "true"
*'''horizon changes:''' Whether this item has Horizon changes or not. Parameter will accept "y", "yes" and "true"
===Examples===
===Examples===
{|border="1"
{|border="1"

Latest revision as of 11:46, 16 September 2024

Usage

  • craft: The craft skill required to perform this synthesis recipe.
  • cap: The level of the synthesis recipe. This is the "old" skillup cap and 11 levels below the current skillup cap.
  • result: The item produced by this synthesis under normal circumstances.
  • yield: The number of items produced by this synthesis under normal circumstances.
  • crystal: The element of the crystal required for this synthesis.
  • fire, ice, wind, earth, lightning, water, light, dark: The elemental balance required for this recipe. Used instead of crystals for synergy recipes.
  • ingredient: The ingredient required for this synthesis recipe.
  • ingredient quantity: The quantity of the ingredient required.
  • The following parameters can also be used, but are optional:
  • subcraft, subcraft 2, subcraft 3: Additional crafting skills required to perform this synthesis.
  • subcraft cap, subcraft 2 cap, subcraft 3 cap: The skill caps for the additional crafting skills.
  • hq result, hq 2 result, hq 3 result: The item produced by this synthesis under the various levels of "HQ".
  • hq yield, hq 2 yield, hq 3 yield: The number of items produced by this synthesis under the various levels of "HQ".
  • result display, hq result display, etc.: The text to display in place of the linked page's title. This is useful if the page's name is different from the in-game item name.
  • crafting tool: The crafting tool required for this synthesis recipe.
  • ingredient 2 through ingredient 8: Additional ingredients required for this synthesis recipe.
  • ingredient 2 quantity through ingredient 8 quantity: The quantities of the additional ingredients.
  • custom content: Whether this is a custom item or not. Parameter will accept "y", "yes" and "true"
  • horizon changes: Whether this item has Horizon changes or not. Parameter will accept "y", "yes" and "true"

Examples

Code Result
{{Synthesis Recipe|None}}
None
{{Synthesis Recipe
| craft = Goldsmithing
| cap = 3
| result = Copper Ingot
| crystal = Fire
| ingredient = Copper Ore
| ingredient quantity = 4
}}
Goldsmithing (3)
Yield: Copper Ingot x 1
Fire Crystal
{{Synthesis Recipe
| craft = Bonecraft
| cap = 80
| result = Reraise Hairpin
| hq result = Reraise Hairpin
| hq 2 result = Reraise Hairpin
| hq 3 result = Reraise Hairpin
| crystal = Wind
| ingredient = Vivified Coral
| ingredient 2 = Coral Hairpin
}}
Bonecraft (80)
Yield: Reraise Hairpin x 1
Wind Crystal
{{Synthesis Recipe
| craft = Alchemy
| cap = 51
| result = Holy Water
| yield = 1
| hq yield = 2
| hq 2 yield = 3
| hq 3 yield = 4
| crystal = Light
| ingredient = Distilled Water
}}
Alchemy (51)
Yield: Holy Water x 1
HQ 1: Holy Water x 2
HQ 2: Holy Water x 3
HQ 3: Holy Water x 4
Light Crystal
{{Synthesis Recipe
| craft = Alchemy
| cap = 40
| result = Potion
| yield = 1
| hq result = +1
| hq 2 result = +2
| hq 3 result = +3
| crystal = Water
| ingredient = Distilled Water
| ingredient 2 = Lizard Tail
| ingredient 3 = Sage
}}
Alchemy (40)
Yield: Potion x 1
HQ 1: Potion +1 x 1
HQ 2: Potion +2 x 1
HQ 3: Potion +3 x 1
Water Crystal
{{Synthesis Recipe
| craft = Smithing
| cap = 55
| result = Darksteel Sheet
| yield = 6
| crystal = Fire Crystal
| crafting tool = Sheeting
| ingredient = Darksteel Ingot
| ingredient quantity = 6
| ingredient 2 = Workshop Anvil
}}
Smithing (55)
Yield: Darksteel Sheet x 6
Fire Crystal

:Key ItemSheeting

{{Synthesis Recipe
| craft = Cooking
| cap = 81
| result = Tavnazian Taco
| yield = 6
| hq yield = 12
| hq 2 result = Leremieu Taco
| hq 2 yield = 6
| hq 3 yield = 12
| crystal = Earth
| ingredient = Salsa
| ingredient 2 = Tavnazian Salad
| ingredient 3 = Tortilla
| ingredient 3 quantity = 2
}}
Cooking (81)
Yield: Tavnazian Taco x 6
HQ 1: Tavnazian Taco x 12
HQ 2: Leremieu Taco x 6
HQ 3: Leremieu Taco x 12
Earth Crystal
{{Synthesis Recipe
| craft = Woodworking
| cap = 78
| subcraft = Goldsmithing
| subcraft cap = 50
| subcraft 2 = Clothcraft
| subcraft 2 cap = 56
| result = Noble's Bed
| yield = 1
| crystal = Earth
| ingredient = Gold Ingot
| ingredient 2 = Velvet Cloth
| ingredient 3 = Mahogany Lumber
| ingredient 4 = Rosewood Lumber
| ingredient 4 quantity = 3
| ingredient 5 = Gold Thread
| ingredient 6 = Silk Cloth
}}
Woodworking (78), Goldsmithing (50), Clothcraft (56)
Yield: Noble's Bed x 1
Earth Crystal
{{Synthesis Recipe
| craft = Synergy
| cap = 5
| result = Astral Matter
| fire = 10
| light = 10
| dark = 10
| ingredient = Flamestone
| ingredient 2 = Froststone
| ingredient 3= Galestone
| ingredient 4 = Tremorstone
| ingredient 5 = Stormstone
| ingredient 6 = Tidestone
}}
Synergy (5)
Yield: Astral Matter x 1
Balance: Fire Fire10 Light Light10 Dark Dark10
{{Synthesis Recipe
| craft = Synergy
| cap = 7
| subcraft = Cooking
| subcraft cap = 10
| result = Orange Juice
| hq yield = 2
| hq 2 yield = 3
| hq 3 yield = 4
| water = 30
| ingredient = Saruta Orange
| ingredient quantity = 4
}}
Synergy (7), Cooking (10)
Yield: Orange Juice x 1
HQ 1: Orange Juice x 2
HQ 2: Orange Juice x 3
HQ 3: Orange Juice x 4
Balance: Water Water30
{{Synthesis Recipe
| craft = Synergy
| cap = 78
| subcraft = Smithing
| subcraft cap = 93
| subcraft 2 = Goldsmithing
| subcraft 2 cap = 51
| subcraft 3 = Leathercraft
| subcraft 3 cap = 20
| result = Grim Cuirass
| hq result = +1
| fire = 70
| wind = 35
| earth = 35
| light = 20
| dark = 35
| ingredient = Durium Sheet
| ingredient quantity = 4
| ingredient 2 = Scintillant Ingot
| ingredient 3 = Cerberus Leather
| ingredient 4 = Mercury
| ingredient 5 = Kukulkan's Skin
}}
Synergy (78), Smithing (93), Goldsmithing (51), Leathercraft (20)
Yield: Grim Cuirass x 1
HQ 1: Grim Cuirass +1 x 1
Balance: Fire Fire70 Wind Wind35 Earth Earth35 Light Light20 Dark Dark35
{{Synthesis Recipe
| craft = Smithing
| cap = 48
| result = Beetle Jaw
| hq 2 result = Mythril Nugget
| hq 2 yield = 4
| hq 3 yield = 6
| crystal = Lightning
| ingredient = Mythril Claws
}}
Smithing (48)
Yield: Beetle Jaw x 1
HQ 1: Beetle Jaw x 1
HQ 2: Mythril Nugget x 4
HQ 3: Mythril Nugget x 6
Lightning Crystal
{{Synthesis Recipe
| craft = Woodworking
| cap = 69
| subcraft = Smithing
| subcraft cap = 20
| result = Angon (Throwing)
| result display = Angon
| yield = 33
| hq result display = Angon
| hq yield = 66
| hq 2 result display = Angon
| hq 2 yield = 99
| crystal = Wind
| ingredient = Iron Ingot
| ingredient quantity = 2
| ingredient 2 = Yew Lumber
| ingredient 2 quantity = 3
| ingredient 3 = Wool Thread
}}
Woodworking (69), Smithing (20)
Yield: Angon x 33
HQ 1: Angon x 66
HQ 2: Angon x 99
Wind Crystal