Шаблон:Tooltip: различия между версиями

мНет описания правки
мНет описания правки
Строка 1: Строка 1:
<includeonly><span style="white-space: nowrap; display:inline-block;">
<includeonly><span style="white-space:nowrap; display:inline-block;">[[{{{1}}}|{{{2}}}]]<span class="tooltip" style="display:inline; cursor:help; border-bottom:1px dotted #999; margin-left:2px;">[?]<span class="tooltiptext" style="display:none; position:absolute; top:20px; left:5px; background:#{{{3|FFFFFF}}}; z-index:200; box-shadow:0 0 .3em #999; padding:4px 8px; border-radius:4px; border:1px solid #ccc; font-weight:normal; white-space:normal; min-width:50px; max-width:300px; text-align:left;">{{{4|{{{2}}}}}}</span></span></span>
<span class="tooltip" style="display:inline;">{{{1}}}
<style>
<span class="tooltiptext" style="position:absolute; top:20px; background: #{{{3|FFFFFF}}}; z-index:200; left:5px; box-shadow: 0 0 .3em #999; padding:4px 8px; border-radius:4px; border:1px solid #ccc;">{{{2}}}</span>
.tooltip:hover .tooltiptext {
</span>
    display:block !important;
</span></includeonly>
}
</style></includeonly>
== About ==
== About ==
Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:
Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:

Версия от 09:06, 13 июля 2026

About

Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:

Key-functionality of the RecursiveChem-Templates like:

Parameter-Usage

Parameter Description
1 Text to be displayed
2 Content of the tooltip-box

Examples

Normal

{{Tooltip|hover me|Tool Tip Time!}}

Tool Tip Time![?] <style> .tooltip:hover .tooltiptext {

   display:block !important;

} </style>

About

Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:

Key-functionality of the RecursiveChem-Templates like:

Parameter-Usage

Parameter Description
1 Text to be displayed
2 Content of the tooltip-box

Examples

Normal

{{Tooltip|hover me|Tool Tip Time!}}

Обнаружена петля в шаблонах: Шаблон:Tooltip

Recursive

{{Tooltip
|This...
|{{Tooltip|is...|ONION!}}
}}

Обнаружена петля в шаблонах: Шаблон:Tooltip </noinclude>

Recursive

{{Tooltip
|This...
|{{Tooltip|is...|ONION!}}
}}

[[This... |ONION![?] <style> .tooltip:hover .tooltiptext {

   display:block !important;

} </style>

About

Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:

Key-functionality of the RecursiveChem-Templates like:

Parameter-Usage

Parameter Description
1 Text to be displayed
2 Content of the tooltip-box

Examples

Normal

{{Tooltip|hover me|Tool Tip Time!}}

Обнаружена петля в шаблонах: Шаблон:Tooltip

Recursive

{{Tooltip
|This...
|{{Tooltip|is...|ONION!}}
}}

Обнаружена петля в шаблонах: Шаблон:Tooltip </noinclude> ]][?]

   display:block !important;

} </style>

About

Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:

Key-functionality of the RecursiveChem-Templates like:

Parameter-Usage

Parameter Description
1 Text to be displayed
2 Content of the tooltip-box

Examples

Normal

{{Tooltip|hover me|Tool Tip Time!}}

Обнаружена петля в шаблонах: Шаблон:Tooltip

Recursive

{{Tooltip
|This...
|{{Tooltip|is...|ONION!}}
}}

Обнаружена петля в шаблонах: Шаблон:Tooltip </noinclude> <style> .tooltip:hover .tooltiptext {

   display:block !important;

} </style>

About

Adds a tooltip to a link. Used all around the wiki in all kinds of recipes:

Key-functionality of the RecursiveChem-Templates like:

Parameter-Usage

Parameter Description
1 Text to be displayed
2 Content of the tooltip-box

Examples

Normal

{{Tooltip|hover me|Tool Tip Time!}}

Обнаружена петля в шаблонах: Шаблон:Tooltip

Recursive

{{Tooltip
|This...
|{{Tooltip|is...|ONION!}}
}}

Обнаружена петля в шаблонах: Шаблон:Tooltip </noinclude>