Template:TooltipBox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Revert)
m (Formatting with proper definition list)
 
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><div>'''{{{1}}}'''</div>
}}<dl><dt>{{{1}}}</dt>
<div>{{{2}}}</div>
{{{2}}}
</dl>
</dl>
{{clear}}
{{clear}}
Line 10: Line 10:


{{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}}.}}
: Expel a wave of force to push assailants back {{Distance|m=9|ft=27}} and knock them {{Cond|Prone}}.
}}


<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>
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 18:13, 29 August 2024

{{{1}}}

{{{2}}}

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.

Generic Control.webp
Repelling Protocol Repelling Protocol
D8 Thunder.png 2d8 (2~16) Damage TypesThunder
Expel a wave of force to push assailants back 9 m / 30 ft and knock them Prone Prone.
{{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}}.}}
Longer gradient

This one will have a longer black gradient. Add |long=1

  • For
  • Very
  • Long
  • Lists