1,133
edits
(Created page with "<noinclude><div style='font-size: 140%; text-align: center;'>Hello! This is the general thingy to make hover thingy!</div> You just need to type whatever you want to pop out...") |
(Documentation rewrite) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== About == | |||
Use this group of templates which will add a hovertext to recipe-ingredients when used with [[Template:Tooltip]]. Used in articles like [[Guide to Drinks]] and [[Guide to Chemistry]]. | |||
Here is the [https://wiki.yogstation.net/index.php?title=Special%3APrefixIndex&prefix=RecursiveChem%2F&namespace=10 full list of templates]. | |||
== Parameter-Usage == | |||
None | |||
== How to create == | |||
<nowiki> | Here is an example of how to create a template for the imaginary ingredient '''Love''' | ||
# Create a new template [[Template:RecursiveChem/Love]] | |||
# Enter your recipe | |||
## '''Simple:''' <code><nowiki>1 part Carbon <br>1 part Oxygen<br>1 part Sugar<br></nowiki></code> | |||
## '''Complex(aka recursive):''' <code><nowiki>1 part Ethanol<br>1 part {{Tooltip|[[#Charcoal|Charcoal]]|{{RecursiveChem/Charcoal}}}}<br>1 part Copper<br></nowiki></code> | |||
# Save | |||
# Use with <code><nowiki>{{Tooltip|What is Love?|{{RecursiveChem/Love}}}}</nowiki></code> | |||
== Examples == | |||
=== Bicaridine === | |||
<pre><nowiki>{{Tooltip|'''Hover here to be amazed'''|{{RecursiveChem/Bicaridine}}}}</nowiki></pre> | |||
{{Tooltip|'''Hover here to be amazed'''|{{RecursiveChem/Bicaridine}}}} | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||
edits