Template:RecipeIngredientsPrint/doc

From Necesse Wiki
Jump to navigation Jump to search

This template is for printing a list of ingredients. Ingredients must be formatted correctly for it to work.

Usage[edit]

{{RecipeIngredientsPrint|ingredients|delimiter=<br>}}

ingredients parameter is the ingredients separated by a slash (/). Each ingredient name and amount must then be separated by a comma (,). Example for 4 spruce logs and 10 iron bars: Spruce Log, 4/Iron Bar,10

delimiter parameter is optional, and is inserted between each ingredient.

class and style optional parameters are passed to each ingredient Item template/span.