الفرق بين المراجعتين لصفحة: «قالب:شكل موسوعة»
من مرصد الاقتصاد الأردني
لا ملخص تعديل |
لا ملخص تعديل |
||
سطر ٤: | سطر ٤: | ||
background: #cedff2; /* Light Blue Header */ | background: #cedff2; /* Light Blue Header */ | ||
border: 2px solid #0645ad; /* Blue Border */ | border: 2px solid #0645ad; /* Blue Border */ | ||
font-size: 1.3em; | |||
font-weight: bold; | font-weight: bold; | ||
padding: 8px; | padding: 8px; | ||
text-align: right; | text-align: right; | ||
color: #000000; | color: #000000; | ||
border-radius: 5px; | border-radius: 5px; | ||
"> | |||
"> مقالة مختارة: {{{1}}} | مقالة مختارة: {{{1}}} | ||
</div> | </div> | ||
<!-- | <!-- Main Content Box --> | ||
<div class="box" style=" | <div class="box" style=" | ||
width: {{{3|100%}}}; | width: {{{3|100%}}}; | ||
height: {{{4}}}; | height: {{{4}}}; | ||
float: {{{5}}}; | float: {{{5}}}; | ||
margin-bottom: {{#if:{{{8|}}}|0|20px}}; | margin-bottom: {{#if:{{{8|}}}|0|20px}}; | ||
{{#if:{{{8|}}}|position: fixed; | {{#if:{{{8|}}}|position: fixed; {{{8}}}}}; | ||
{{{8}}} | border: 2px solid #a2a9b1; /* Border */ | ||
background: #f8f9fa; /* Background Color */ | background: #f8f9fa; /* Background Color */ | ||
padding: 10px; /* Adds spacing inside the box */ | padding: 10px; /* Adds spacing inside the box */ | ||
border-radius: 5px; /* Optional: Rounded corners */ | border-radius: 5px; /* Optional: Rounded corners */ | ||
display: flex; /* Ensures inline image */ | |||
align-items: flex-start; | |||
"> | "> | ||
<div {{#if:{{{collapse|}}}|id="mw-customcollapsible-{{{collapseid|wikiframe}}}" class|class}}="{{#if:{{{collapse|}}}|box-content {{{collapse}}} mw-collapsible|box-content}}" style=" | <!-- Image Section (If Provided) --> | ||
padding: 5px; | {{#if:{{{image|}}}| | ||
"> | <div style=" | ||
flex-shrink: 0; | |||
</div></div> | margin-left: 10px; | ||
margin-bottom: 5px; | |||
"> | |||
[[ملف:{{{image}}}|120px|يسار|alt=صورة المقال]] | |||
</div> | |||
}} | |||
<!-- Content Section --> | |||
<div {{#if:{{{collapse|}}}|id="mw-customcollapsible-{{{collapseid|wikiframe}}}" class|class}}="{{#if:{{{collapse|}}}|box-content {{{collapse}}} mw-collapsible|box-content}}" style=" | |||
padding: 5px; | |||
"> | |||
{{{2}}} | |||
</div> | |||
</div> | |||
<noinclude>{{/doc}}[[Category:Templates]]</noinclude> | <noinclude>{{/doc}}[[Category:Templates]]</noinclude> |