Template:TooltipBox: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
HiddenDragon (talk | contribs) mNo edit summary |
||
(18 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<div style =" | <includeonly><div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common" style="overflow: hidden;">{{#if: {{{image|}}} | | ||
<div class="nomobile">[[File:{{{image}}}|frameless|right|{{{size|100}}}px]]</div> | |||
}} | |||
<dl><dt>{{{1}}}</dt> | |||
<dd style="margin-top: 10px;">{{{2}}}</dd> | |||
</dl>{{#if: {{{3|}}} | {{blank}} | |||
<div style="margin-top: 10px;>{{{3}}}</div> | |||
}} | |||
{{ | {{clear}} | ||
</div></includeonly><noinclude>{{Documentation|content= | |||
Optional parameters include {{InfoBlob|image}} for direct image links and {{InfoBlob|size}} to adjust image size. As well as {{InfoBlob|<nowiki>long=1</nowiki>}} to have a longer dark gradient. The version with integrated SAI is [[Template:Feature box]]. | |||
{{TooltipBox| | == Example == | ||
{{Template demo | |||
{{TooltipBox|Longer gradient|This one will have a longer black gradient. Add {{InfoBlob|<nowiki>|long=1 | | style = list | ||
| <nowiki> | |||
{{TooltipBox|{{SAI|Repelling Protocol|w=30}}|image=Generic Control.webp|size=100| | |||
{{DamageInfo|2d8|Thunder}} | |||
Expel a wave of force to push assailants back {{Distance|m=9|ft=27}} and knock them {{Cond|Prone}}. | |||
| {{Recharge|Short rest}} | |||
}}</nowiki> | |||
| <nowiki>{{TooltipBox|{{SAI|Repelling Protocol|w=30}}|image=Generic Control.webp|size=100| | |||
{{DamageInfo|2d8|Thunder}} | |||
Expel a wave of force to push assailants back {{Distance|m=9|ft=27}} and knock them {{Cond|Prone}}.}}</nowiki> | |||
| <nowiki>{{TooltipBox|Longer gradient|This one will have a longer black gradient. Add {{InfoBlob|<nowiki>|long=1}} | |||
* For | * For | ||
* Very | * Very | ||
* Long | * Long | ||
* Lists|long=1}} | * Lists|long=1}} | ||
</nowiki> | |||
}} | |||
}} | |||
[[Category:Templates]] | |||
</noinclude> |
Latest revision as of 22:47, 19 January 2025
Template documentation
Optional parameters include image for direct image links and size to adjust image size. As well as long=1 to have a longer dark gradient. The version with integrated SAI is Template:Feature box.
Example
Markup
{{TooltipBox|{{SAI|Repelling Protocol|w=30}}|image=Generic Control.webp|size=100| {{DamageInfo|2d8|Thunder}} Expel a wave of force to push assailants back {{Distance|m=9|ft=27}} and knock them {{Cond|Prone}}. | {{Recharge|Short rest}} }}Renders as
Markup
{{TooltipBox|{{SAI|Repelling Protocol|w=30}}|image=Generic Control.webp|size=100| {{DamageInfo|2d8|Thunder}} Expel a wave of force to push assailants back {{Distance|m=9|ft=27}} and knock them {{Cond|Prone}}.}}Renders as
Markup
{{TooltipBox|Longer gradient|This one will have a longer black gradient. Add {{InfoBlob|<nowiki>|long=1}} * For * Very * Long * Lists|long=1}}Renders as