Template:MessageBox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Tweak #1)
m (Tweak)
Line 1: Line 1:
<includeonly>{| cellspacing="0" cellpaddin="0" style="padding: 5px; width: 100%; margin: 0px auto 5px auto; border: 1px {{#if: {{{bordertype|}}} | {{{bordertype}}} | solid }} #{{#if: {{{bordercolorhex|}}} | {{{bordercolorhex}}} | CCCCCC }}; background: #{{#if: {{{bgcolorhex|}}} | {{{bgcolorhex}}} | F9F9F9 }};"
<includeonly>{| cellspacing="0" cellpaddin="0" style="padding: 5px; width: 100%; margin: 0px auto 5px auto; border: 1px {{#if: {{{bordertype|}}} | {{{bordertype}}} | solid }} #{{#if: {{{bordercolorhex|}}} | {{{bordercolorhex}}} | CCCCCC }}; background: #{{#if: {{{bgcolorhex|}}} | {{{bgcolorhex}}} | F9F9F9 }};"
|style="width: 3px; background-color: #{{#if: {{{bordercolorhex|}}} | {{{bordercolorhex}}} | CCCCCC }};
|style="width: 32px; vertical-align:top; {{#if: {{{image|}}} | | display: none; }}" rowspan="2" | [[{{{image}}}|link=]]
|style="width: 32px; vertical-align:top; {{#if: {{{image|}}} | | display: none; }}" rowspan="2" | [[{{{image}}}|link=]]
|style="{{#if: {{{image|}}} | padding-left: 10px; }}" |{{#if: {{{title|}}}|'''{{{title}}}'''}} {{#if: {{{message|}}}|{{{message}}}}}
|style="{{#if: {{{image|}}} | padding-left: 10px; }}" |{{#if: {{{title|}}}|'''{{{title}}}'''}} {{#if: {{{message|}}}|{{{message}}}}}

Revision as of 11:08, 15 January 2012


Article message box

{{MessageBox|
   bordercolorhex = FFADAD |
   bordertype = |
   bgcolorhex = F9F9F9 |
   image = File:Dialog-warning.png |
   title = Warning: |
   message = Test TEXT 1 2 3 |
   subtext = More Text |
   
}}