No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
{{ChemRecipe|Oil}}</nowiki> | {{ChemRecipe|Oil}}</nowiki> | ||
</pre> | </pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:22, 4 December 2023
How to use
This template is meant to be entirely only used in the chemical and cooking pages. It is purely to help editors add new lines to the table without being a mess.
{{ChemRecipe|name|recursiverecipe}}
Meaning
Self explanatory, with a special arguments.
- name: The name of the recipe. Automatically creates an anchor and pulls data from Template:ChemRecipe/List.
- recursiverecipe: Writing anything here writes the chemical name, make it a link and gives it a tooltip.
Exemple
With the recursive recipe parameter
{{ChemRecipe|Welding Fuel|recipe}}
Welding FuelLua error in package.lua at line 80: module 'Module:TNT' not found.
Without the rcp parameter, meant to be used in a table:
{{ChemRecipe|Welding Fuel}} {{ChemRecipe|Oil}}