Contents
Usage[edit source]
You would use this template to transform a template from Template:RecipeInfoBox to one of the following template based on the style tag:
- style=recipetable: Template:RecipeTableRow
- style=iconmini: Template:IconMini
- style=value: Template:Value
- style=iconmed: Template:IconMed
|style={{{style|}}}into the template. This will tell the template to transform it into its derivative class.
Variables[edit source]
Example[edit source]
For example - this is the code for the page Potent Lyrium Potion Recipe
{{RecipeTransformer |style={{{style|}}} |name=[[Potent Lyrium Potion Recipe]] |description=This is a recipe designed by the Chantry for distilling raw lyrium into a refined potion, one that can be used to augment reserves of mana. |type=[[Recipes|Recipe]] |value=74500 |icon=rcp_ico_herbalism_4.png |ingredient1=[[Lyrium Dust]] |quantity1=4 |ingredient_icon1=rgt_ico_lyriumdust.png |ingredient2=[[Flask]] |quantity2=1 |ingredient_icon2=rgt_ico_flask.png |ingredient3=[[Distillation Agent]] |quantity3=2 |ingredient_icon3=rgt_ico_distill_agnt.png |ingredient4=[[Concentrator Agent]] |quantity4=2 |ingredient_icon4=rgt_ico_conc_agnt.png |result=[[Potent Lyrium Potion]] |result_icon=ico_lyrium_potion.png |requires=[[Herbalism: Rank 4]] |appearances=''[[Dragon Age: Origins]]'' }}
When Potent Lyrium Potion Recipe is displayed on its own page or included without parameters, it shows up as
{{:Potent Lyrium Potion Recipe}}
Transformation[edit source]
However, if it is included as follows,
{{RecipeTableHeader| {{:Potent Lyrium Potion Recipe|style=recipetable}} }}
it shows up as
Recipe | Makes | Ingredients | Required skill |
---|---|---|---|
Documentation transcluded from Template:RecipeTransformer/doc.
Community content is available under CC-BY-SA unless otherwise noted.