Template:RecursiveRecipe: Difference between revisions

From tgwiki2
Jump to navigation Jump to search
imported>Dragomagol
mNo edit summary
imported>Dragomagol
m escape tooltip
Line 7: Line 7:
2) Add the ingredients. For simple ingredients, use plaintext. For complex ingredients (you use simple ingredients to make it) do the following:
2) Add the ingredients. For simple ingredients, use plaintext. For complex ingredients (you use simple ingredients to make it) do the following:


Add the unit ratio (eg: "1 ..." or "5 ..."), and then the following template: {{Tooltip|[[#A|B]]|{{RecursiveRecipe/C}}}}
Add the unit ratio (eg: "1 ..." or "5 ..."), and then the following template: <nowiki>{{Tooltip|[[#A|B]]|{{RecursiveRecipe/C}}}}</nowiki>


Replace A, B and C with the chemical name (yes, the exact same name) and you're done!
Replace A, B and C with the chemical name (yes, the exact same name) and you're done!
If the complex chem you listed is made with complex chems, that template will automagically deepen the layer.  
If the complex chem you listed is made with complex chems, that template will automagically deepen the layer.  
</noinclude>
</noinclude>

Revision as of 04:01, 22 May 2022

Woah! You shouldn't be seeing this. Notify Dragomagol where this is being shown, unless it's at Template:RecursiveRecipe.


Quite easy to add a chem to RecursiveRecipe

1) Create a Template for your chem under this template. EG: "Template:RecursiveRecipe/Dough" 2) Add the ingredients. For simple ingredients, use plaintext. For complex ingredients (you use simple ingredients to make it) do the following:

Add the unit ratio (eg: "1 ..." or "5 ..."), and then the following template: {{Tooltip|[[#A|B]]|{{RecursiveRecipe/C}}}}

Replace A, B and C with the chemical name (yes, the exact same name) and you're done! If the complex chem you listed is made with complex chems, that template will automagically deepen the layer.