Template:Tooltip: Difference between revisions

From Nova Sector 13
Jump to navigation Jump to search
m (Reworking it to Span, because Div implicitly adds a new line.)
m (Revert to Div while troubleshooting)
Line 1: Line 1:
<includeonly><span class="tooltip" style="text-decoration:underline;text-decoration-style: dotted;display:inline;">{{{1}}}<span class="tooltiptext" style="top:20px; background: #F7F7FF; z-index:200; left:5px; box-shadow: 0 0 .3em #999;display:inline;">{{{2}}}</span></span></includeonly><noinclude>
 
<includeonly><div class='tooltip' style="display:inline;">{{{1}}}<div class='tooltiptext' style='top:20px; background: #F7F7FF; z-index:200; left:5px; box-shadow: 0 0 .3em #999;'>{{{2}}}</div></div></includeonly><noinclude>
 
[[Category:Templates]][[Category:Maintenance templates]][[Category:Misc Styling Templates]]
 
<!-- <includeonly><span class="tooltip" style="text-decoration:underline;text-decoration-style: dotted;display:inline;">{{{1}}}<span class="tooltiptext" style="top:20px; background: #F7F7FF; z-index:200; left:5px; box-shadow: 0 0 .3em #999;display:inline;">{{{2}}}</span></span></includeonly> -->
= Test Cases =
= Test Cases =



Revision as of 00:58, 6 March 2024


Test Cases

Base Case
This is the simplest test of a Tooltip.


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.

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. 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.