Imperialhare (talk | contribs) No edit summary Tag: 2017 source edit |
Imperialhare (talk | contribs) No edit summary Tag: 2017 source edit |
||
(5 intermediate revisions by the same user not shown) | |||
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}}} | # | <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}}} | #e2e2e2}} {{{colorbox-style|}}}"> | ||
{{#if:{{{title|}}}|<div class="mw-tpl-colorbox-title" style="{{#if:{{{background-title-color|}}}|background-color:{{{background-title-color|# | {{#if:{{{title|}}}|<div class="mw-tpl-colorbox-title" style="{{#if:{{{background-title-color|}}}|background-color:{{{background-title-color|#e2e2e2}}};}}{{#if:{{{center-title|}}}|text-align:center|}}{{{colorbox-title-style|}}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]] }}<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>|}} | ||
{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]] }} | |||
<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> | |||
| | |||
}} | |||
<div class="mw-tpl-colorbox-content" style="{{#if:{{{center-content|}}}|text-align:center|}}{{{colorbox-content-style|}}}"> | <div class="mw-tpl-colorbox-content" style="{{#if:{{{center-content|}}}|text-align:center|}}{{{colorbox-content-style|}}}"> | ||
{{{content}}} | {{{content}}} | ||
</div> | </div> | ||
</div> | </div><noinclude> | ||
[[Category:Templates]] | |||
[[Category:Layout Templates]] | |||
[[Category:Decorative Templates]] | |||
</noinclude> |
Latest revision as of 02:22, 13 July 2022
{{{content}}}