Template documentation (for the above template, sometimes hidden or invisible)


This template makes use of the DynamicPageList extension (full manual). It serves to provide simpler access to the use of a particular DPL tag, which can be viewed in the template's source code. By looking at the page infobox in the specified category, it generates a table with four parameters: each effect of the ingredient and a list of ingredients that have the specified effect.

The template uses first dpl call to define the vars for the table, which are the four alchemical effects. Then, just as in the {{SkyrimIngredients}} template, the links in the table's headers are generated using the "Exists" module. The ingredients' lists are generated by a second dpl call, which is stored in the {{EffectsbyIngredientDPL/Cells}} sub-template to prevent a template loop.



{{EffectsbyIngredientDPL/Cells|{{#if:{{#var:effect1}}|{{exists|{{#var:effect1}} (Skyrim)|then={{#var:effect1}} (Skyrim)|else={{#var:effect1}}}}}}|effect1={{#var:effect1}}|effect2={{#var:effect2}}|effect3={{#var:effect3}}|effect4={{#var:effect4}}|title={{{title|{{#replace:{{PAGENAME}}|'|'}}}}}}}
  • The first variable is for the sub-template to only include the ingredients in the list that is linked from the specified effect.
  • effect1 – first specified effect.
  • effect2 – second specified effect.
  • effect3 – third specified effect.
  • effect4 – fourth specified effect.
  • title – article's name generated by the {{PAGENAME}} magic word and any single apostrophe HTML symbols replaced by the actual symbol.


The second dpl call is used to generate a list of ingredients that has the specified effect. Then it includes the "Appearances" section and all four effect parameters from the infobox.

  • The "Appearances" section is replaced with the {{DG}}, {{DR}}, or {{HF}} templates depending on the regular expression matches.
  • The four effect parameters from the infobox are searched to determine the specified effects and replaced with the symbol. Then every other effect is removed. After that, a single symbol is removed too. Lastly, any duplicate symbol is replaced with a single one. Everything is done with regular expression matches.


{{EffectsbyIngredientDPL}} code on the Mora Tapinella article.

Restore Magicka Lingering Damage Health Regenerate Stamina Fortify Illusion

† Multiple effects

This code will generate a table based on the "Mora Tapinella" article's four effects. The article must be in one of the following categories: Category:Skyrim: Ingredients, Category:Dawnguard: Ingredients, or Category:Dragonborn: Ingredients.

*Disclosure: Some of the links above are affiliate links, meaning, at no additional cost to you, Fandom will earn a commission if you click through and make a purchase. Community content is available under CC-BY-SA unless otherwise noted.