No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}}|{{Tooltip|[[#{{{1|Need Name}}}|{{{1|Need Name}}}]]|{{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1|TEMPLATE}}}|only=paragraphs|paragraphs= | <includeonly>{{#if:{{{2|}}}|{{Tooltip|[[#{{{1|Need Name}}}|{{{1|Need Name}}}]]|{{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1|TEMPLATE}}}|only=paragraphs|paragraphs=2}}}}| | ||
{{!}}- | {{!}}- | ||
! {{anchor|{{{1|Need name}}}}}[[#{{{1|Need Name}}}|{{{1|Need Name}}}]] | ! {{anchor|{{{1|Need name}}}}}[[#{{{1|Need Name}}}|{{{1|Need Name}}}]] | ||
{{!}} {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs= | {{!}} {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=2}} | ||
{{!}} {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=2}} | {{!}} {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=2}} | ||
{{!}} {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=3}} | {{!}} {{#invoke:Transcluder|main|Template:ChemRecipe/List#{{{1}}}|only=paragraphs|paragraphs=3}} |
Revision as of 14:29, 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.
{{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}}