Template:Bubble: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<div class="panel radius" style="background-color:{{#if:{{{bg-color|}}}|{{{bg-color}}}|#fff}}; text-align:left;"> <h3 class="panel-header" {{#if:{{{h-color|}}}|style="background-color:{{{h-color}}};"}}>'''{{{title}}}''' {{#if:{{{image|}}}|[[File:{{{image}}}|x20px|right|link=]]}}</h3> {{{content}}} </div> <noinclude> Use template: <pre>{{Bubble|bg-color=#fff|h-color=#fff|title=Example|image=example.png|content=<p class="panel-body">Some text here.</p>}}</pre> * '''h-colo...") |
(No difference)
|
Latest revision as of 22:08, 23 September 2022
{{{title}}}
{{{content}}}
Use template:
{{Bubble|bg-color=#fff|h-color=#fff|title=Example|image=example.png|content=<p class="panel-body">Some text here.</p>}}
- h-color: Header background color in hexadecimal format #ccc
- bg-color: Panel background color in hexadecimal format #fff
- image: 20px wide header icon image Example.svg (exclude File:)
Classes:
<p class="panel-body">Some example text</p> <ul class="content-table"> <li class="list-item">Some example text</li> </ul> <ul class="featured-table"> <li class="featured list-item"> <span class="right">[[File:Example.svg|50px|link=Article]]</span> <div class="media-body"> <h4 class="media-heading">Title</h4> Some example text </div> </li> </ul> <p class="panel-footer">Some example text</p>