Template:RecipeList: Difference between revisions
(Created page with "<onlyinclude><includeonly> {{#dpl: |category={{{craft}}}/{{{rank}}} |notcategory={{{craft}}}/Subcraft |notcategory={{{craft}}}/Desynthesis |notcategory=High Quality |include={Synthesis Recipe¦RecipeList.dpl},##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 {{Change...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#dpl: | {{#dpl: | ||
|category={{{craft}}}/{{{rank}}} | |category={{{craft}}}/{{{rank}}} | ||
|notcategory={{{craft}}}/Subcraft | |notcategory={{{craft}}}/Subcraft <!-- Assumes that item pages, which are categorized as subcraft wrt a certain craft, NEVER contain recipes where that craft is the main craft --> | ||
|notcategory={{{craft}}}/Desynthesis | <!--|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 | |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 --> | ||
}} | }} | ||
</includeonly></onlyinclude> | </includeonly></onlyinclude> | ||
==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. | |||
Uses the phantom template [[Template:Synthesis Recipe.RecipeList]] | |||
===Example=== | |||
<pre>{{RecipeList|craft=Alchemy|rank=Apprentice}} | |||
</pre> | |||
{{RecipeList|craft=Alchemy|rank=Apprentice}} | {{RecipeList|craft=Alchemy|rank=Apprentice}} |
Latest 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.
Uses the phantom template Template:Synthesis Recipe.RecipeList
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
| |||
50 |
HQ: Ether Drop x 2 |
none
|