Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ChemRecipe: Difference between revisions

Template page
No edit summary
No edit summary
Line 37: Line 37:
{{ChemRecipe|Oil}}</nowiki>
{{ChemRecipe|Oil}}</nowiki>
</pre>
</pre>
{| class="wikitable sortable" style="width:100%; text-align:left; border: 2px solid black; cellspacing=0; cellpadding=2;"
|+ Hover over the names of the reagents in the recipe column to see their chemical formulas!
! scope="col" class="sortable"  style="width:15%; background-color:#CEA10540; border: 1px solid black;"| Name
! scope="col" class="unsortable" style="width:25%; background-color:#CEA10540; border: 1px solid black;"| Formula
! scope="col" class="unsortable" style="width:37.5%; background-color:#CEA10540; border: 1px solid black;"| Effects
! scope="col" class="unsortable" style="width:15%; background-color:#CEA10540; border: 1px solid black;"| Metabolizing Rate
! scope="col" class="unsortable" style="width:7.5%; background-color:#CEA10540; border: 1px solid black;"| Overdose
{{ChemRecipe|Welding Fuel}}
{{ChemRecipe|Oil}}
|}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 20: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}}