Template:TooltipBox: Difference between revisions

Jump to navigation Jump to search
m
Revert
(Removed the newline, should be up to pages to include it or not)
m (Revert)
 
(6 intermediate revisions by 3 users not shown)
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,
}}<dl><div>'''{{{1}}}'''</div>
    rgba(0, 0, 0, 0.14) -3px -3px 6px 1px inset;
<div>{{{2}}}</div>
    border: 0.15rem solid #785000;
</dl>
    border-radius: 10px;
{{clear}}
    padding: 15px;
</div><noinclude>[[Category:Templates]]
    padding-top: 5px;
    max-width: 960px;
overflow: hidden;">{{#if:{{{image|}}}|<span class="nomobile">[[File:{{{image}}}|frameless|right|{{{size|100}}}px]]</span>|}}<h4>{{{1}}}</h4>
{{{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]].

Navigation menu