Template:Synthesis Recipe.RecipeList: Difference between revisions
From HorizonXI Wiki
m (some code improvements and a lot of commentary) |
(filtering desynth recipes and HQs by categories) |
||
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 neither cap, crystal nor result (could add more) is given, then do not display the recipe because it isnt filled out | ||
-->{{#if:{{{cap|}}}{{{crystal|}}}{{{result|}}}||style="display:none;"}}<!-- | -->{{#if:{{{cap|}}}{{{crystal|}}}{{{result|}}}||style="display:none;"}}<!-- | ||
-->{{#ifeq:{{{hq result}}}|{{{result}}}||{{#ifeq:{{{hq result}}}|this|style="display:none;"}}}}<!-- | -->{{#ifeq:{{{hq result}}}|{{{result}}}||{{#ifeq:{{{hq result}}}|this|style="display:none;"}}}}<!-- | ||
Line 45: | Line 36: | ||
|category=Alchemy/Apprentice | |category=Alchemy/Apprentice | ||
|notcategory=Alchemy/Subcraft | |notcategory=Alchemy/Subcraft | ||
|notcategory=Alchemy/Desynthesis | |||
|notcategory=High Quality | |||
|include={Synthesis Recipe¦RecipeList.dpl} | |include={Synthesis Recipe¦RecipeList.dpl} | ||
|table=class="horizon-table alchemy-table center-col-2 center-col-3",-,Item,Cap,Crystal,Ingredients,HQ | |table=class="horizon-table alchemy-table center-col-2 center-col-3",-,Item,Cap,Crystal,Ingredients,HQ | ||
|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 --> | ||
}} | }} |