Template:Tooltip: Difference between revisions
From Space Station 14 Wiki
(wip) |
(removed test text) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
--><templatestyles src="Template:Tooltip/styles.css" /><!-- | --><templatestyles src="Template:Tooltip/styles.css" /><!-- | ||
--><span class="tooltip-display-text"><!-- | --><span class="tooltip-display-text-container"><!-- | ||
-->{{{1}}}<!-- | --><span class="tooltip-display-text" style=" | ||
/* styles unsupported by template styles */ | |||
--col: #003effde; | |||
text-decoration: underline 2px dashed var(--col); | |||
stroke-dashoffset: 10px; | |||
text-underline-offset: 2px; | |||
">{{{1}}}</span><!-- | |||
--><span class="tooltip"><!-- | --><span class="tooltip"><!-- | ||
-->{{{2}}}<!-- | -->{{{2}}}<!-- | ||
--></span><!-- | --></span><!-- | ||
--></span></includeonly><noinclude> | --></span></includeonly><noinclude> | ||
{{docs|bb= | {{docs|bb= | ||
{{uses template styles}} | {{uses template styles}} | ||
}} | }} | ||
[[Category:Tooltip templates]] | [[Category:Tooltip templates]] |
Latest revision as of 03:45, 3 September 2024
Uses template styles
This template uses template styles found in:
Examples
Basic usage
{{tooltip
↓
text under the tooltiptext of a tooltip
In a sentence
{{tooltip
↓
The most profitable form of point generation is Xenoarcheology, which is the process of analyzing and activating different randomly generated artifacts that can be found via events, salvage debris, and by ordering them from cargo. Most artifacts have more than one "Stimulus-Reaction" combinationKnown scientifically as Nodes, so make sure to scan and activate as many of them as you can before selling it to cargo, or keeping it around because its effects are cool enough to warrant keeping.Basic tooltips.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | Display text. | Line | required |
Tooltip text | 2 | Tooltip text. | Line | required |