Dare to try out the Harvest Festival 2024!?
Template:RecipeList: Difference between revisions
(removed the notcategory desynth, added some comments and minor improvements and added a bit of documentation) |
(passing rank as argument to the phantom template) |
||
Line 5: | Line 5: | ||
<!--|notcategory={{{craft}}}/Desynthesis --> <!-- this does NOT work because if there is a desynth recipe on a page, the entire page is categorized as desynth and excluded here --> | <!--|notcategory={{{craft}}}/Desynthesis --> <!-- this does NOT work because if there is a desynth recipe on a page, the entire page is categorized as desynth and excluded here --> | ||
|notcategory=High Quality <!-- HQ pages are covered by their NQ pages --> | |notcategory=High Quality <!-- HQ pages are covered by their NQ pages --> | ||
|include={Synthesis | |include={Synthesis Recipe}.RecipeList¦phantom_arg={{{rank}}},##Horizon Changes.* | ||
|table=class="horizon-table {{#if:{{{colorclass|}}}|{{{colorclass}}}|{{lc:{{{craft}}}}}-table}} center-col-2 center-col-3 sortable",-,Item,Cap,Crystal,class="unsortable"{{!}}Ingredients,class="unsortable"{{!}}HQ,Horizon Changes {{Changes}} | |table=class="horizon-table {{#if:{{{colorclass|}}}|{{{colorclass}}}|{{lc:{{{craft}}}}}-table}} center-col-2 center-col-3 sortable",-,Item,Cap,Crystal,class="unsortable"{{!}}Ingredients,class="unsortable"{{!}}HQ,Horizon Changes {{Changes}} | ||
|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 --> | |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 --> |
Revision as of 12:02, 30 October 2024
Usage
Template that generates a dpl table for a given craft for a given rank.
Parameters
- craft: craft for which the table is to be generated
- rank: which rank is supposed to be displayed
- colorclass (optional): by default, the table uses the coloring theme of the craft. If another coloring is desired, use this class.
Example
{{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
|