Template:Main Page/Frame: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="mp-frame">
<div class="mp-frame" style="max-width:800px">
<templatestyles src="Main Page/Frame/styles.css" />
<templatestyles src="Main Page/Frame/styles.css" />
 
{{#if:{{{image|}}} | {{#noparse:<div class="mp-frame-image fina-{{FULLPAGENAMEE}}" style="height:{{#if:{{{height|}}}|{{{height}}}|280px}};background-image:url('{{filepath:{{{image}}}}}');"></div>}} }}
{{#noparse_isHTML:<div class="mp-frame-image" style="height:320px;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>

Latest revision as of 11:34, 14 November 2022

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