Template:Colored box: Difference between revisions
en>Krinkle revert my changes, except whitespace in code clean up |
en>Krinkle Add class="mw-tpl-colorbox-title-text" to the title text |
||
Line 9: | Line 9: | ||
| background-color: {{{background-title-color|#eaecf0}}}; | | 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:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]] }}<!-- | ||
--><strong class="mw-tpl-colorbox-title-text" style="{{#if: {{{title-color|}}} | color: {{{title-color|#000000}}}; }}">{{{title}}}</strong><!-- | |||
-->{{#if:{{{link|}}} | -->{{#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 class="mw-tpl-colorbox-title-corner">[[{{{link}}}|<span style="{{#if: {{{link-color|{{{title-color|}}}}}} | color: {{{link-color|{{{title-color|}}}}}}; }}">{{{view-text|view}}}</span>]]</div> |
Revision as of 17:29, 6 September 2023
{{{title}}}
{{{content}}}
Lua error in Module:Documentation at line 144: message: type error in message cfg.container (string expected, got nil).