Dare to try out the Harvest Festival 2024!?
Template:Synthesis Recipe.RecipeList: Difference between revisions
m (Aramachus moved page Template:RecipeList.dpl to Template:Synthesis Recipe.RecipeList: passing parameters to a phantom template is possible if the phantom template name follows this naming convention) |
(hide rows which are outside of the desired level range) |
||
Line 10: | 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 |
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 |
---|---|---|---|---|---|
Prism Powder x 6 |
41 |
HQ: Prism Powder x 8 |
|||
Prism Powder x 12 |
41 |
none |
|||
Firesand x 2 |
41 |
||||
Bullet x 33
|
41 |
HQ: Bullet x 99 |
none
| ||
42 |
|||||
43 |
|
||||
Vitriol x 3 |
43 |
||||
42 |
HQ: Poison Kukri +1 |
||||
42 |
HQ: Bokuto +1 |
none
| |||
42 |
HQ: Hellfire Axe |
none
| |||
42 |
none |
none
| |||
43 |
HQ: Poison Katars +1 |
none
| |||
Sparkling Hand x 33
|
43 |
HQ: Sparkling Hand x 66 |
|||
44 |
HQ: Burning Claymore |
none
| |||
|
44 |
none |
none
| ||
45 |
none |
||||
Iron Bullet x 33
|
45 |
HQ: Iron Bullet x 99 |
none
| ||
45 |
HQ: Corrosive Dagger |
||||
|
46 |
none |
|||
|
46 |
HQ: Frog Lure |
|||
46 |
HQ: Flame Sword |
none
| |||
47 |
HQ: Flame Degen +1 |
||||
47 |
HQ: Corrosive Knife |
||||
47 |
none |
none
| |||
Fire Arrow x 33 |
47 |
HQ: Fire Arrow x 66 |
none
| ||
Fire Arrow x 33
|
48 |
|
HQ: Fire Arrow x 66 |
none
| |
49 |
none |
none
| |||
49 |
none |
none
| |||
49 |
HQ: Flame Blade +1 |
none
| |||
49 |
none |
none
| |||
50 |
|||||
50 |
none |
none
| |||
50 |
none |
none
|