Template:RecursiveChem/doc: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
imported>Shadow Quill
No edit summary
m (hopefully clarifies the recursive chem guide)
Line 6: Line 6:


1) Create a Template for your chem under this template. EG: "Template:RecursiveChem/Dylovene"<br>
1) Create a Template for your chem under this template. EG: "Template:RecursiveChem/Dylovene"<br>
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.<br>
1 part...<br>
5 parts...<br>


Add the unit ratio (eg: "1 ..." or "5 ..."), and then the following template: <nowiki>{{Tooltip|[[#A|B]]|{{RecursiveChem/C}}}}</nowiki>
3) For complex ingredients (you use simple ingredients to make it) do the following:


Add the unit ratio (eg: "1 part..." or "5 parts..."), and then the following template: <nowiki>{{Tooltip|[[#A|B]]|{{RecursiveChem/C}}}}</nowiki>
Replace A, B and C with the chemical name (yes, the exact same name) and you're done!<br>
Replace A, B and C with the chemical name (yes, the exact same name) and you're done!<br>
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.<br>


EX:<br>
<nowiki>1 part {{Tooltip|[[#Ammonia|Ammonia]]|{{RecursiveChem/Ammonia}}}}</nowiki><br>
Don't forget to use <nowiki><br></nowiki>s to seperate lines.




If you don't want to bother with doing this, ask [[User_talk:Shadow_Quill|Shadow Quill]] or DM them on Discord at Shadow_Quill#9731
If you don't want to bother with doing this, ask [[User_talk:Shadow_Quill|Shadow Quill]] or DM them on Discord at Shadow_Quill#9731

Revision as of 03:04, 26 April 2021



Quite easy to add a chem to RecursiveChem.

1) Create a Template for your chem under this template. EG: "Template:RecursiveChem/Dylovene"
2) Add the ingredients. For simple ingredients, use plaintext.
1 part...
5 parts...

3) For complex ingredients (you use simple ingredients to make it) do the following:

Add the unit ratio (eg: "1 part..." or "5 parts..."), and then the following template: {{Tooltip|[[#A|B]]|{{RecursiveChem/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.

EX:
1 part {{Tooltip|[[#Ammonia|Ammonia]]|{{RecursiveChem/Ammonia}}}}

Don't forget to use <br>s to seperate lines.


If you don't want to bother with doing this, ask Shadow Quill or DM them on Discord at Shadow_Quill#9731