Template:Ingredient

From Robupixipedia
Revision as of 05:29, 22 September 2026 by WikiBoo (talk | contribs) (Scalable ingredient amount for RecipeScaler)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

{{{1}}} An ingredient amount that the RecipeScaler extension rescales when the Template:Servings number changes.

Usage: {{Ingredient|180|g}}, {{Ingredient|0.5|tsp}}, or {{Ingredient|2}} for a count.

  • The amount must be a plain number (use 0.5, not ½); it is shown as ½ once the page loads.
  • Rounding depends on the unit: tsp/tbsp/cup round to quarters, counts (no unit) to halves, g/ml to whole numbers (steps of 5 above 50).