Template:ColoredBox: Difference between revisions

From fattwiki
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 2: Line 2:
<div class="mw-tpl-colorbox {{{class|}}}" style="{{#if:{{{background-content-color|}}} | background-color: {{{background-content-color | #ffffff}}}; }} {{#if:{{{background-title-color|}}} | border-color:{{{background-title-color}}} | #eaecf0}} {{{colorbox-style|}}}">
<div class="mw-tpl-colorbox {{{class|}}}" style="{{#if:{{{background-content-color|}}} | background-color: {{{background-content-color | #ffffff}}}; }} {{#if:{{{background-title-color|}}} | border-color:{{{background-title-color}}} | #eaecf0}} {{{colorbox-style|}}}">
{{#if:{{{title|}}}|<div class="mw-tpl-colorbox-title" style="{{#if:{{{background-title-color|}}}|background-color:{{{background-title-color|#eaecf0}}};}}{{#if:{{{center-title|}}}|text-align:center|}}{{{colorbox-title-style|}}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]]&#32;}}
{{#if:{{{title|}}}|<div class="mw-tpl-colorbox-title" style="{{#if:{{{background-title-color|}}}|background-color:{{{background-title-color|#eaecf0}}};}}{{#if:{{{center-title|}}}|text-align:center|}}{{{colorbox-title-style|}}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]]&#32;}}
<strong style="{{#if:{{{title-color|}}}| color: {{{title-color|#000000}}}; }}">
<strong style="{{#if:{{{title-color|}}}| color: {{{title-color|#000000}}}; }}">{{{title}}}</strong>{{#if:{{{link|}}}|<div class="mw-tpl-colorbox-title-corner">[[{{{link}}}|<span style="{{#if:{{{link-color|{{{title-color|}}}}}}| color: {{{link-color|{{{title-color|}}}}}}; }}">{{{view-text|view}}}</span>]]</div>}}</div>
{{{title}}}</strong>{{#if:{{{link|}}}|<div class="mw-tpl-colorbox-title-corner">[[{{{link}}}|<span style="{{#if:{{{link-color|{{{title-color|}}}}}}| color: {{{link-color|{{{title-color|}}}}}}; }}">{{{view-text|view}}}</span>]]</div>}}</div>
|
|
}}
}}

Revision as of 20:11, 10 July 2022

{{{content}}}