Template:Main Page/Frame: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
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:{{#if:{{{height}}}|{{{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('{{filepath:{{{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>

Revision as of 15:56, 4 November 2022


{{{title}}}
{{{content}}}