Template:Colored box: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<templatestyles src="Colored box/style.css"/><div class="mw-tpl-colorbox" style="{{#if:{{{background-content-color|}}}| background-color: {{{background-content-color|#fff}}};...") |
mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <templatestyles src="Colored box/style.css"/><div class="mw-tpl-colorbox" style="{{#if:{{{background-content-color|}}}| background-color: {{{background-content-color|#fff}}}; }} {{{style|}}};"><!-- |
+ | <onlyinclude><templatestyles src="Colored box/style.css"/><div class="mw-tpl-colorbox" style="{{#if:{{{background-content-color|}}}| background-color: {{{background-content-color|#fff}}}; }} {{{style|}}};"><!-- |
--><div class="mw-tpl-colorbox-title" style="{{#if:{{{background-title-color|}}}|background-color:{{{background-title-color|#eaecf0}}};}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]] }}<strong style="{{#if:{{{title-color|}}}| color: {{{title-color|#000000}}}; }}">{{{title}}}</strong><!-- |
--><div class="mw-tpl-colorbox-title" style="{{#if:{{{background-title-color|}}}|background-color:{{{background-title-color|#eaecf0}}};}}">{{#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>}} |
-->{{#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>}} |
||
Line 5: | Line 5: | ||
--><div class="mw-tpl-colorbox-content"> |
--><div class="mw-tpl-colorbox-content"> |
||
{{{content}}}{{clr}}</div> |
{{{content}}}{{clr}}</div> |
||
− | </div |
+ | </div> |
+ | </onlyinclude> |
||
− | {{documentation}} |
||
+ | |||
+ | [[Category:Templates]] |
||
+ | [[Category:Formatting]] |
||
+ | <noinclude> |
||
+ | <templatedata> |
||
+ | { |
||
+ | "params": { |
||
+ | "background-content-color": {}, |
||
+ | "style": {}, |
||
+ | "background-title-color": {}, |
||
+ | "icon": {}, |
||
+ | "title-color": {}, |
||
+ | "title": {}, |
||
+ | "link": {}, |
||
+ | "link-color": {}, |
||
+ | "view-text": {}, |
||
+ | "content": {} |
||
+ | } |
||
+ | } |
||
+ | </templatedata> |
||
</noinclude> |
</noinclude> |
Latest revision as of 21:49, 11 November 2022
{{{title}}}
{{{content}}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
background-content-color | background-content-color | no description | Unknown | optional |
style | style | no description | Unknown | optional |
background-title-color | background-title-color | no description | Unknown | optional |
icon | icon | no description | Unknown | optional |
title-color | title-color | no description | Unknown | optional |
title | title | no description | Unknown | optional |
link | link | no description | Unknown | optional |
link-color | link-color | no description | Unknown | optional |
view-text | view-text | no description | Unknown | optional |
content | content | no description | Unknown | optional |