No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#ifeq:{{{2|}}}|recipe|{{Tooltip|[[#{{{1|Need Name}}}|{{{1|Need Name}}}]]|{{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1|TEMPLATE}}}|only=paragraphs|paragraphs=2}}}}| | ||
{{!}}- | {{!}}- | ||
! {{anchor|{{{1|Need name}}}}} | ! {{anchor|{{{1|Need name}}}}}<span style="background-color:#ACEAEF; color:{{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1|TEMPLATE}}}|only=paragraphs|paragraphs=1}}">▮</span> {{{1|Need name}}} | ||
{{!}} {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1|Welding Fuel}}}|only=paragraphs|paragraphs=2}} | |||
{{!}} {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=2}} | {{!}} {{{2|None}}} | ||
{{!}} {{ | {{!}} {{{3|0.5 u/s}}} | ||
{{!}} {{ | {{!}} {{{4|None}}}}}</includeonly><noinclude> | ||
== How to use == | == 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. | 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. | ||
Looks better if used alongside the [[Template:Ingredient]] template. | |||
<pre> | <pre> | ||
<nowiki>{{ChemRecipe|name| | <nowiki>{{ChemRecipe|name|effect|rate|overdose}}</nowiki> | ||
</pre> | </pre> | ||
== Meaning == | == Meaning == | ||
Self explanatory, with | Self explanatory, with some special arguments. | ||
* '''name''': The name of the recipe. Automatically creates an anchor and pulls the recipe from [[Template:ChemRecipe/List]]. | |||
* '''effect''': Optional. What the chemical does per seconds. Defaults to None. | |||
* '''rate''': Optional. The metabolizing rate of the chemical. Defaults to 0.5. | |||
* '''od''': Optional. The threshold for the overdose. Defaults to None. | |||
== Exemple == | == Exemple == | ||
{| 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 | ||
|Welding Fuel | |||
}} | |||
{{ChemRecipe | |||
|Welding Fuel | |||
|Deals 1 {{DMG|Poison}} per second<br>Increases flammability | |||
|5 u/s if Cat | |||
|10 Units | |||
}} | |||
|} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 15:40, 6 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.
Looks better if used alongside the Template:Ingredient template.
{{ChemRecipe|name|effect|rate|overdose}}
Meaning
Self explanatory, with some special arguments.
- name: The name of the recipe. Automatically creates an anchor and pulls the recipe from Template:ChemRecipe/List.
- effect: Optional. What the chemical does per seconds. Defaults to None.
- rate: Optional. The metabolizing rate of the chemical. Defaults to 0.5.
- od: Optional. The threshold for the overdose. Defaults to None.
Exemple
Name | Formula | Effects | Metabolizing Rate | Overdose |
---|---|---|---|---|
<span style="background-color:#ACEAEF; color:Lua error in package.lua at line 80: module 'Module:TNT' not found.">▮ Welding Fuel | Lua error in package.lua at line 80: module 'Module:TNT' not found. | None | 0.5 u/s | None |
<span style="background-color:#ACEAEF; color:Lua error in package.lua at line 80: module 'Module:TNT' not found.">▮ Welding Fuel | Lua error in package.lua at line 80: module 'Module:TNT' not found. | Deals 1 Poison per second Increases flammability |
5 u/s if Cat | 10 Units |