Template:TooltipBox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Undo revision 167432 by Taylan (talk))
Tag: Undo
(Second attempt at fix.)
Line 1: Line 1:
<div style ="background: linear-gradient(to bottom, {{#if:{{{long|}}}|#1B1A1999,|}} #1B1A1999, #1B1A1999, #40295199);
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common" style="overflow: hidden;">{{#if: {{{image|}}} |
    box-shadow:
<div class="nomobile">[[File:{{{image}}}|frameless|right|{{{size|100}}}px]]</div>
    rgba(0, 0, 0, 0.14) 3px 3px 6px 0px inset,
}}<div>'''{{{1}}}'''</div>
    rgba(0, 0, 0, 0.14) -3px -3px 6px 1px inset;
<div>{{{2}}}</div>
    border: 0.15rem solid #785000;
{{clear}}
    border-radius: 10px;
</div><noinclude>[[Category:Templates]]
    padding: 15px;
    padding-top: 5px;
    max-width: 960px;
overflow: hidden;
margin-bottom: 20px">{{#if:{{{image|}}}|<span class="nomobile">[[File:{{{image}}}|frameless|right|{{{size|100}}}px]]</span>|}}
'''{{{1}}}'''<br />
{{{2}}}{{clear}}</div><noinclude>[[Category:Templates]]


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]].
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]].

Revision as of 16:16, 28 March 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
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