Template:Main Page/Frame: Difference between revisions

From Fina Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="mp-frame" style="max-width:800px">
<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>}} }}
{{#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>

Latest revision as of 11:34, 14 November 2022

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