mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#if:{{{2|}}}|{{Tooltip|[[#{{{1|Need Name}}}|{{{1|Need Name}}}]]|{{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1|TEMPLATE}}}|only=paragraphs|paragraphs=1}}}}| | ||
{{!}}- | {{!}}- | ||
! {{anchor|{{{1|Need name}}}}}[[#{{{1|Need Name}}}|{{{1|Need Name}}}]] | ! {{anchor|{{{1|Need name}}}}}[[#{{{1|Need Name}}}|{{{1|Need Name}}}]] | ||
Line 11: | Line 11: | ||
<pre> | <pre> | ||
<nowiki>{{ChemRecipe|name| | <nowiki>{{ChemRecipe|name|recursiverecipe}}</nowiki> | ||
</pre> | </pre> | ||
Line 18: | Line 18: | ||
* '''name''': The name of the recipe. Automatically creates an anchor and pulls data from [[Template:ChemRecipe/List]]. | * '''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 == | == Exemple == | ||
With the | With the recursive recipe parameter | ||
<pre> | <pre> | ||
<nowiki>{{ChemRecipe|Welding Fuel| | <nowiki>{{ChemRecipe|Welding Fuel|recipe}}</nowiki> | ||
</pre> | </pre> | ||
{{ChemRecipe|Welding Fuel| | {{ChemRecipe|Welding Fuel|recipe}} | ||
Without the rcp parameter, meant to be used in a table: | Without the rcp parameter, meant to be used in a table: |
Revision as of 19:07, 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}}
Name | Formula | Effects | Metabolizing Rate | Overdose |
---|---|---|---|---|
Welding Fuel | Lua error in package.lua at line 80: module 'Module:TNT' not found. | Lua error in package.lua at line 80: module 'Module:TNT' not found. | Lua error in package.lua at line 80: module 'Module:TNT' not found. | Lua error in package.lua at line 80: module 'Module:TNT' not found. |
Oil | #B67823FF | None | Mix 1 part Welding fuel 1 part Carbon 1 part Hydrogen |
0.5 u/s |