Template:RecursiveChem/General: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
(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><div style='font-size: 140%; text-align: center;'>Hello! This is the general thingy to make hover thingy!</div>
<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].


You just need to type whatever you want to pop out when you hover your cursor over the word. Thus, hoverthingy.
== Parameter-Usage ==
None


For example you want to hoverthingy [[Bicaridine|Bicaridine]], you need to simply type<br>  
== How to create ==
<nowiki>"1 part Carbon <br>1 part Oxygen<br>1 part Sugar<br>"</nowiki> in the required [[Template:RecursiveChem/Bicaridine|one]] and you are set.
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}}}}


<div style='font-size: 110%; text-align: center;'>Now that you have made the template, it's time to add it to a page!</div>
[[Category:Templates]]
 
 
The catch is that you need to type this: <nowiki>{{Tooltip|Bicaridine|{{RecursiveChem/Bicaridine}}}}</nowiki><br>
and you are going to get this! {{Tooltip|'''Hover here to be amazed'''|{{RecursiveChem/Bicaridine}}}}
 
</noinclude>
</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 18:16, 4 May 2020

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 full list of templates.

Parameter-Usage

None

How to create

Here is an example of how to create a template for the imaginary ingredient Love

  1. Create a new template Template:RecursiveChem/Love
  2. Enter your recipe
    1. Simple: 1 part Carbon <br>1 part Oxygen<br>1 part Sugar<br>
    2. Complex(aka recursive): 1 part Ethanol<br>1 part {{Tooltip|[[#Charcoal|Charcoal]]|{{RecursiveChem/Charcoal}}}}<br>1 part Copper<br>
  3. Save
  4. Use with {{Tooltip|What is Love?|{{RecursiveChem/Love}}}}

Examples

Bicaridine

{{Tooltip|'''Hover here to be amazed'''|{{RecursiveChem/Bicaridine}}}}

Hover here to be amazed1 part Carbon
1 part Oxygen
1 part SugarTier 2 chemistry dispenser
or
1 part Carbon
1 part Oxygen
1 part Welding FuelTier 2 chemistry dispenser
or
1 part OilTier 1 chemistry dispenser
or
1 part Welding Fuel
1 part Carbon
1 part Hydrogen

3 parts Sulfuric Acid1 part Water
1 part Sulfur

Temperature 180K

or
Grind white beet or sugar cane

1 part LemolineLemoline Cargo Crate
or
Strange Seeds