الفرق بين المراجعتين لصفحة: «قالب:شكل موسوعة»

من مرصد الاقتصاد الأردني
لا ملخص تعديل
وسم: تراجع يدوي
لا ملخص تعديل
سطر ١: سطر ١:
<div class="box" style="
<div class="box" style="
width: {{{3|100%}}};
    width: 100%;
height: {{{4}}};
    height: {{{4|auto}}};
float: {{{5}}};
    float: {{{5|none}}};
margin-bottom: {{#if:{{{8|}}}|0|20px}};
    margin-bottom: {{#if:{{{8|}}}|0|20px}};
{{#if:{{{8|}}}|position: fixed;
    {{#if:{{{8|}}}|position: fixed; {{{8}}}}};
{{{8}}}<!--if 8th parameter, add it to fixed positioning-->}}
    border: 2px solid #a2a9b1; /* Main Border */
border: 2px solid #a2a9b1; /* Border */
     background: #f8f9fa; /* Light Gray Background */
     background: #f8f9fa; /* Background Color */
     padding: 10px;  
     padding: 10px; /* Adds spacing inside the box */
     border-radius: 5px;
     border-radius: 5px; /* Optional: Rounded corners */
    box-sizing: border-box; /* Ensures width stays within limits */
">
">
<div class="box-header" style="
 
text-align: center;
    <!-- Static Header Section -->
font-size: 1.5em;
    <div class="box-header" style="
"><span>{{#if: {{{7|}}} | [[{{{7}}}|{{{1}}}]] | {{{1}}} }}</span><!--If 7th parameter exists, make the title a link.-->{{#if:{{{collapse|}}}|<span style="font-size: 1rem; float: right">{{nbsp}}[<span style="color: #4d97ff" class="mw-customtoggle-{{{collapseid|wikiframe}}}">{{{collapsetext|show/hide}}}</span>]</span>}}
        width: 100%;
</div><div {{#if:{{{collapse|}}}|id="mw-customcollapsible-{{{collapseid|wikiframe}}}" class|class}}="{{#if:{{{collapse|}}}|box-content {{{collapse}}} mw-collapsible|box-content}}" style="
        background: #cedff2; /* Light Blue Header */
padding: 5px;
        border: 2px solid #0645ad; /* Blue Border */
"><!--
        padding: 8px;
-->{{{2}}}
        font-size: 1.3em;
</div></div>
        font-weight: bold;
        text-align: center;
        color: #0645ad;
        border-radius: 5px;
        margin-bottom: 10px;
    ">
        📰 مقال مختار
    </div>
 
    <!-- Main Content Section -->
    <div {{#if:{{{collapse|}}}|id="mw-customcollapsible-{{{collapseid|wikiframe}}}" class|class}}="{{#if:{{{collapse|}}}|box-content {{{collapse}}} mw-collapsible|box-content}}" style="
        padding: 10px;
    ">
        <h2 class="box-title" style="
            font-size: 1.2em;
            font-weight: bold;
            color: #0645ad;
            margin-bottom: 5px;
            text-align: center;
        ">
            {{#if: {{{7|}}} | [[{{{7}}}|{{{1}}}]] | {{{1}}} }}
        </h2>
 
        <div class="box-text" style="font-size: 1em; color: #000;">
            {{{2}}}
        </div>
 
        <!-- Show/Hide Button -->
        {{#if:{{{collapse|}}}|
        <div style="text-align: center; margin-top: 5px;">
            <span style="font-size: 1rem; color: #4d97ff; cursor: pointer;" class="mw-customtoggle-{{{collapseid|wikiframe}}}">
                {{{collapsetext|إظهار/إخفاء}}}
            </span>
        </div>}}
 
    </div>
</div>
 
<noinclude>{{/doc}}[[Category:Templates]]</noinclude>
<noinclude>{{/doc}}[[Category:Templates]]</noinclude>

مراجعة ٢٢:١٩، ٦ مارس ٢٠٢٥

       📰 مقال مختار

{{{1}}}

           {{{2}}}


قالب:شكل موسوعة/doc