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:280px;background:url('{{{image}}}'), center center / cover no-repeat"></div>}} }}
{{#if:{{{image|}}} | {{#noparse_isHTML:<div class="mp-frame-image" style="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>

Revision as of 09:29, 14 October 2022


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