Template:Tooltip

From Nova Sector 13
Revision as of 01:29, 6 March 2024 by GreytideSkye (talk | contribs) (Test cases updated. I don't love this but for some reason it just doesn't love me.)
Jump to navigation Jump to search


Test Cases

Base Case
This is the simplest test of a Tooltip.

Blank tooltip:

EMPTY TOOLTIP ALERT
EMPTY TOOLTIP TEXT ALERT


Ideally, this paragraph should appear as a single paragraph, where the next bit is a

multi word tooltip
with punctuation? with wizardry?

, with the comma directly adjacent to the words. This part should still be on the same line. If it doesn't, that's justification for Template:TooltipInline to exist.

Table below should consist of 1 chemical, Prefactor B, with the formula 1 part Phenol, 3 parts Ethanol, 1 part Plasma High temperature, where Phenol has a tooltip to expand with its own nested tooltip. Template:RecursiveChem/Prefactor_b

Name Formula Reaction conditions Description
Prefactor b 1 part
Phenol
1 part
Oil
1 part Welding Fuel

1 part Carbon
1 part Hydrogen


1 part Chlorine
1 part Water


3 parts Ethanol
1 part Plasma
High temperature

Required temp: 50K
Overheat temp: 500K
Optimal pH range: 5 to 8
Min purity: 0.35
Extremely Endothermic
minor H+ producing
Dangerously volitile
This is part of a competitive reaction between Purity Tester and Tempomyocin. This outcompetes when the reaction is hot.

For some reason, recursive tooltips don't love span, choosing to dump everything after the tooltip into the deepest tooltip instead of... fully after the top-most tooltip.