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 1: Line 1:
|-
<includeonly>|-
! {{anchor|{{{name}}}}}[[#{{{name}}}|{{{name}}}]]
! {{anchor|{{{1|Need name}}}}}[[#{{{1|Need Name}}}|{{{1|Need Name}}}]]
| {{ChemRecipe/{{{name}}}}}
| {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=1}}
| {{{effect|None}}}
| {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=2}}
| {{{rate|0.5 u/s}}}
| {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=3}}
| {{{od|None}}}<noinclude>
| {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=4}}</includeonly><noinclude>


== How to use ==
== How to use ==
Line 10: Line 10:


<pre>
<pre>
<nowiki>{{ChemRecipe|name|effect|rate|od}}</nowiki>
<nowiki>{{ChemRecipe|name}}</nowiki>
</pre>
</pre>


Line 16: Line 16:
Self explanatory, with some special arguments.
Self explanatory, with some special arguments.


* '''name''': The name of the recipe. Automatically creates an anchor.
* '''name''': The name of the recipe. Automatically creates an anchor and pulls data from [[Template:ChemRecipe/List]].
* '''effect''': Optional. What the chemical does per seconds
* '''rate''': Optional. The metabolizing rate of the chemical.
* '''od''': Optional. The threshold for the overdose.


== Exemple ==
== Exemple ==
Line 31: Line 28:
! scope="col" class="unsortable" style="width:7.5%; background-color:#CEA10540; border: 1px solid black;"| Overdose
! scope="col" class="unsortable" style="width:7.5%; background-color:#CEA10540; border: 1px solid black;"| Overdose


{{ChemRecipe
{{ChemRecipe|Welding Fuel}}
|name=Welding Fuel
}}


{{ChemRecipe
{{ChemRecipe|Oil}}
|name=Welding Fuel
|effect=Deals 1 {{DMG|Poison}} per second<br>Increases flammability
|rate=5 u/s if Cat
|od=10 Units
}}


|}
|}

Revision as of 19:26, 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}}

Meaning

Self explanatory, with some special arguments.

Exemple

Hover over the names of the reagents in the recipe column to see their chemical formulas!
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