Template:TooltipBox: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Change to definition lists) |
HiddenDragon (talk | contribs) m (Indentation, adding 3rd row support for tooltip stuff) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common" style="overflow: hidden;">{{#if: {{{image|}}} | | <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> | <div class="nomobile">[[File:{{{image}}}|frameless|right|{{{size|100}}}px]]</div> | ||
}}<dl><dt>{{{1}}}</dt> | }} | ||
<dd>{{{2}}}</dd> | <dl><dt>{{{1}}}</dt> | ||
</dl> | <dd style="margin-top: 10px;">{{{2}}}</dd> | ||
</dl>{{#if: {{{3|}}} | {{blank}} | |||
<div style="margin-top: 10px;>{{{3}}}</div> | |||
}} | |||
{{clear}} | {{clear}} | ||
</div><noinclude>[[Category:Templates]] | </div><noinclude>[[Category:Templates]] | ||
Line 11: | Line 14: | ||
{{TooltipBox|{{SAI|Repelling Protocol|w=30}}|image=Generic Control.webp|size=100| | {{TooltipBox|{{SAI|Repelling Protocol|w=30}}|image=Generic Control.webp|size=100| | ||
{{DamageInfo|2d8|Thunder}} | {{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}} | |||
}} | |||
<pre><nowiki>{{TooltipBox|{{SAI|Repelling Protocol|w=30}}|image=Generic Control.webp|size=100| | <pre><nowiki>{{TooltipBox|{{SAI|Repelling Protocol|w=30}}|image=Generic Control.webp|size=100| | ||
{{DamageInfo|2d8|Thunder}} | {{DamageInfo|2d8|Thunder}} | ||
Expel a wave of force to push assailants back {{Distance|m=9|ft=27}} and knock them {{Cond|Prone}}.}}</nowiki></pre> | |||
{{TooltipBox|Longer gradient|This one will have a longer black gradient. Add {{InfoBlob|<nowiki>|long=1</nowiki>}} | {{TooltipBox|Longer gradient|This one will have a longer black gradient. Add {{InfoBlob|<nowiki>|long=1</nowiki>}} |
Latest revision as of 00:14, 11 November 2024
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.
{{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}}.}}