Template:SoftBox: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{TemplateGen|params=<nowiki>boxwidth=17(5 columns)/21(4)/29(3)/44(2)|color={orange/blue/pink/grey/green}|content=###</nowiki>}}</noinclude> | <noinclude>{{TemplateGen|params=<nowiki>boxwidth=17(5 columns)/21(4)/29(3)/44(2)|color={orange/blue/pink/grey/green}|content=###</nowiki>}}</noinclude> | ||
<div class="card border-0 {{{card-class|}}}"> | <div class="card border-0 {{{card-class|}}}"> | ||
<div class="card-header bg-{{{color|default}}} {{{title-class|text-white}}} font-weight-bold" style="font-size:16px;padding: 0.3rem 1rem;">{{{title}}}</div> | <div class="card-header bg-{{{color|default}}} {{{title-class|text-white}}} font-weight-bold" style="font-size:16px;padding: 0.3rem 1rem !important;">{{{title}}}</div> | ||
<div class="card-header bg-{{{color|default}}}-light">{{{content}}}</div> | <div class="card-header bg-{{{color|default}}}-light">{{{content}}}</div> | ||
</div> | </div> |
Revision as of 07:12, 27 May 2020
Usage
Please use this string:
{{SoftBox|boxwidth=17(5 columns)/21(4)/29(3)/44(2)|color={orange/blue/pink/grey/green}|content=###}}
{{{title}}}
{{{content}}}