Template talk:Ingredient Entry

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Bug on noharvest[edit]

This is a sample of a "normal" table of ingredient entries, albeit without description.

Ingredient Effects Value Weight H%
Alit Hide
ingred_alit_hide_01
  1. Drain Intelligence
  2. Resist Poison
  3. Telekinesis
  4. Detect Animal
5 1.0 60
Ampoule Pod
ingred_bc_ampoule_pod
  1. Water Walking
  2. Paralyze
  3. Detect Animal
  4. Drain Willpower
2 0.1 80
Ash Salts
ingred_ash_salts_01
  1. Drain Agility
  2. Resist Magicka
  3. Cure Blight Disease
  4. Resist Magicka
25 0.1 60
Ash Yam
ingred_ash_yam_01
  1. Fortify Intelligence
  2. Fortify Strength
  3. Resist Common Disease
  4. Detect Key
1 0.5 80

And this is the same table with noharvest=1.





Ingredient Effects Value Weight
Alit Hide
ingred_alit_hide_01
  1. Drain Intelligence
  2. Resist Poison
  3. Telekinesis
  4. Detect Animal
5 1.0
Ampoule Pod
ingred_bc_ampoule_pod
  1. Water Walking
  2. Paralyze
  3. Detect Animal
  4. Drain Willpower
2 0.1
Ash Salts
ingred_ash_salts_01
  1. Drain Agility
  2. Resist Magicka
  3. Cure Blight Disease
  4. Resist Magicka
25 0.1
Ash Yam
ingred_ash_yam_01
  1. Fortify Intelligence
  2. Fortify Strength
  3. Resist Common Disease
  4. Detect Key
1 0.5

For some reason, when noharvest=1 (and maybe only in Morrowind namespace), each {{Ingredient Entry}} seems to generate a <p><br></p> before the table. In the example above, 4 entries/rows means 4 (empty) HTML elements. I checked the template code but I wasn't able to find where it was coming from. Salamangkero (talk) 18:20, 27 June 2024 (UTC)