Template:Colored box: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(4 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 6: | Line 6: | ||
{{{content}}}{{clr}}</div> |
{{{content}}}{{clr}}</div> |
||
</div> |
</div> |
||
+ | </onlyinclude> |
||
+ | |||
+ | [[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> |
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 |