Imperialhare (talk | contribs) No edit summary Tag: 2017 source edit |
Imperialhare (talk | contribs) No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<templatestyles src="ColoredBox/style.css"/> | <templatestyles src="ColoredBox/style.css"/> | ||
<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:{{{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=]] }} | ||
{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]] }} | |||
<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}}}