Harvest festival 2024.png

Dare to try out the Harvest Festival 2024!?

Template:Synthesis Recipe.RecipeList: Difference between revisions

From HorizonXI Wiki
(filtering desynth recipes and HQs by categories)
(hide rows which are outside of the desired level range)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
clever ways to not show desynth recipes and recipes where the item is the
clever ways to not show desynth recipes and recipes where the item is the
-->{{#ifeq:{{lc:{{{1}}}}}|none|style="display: none;"}}<!--
-->{{#ifeq:{{lc:{{{1}}}}}|none|style="display: none;"}}<!--
if neither cap, crystal nor result (could add more) is given, then do not display the recipe because it isnt filled out
if the recipe has only one ingredient with quantity one, then it is by definition a desynthesis of that ingredient (there might be exceptions...)
-->{{#if:{{{ingredient 2|}}}{{{ingredient quantity|}}}{{#ifeq:{{lc:{{{crystal}}}}}|lightning||not using lightning crystal so it is not a desynth recipe}}||style="display: none;"}}<!--
if neither cap, crystal nor result (could add more) is given, then do not display the recipe because it isn't filled out
-->{{#if:{{{cap|}}}{{{crystal|}}}{{{result|}}}||style="display:none;"}}<!--
-->{{#if:{{{cap|}}}{{{crystal|}}}{{{result|}}}||style="display:none;"}}<!--


Line 8: Line 10:
-->{{#ifeq:{{{hq result}}}|{{{result}}}||{{#ifeq:{{{hq result}}}|this|style="display:none;"}}}}<!--
-->{{#ifeq:{{{hq result}}}|{{{result}}}||{{#ifeq:{{{hq result}}}|this|style="display:none;"}}}}<!--
-->{{#ifeq:{{{hq 2 result}}}|{{{result}}}||{{#ifeq:{{{hq 2 result}}}|this|style="display:none;"}}}}<!--
-->{{#ifeq:{{{hq 2 result}}}|{{{result}}}||{{#ifeq:{{{hq 2 result}}}|this|style="display:none;"}}}}<!--
-->{{#ifeq:{{{hq 3 result}}}|{{{result}}}||{{#ifeq:{{{hq 3 result}}}|this|style="display:none;"}}}}
-->{{#ifeq:{{{hq 3 result}}}|{{{result}}}||{{#ifeq:{{{hq 3 result}}}|this|style="display:none;"}}}}<!--
<!--
 
 
compare the level of the recipe against the rank and hide recipes which are outside of the level range. This is necessary because for some items multiple recipes exist which vary in level. dpl pulls the entire page if it categorizes as a certain range and all recipes end up here. So a manual sorting of the rows by level is necessary
-->{{#ifexpr:{{{cap}}}<{{GetRankLevel|{{{phantom_arg}}}|min}}|style="display:none;"}}{{#ifexpr:{{{cap}}}>{{GetRankLevel|{{{phantom_arg}}}|max}}|style="display:none;"}}<!--


Start output code
Start output code
Line 20: Line 25:
{{{cap}}}
{{{cap}}}
|
|
[[{{{crystal}}}]]
[[{{{crystal}}} Crystal|{{Color|{{{crystal}}}|{{{crystal}}}}}]]
|<!-- first ingredient always exists, there is no recipe with zero ingredients. quantities are optional with 1 being implied if none is given by the synthesis recipe template. Subsequent ingredients are checked if they exist, in a nested fashion -->
|<!-- first ingredient always exists, there is no recipe with zero ingredients. quantities are optional with 1 being implied if none is given by the synthesis recipe template. Subsequent ingredients are checked if they exist, in a nested fashion -->
<ul><li>[[{{{ingredient}}}]]{{#if:{{{ingredient quantity|}}}|&nbsp;x&nbsp;{{{ingredient quantity}}}}}</li><!--
<ul><li>[[{{{ingredient}}}]]{{#if:{{{ingredient quantity|}}}|&nbsp;x&nbsp;{{{ingredient quantity}}}}}</li><!--
Line 33: Line 38:
-->}}}}|''none''}}
-->}}}}|''none''}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>
{{#dpl:
==Usage==
|category=Alchemy/Apprentice
dpl phantom template to format the rows of [[Template:RecipeList]]
|notcategory=Alchemy/Subcraft
 
|notcategory=Alchemy/Desynthesis
For usage, see [[Template:RecipeList]]
|notcategory=High Quality
 
|include={Synthesis Recipe¦RecipeList.dpl}
===Examples of [[Template:RecipeList]]===
|table=class="horizon-table alchemy-table center-col-2 center-col-3",-,Item,Cap,Crystal,Ingredients,HQ
<pre>{{RecipeList|craft=Alchemy|rank=Apprentice}}</pre>
|tablesortcol=3<!-- need to use +1 here because the additional linebreak at the beginning of the phantom template that is used to apply classes and styles to the rows somehow counts as a column here -->
{{RecipeList|craft=Alchemy|rank=Apprentice}}
}}

Latest revision as of 12:20, 30 October 2024

Usage

dpl phantom template to format the rows of Template:RecipeList

For usage, see Template:RecipeList

Examples of Template:RecipeList

{{RecipeList|craft=Alchemy|rank=Apprentice}}
Item Cap Crystal Ingredients HQ Horizon Changes HorizonXI specific changes

Prism Powder x 8

36

Light

HQ: Prism Powder x 10
HQ2: Prism Powder x 11
HQ3: Prism Powder x 12

Prism Powder x 6

41

Light

HQ: Prism Powder x 8
HQ2: Prism Powder x 10
HQ3: Prism Powder x 12

Prism Powder x 12

41

Light

none

Firesand x 3

39

Earth

HQ: Firesand x 6
HQ2: Firesand x 9
HQ3: Firesand x 12

Firesand x 2

40

Earth

HQ: Firesand x 4
HQ2: Firesand x 6
HQ3: Firesand x 8

Firesand x 4
Key ItemTrituration

40

Earth

HQ: Firesand x 8
HQ2: Firesand x 12

Firesand x 2

41

Earth

HQ: Firesand x 4
HQ2: Firesand x 6
HQ3: Firesand x 8

Bullet x 33

Goldsmithing (18)

41

Fire

HQ: Bullet x 99

none

Vitriol

42

Water

HQ: Vitriol x 2
HQ2: Vitriol x 3
HQ3: Vitriol x 4

Vitriol

43

Water

HQ: Vitriol x 2
HQ2: Vitriol x 3
HQ3: Vitriol x 4

Vitriol x 3
Key ItemTrituration

43

Water

HQ: Vitriol x 6
HQ2: Vitriol x 9
HQ3: Vitriol x 12

Poison Kukri

42

Water

HQ: Poison Kukri +1

Bokuto

42

Water

HQ: Bokuto +1

none

Inferno Axe

42

Earth

HQ: Hellfire Axe

none

Prominence Sword

42

Earth

none

none

Poison Katars

43

Water

HQ: Poison Katars +1

none

Sparkling Hand x 33

Goldsmithing (18)

43

Light

HQ: Sparkling Hand x 66
HQ2: Sparkling Hand x 99

Flame Claymore

44

Earth

HQ: Burning Claymore

none

Potion Tank

Leathercraft (1)

44

Earth

none

none

Potion Tank

Leathercraft (1)

44

Lightning

HQ: Sheep Leather

none

Prominence Axe

45

Earth

none

Iron Bullet x 33

Smithing (22)

45

Fire

HQ: Iron Bullet x 99

none

Acid Dagger

45

Water

HQ: Corrosive Dagger

Acid Dagger

45

Lightning

none

Worm Lure

Goldsmithing (12)

46

Fire

none

Worm Lure

Smithing (9)

46

Fire

HQ: Frog Lure
HQ2: Shrimp Lure
HQ3: Lizard Lure

Fire Sword

46

Earth

HQ: Flame Sword

none

Fire Sword

46

Lightning

none

none

Flame Degen

47

Earth

HQ: Flame Degen +1

Flame Degen

47

Lightning

HQ: Firesand
HQ2: Steel Ingot x 2

Acid Knife

47

Water

HQ: Corrosive Knife

Vulcan Claymore

47

Earth

none

none

Fire Arrow x 33

47

Earth

HQ: Fire Arrow x 66
HQ2: Fire Arrow x 99

none

Fire Arrow x 33

Woodworking 14 Verification NeededVerification Needed

48

Wind

HQ: Fire Arrow x 66
HQ2: Fire Arrow x 99
HQ3: Fire Arrow x 99

none

Carbon Fishing Rod

49

Light

none

none

Carbon Fishing Rod

53

Fire

none

none

Carbon Fishing Rod

53

Lightning

HQ: Carbon Fiber x 2
HQ2: Glass Fiber x 3
HQ3: Glass Fiber x 4

none

Sacred Sword

49

Light

none

none

Sacred Sword

49

Lightning

none

none

Flame Blade

49

Earth

HQ: Flame Blade +1

none

Flame Blade

49

Lightning

none

none

Melt Dagger

49

Water

none

none

Ether

50

Water

HQ: Ether +1
HQ2: Ether +2
HQ3: Ether +3

Vulcan Degen

50

Earth

none

none

Vulcan Degen

50

Lightning

none

none

Melt Knife

50

Water

none

none