|
|
Line 2: |
Line 2: |
| <templatestyles src="Main Page/Frame/styles.css" /> | | <templatestyles src="Main Page/Frame/styles.css" /> |
| | | |
| {{#if:{{{image|}}} | {{#noparse_isHTML:<div class="mp-frame-image" style="height:280px;background:url('{{{image}}}'), center center / cover no-repeat"></div>}} }} | | {{#if:{{{image|}}} | {{#noparse_isHTML:<div class="mp-frame-image" style="height:{{#if:{{{height}}}|{{{height}}}|280px}};background:url('{{{image}}}'), center center / cover no-repeat"></div>}} }} |
| <div class="mp-frame-header" {{#if:{{{color|}}}|style="background: #{{{color}}};"}}>{{{title}}}</div> | | <div class="mp-frame-header" {{#if:{{{color|}}}|style="background: #{{{color}}};"}}>{{{title}}}</div> |
| <div class="mp-frame-body">{{{content}}}</div></div> | | <div class="mp-frame-body">{{{content}}}</div></div> |