تغييرات

اذهب إلى التنقل اذهب إلى البحث
ط
لا يوجد ملخص تحرير
سطر 1: سطر 1: −
<div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
+
<noinclude>
−
{| <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="background: transparent; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{#if:{{{width|}}}|width:{{{width}}};}}"
+
هذا قالب 'Collapsible block'.
 +
ينبغي استدعاؤه بالصيغة التالية:
 +
<pre>
 +
{{Collapsible block
 +
|state=
 +
|title_back_color=
 +
|border-color=
 +
|title_color=
 +
|title_align=
 +
|img=
 +
|title=
 +
|content_back_color=
 +
|content_color=
 +
|content_align=
 +
|width=
 +
|content=
 +
}}
 +
 
 +
Note:
 +
If you set state with empty, block will not be collapsible.
 +
If you set title with empty, no title will be provided.
 +
If you set img with empty, no img will be displayed.
 +
</pre>
 +
عدل الصفحة لرؤية نص القالب.
 +
</noinclude>
 +
 
 +
{| class="mw-collapsible {{{state|mw-collapsed}}}" style="text-align: left; border: 0px; margin-top: 0.2em; width:{{{width|100%}}}; border: solid 1px {{{border-color|gray}}};"
 
|-
 
|-
−
! style="background-color: {{{bg|#CFC}}}; text-align:{{#if:{{{left|}}}|left|center}}; font-size:112%;" | {{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}} }}} }}} }}} }}} 
+
! style="background-color: {{{title_back_color|silver}}}; text-align:{{{title_align|center}}}; color:{{{title_color|white}}}"|
−
{{#if:{{{warning|{{{2|}}}}}}
+
<h3>&nbsp;{{#if:{{{img|}}}|[[ملف:{{{img|}}}|25px|link=]]}}&nbsp;{{{title|العنوان}}} </h3>
−
|{{!}}-
  −
{{!}} style="text-align:center; font-style:italic;" {{!}} {{{2|The following is a closed debate. '''Please do not modify it.''' }}} }}
   
|-
 
|-
−
| style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;" {{!}}<noinclude>Hello world!
+
| style="padding: 8px; background-color: {{{content_back_color|whitesmoke}}}; text-align:{{{content_align|right}}}; color:{{{content_color|black}}}" |
−
{{Collapse bottom}}
+
{{{content|المحتوى}}}  
−
{{/doc}}
+
|}
−
[[Category:Meta Templates|Collapse top]]
 
staff، تقنيون
1٬354

تعديل

قائمة التصفح