الفرق بين المراجعتين لصفحة «قالب:Bordered-block»

من ويكي أضِف
اذهب إلى التنقل اذهب إلى البحث
ط
ط
 
(34 مراجعة متوسطة بواسطة نفس المستخدم غير معروضة)
سطر 1: سطر 1:
 +
<noinclude>
 +
هذا قالب 'Bordered-block'.
 +
ينبغي استدعاؤه بالصيغة التالية:
 +
<pre>
 +
{{Bordered-block
 +
|header-background=
 +
|border-color=
 +
|title_color=
 +
|title=
 +
|img=
 +
|content=
 +
}}
 +
</pre>
 +
عدل الصفحة لرؤية نص القالب.
 +
</noinclude>
 
<includeonly>
 
<includeonly>
−
<div style="border: 2px solid {{{border-color|grey}}}; width: {{{width|45%}}}; {{{back-color|grey}}}; float:right;  margin:{{{margin|20px 24px 20px 20px}}};">
+
<div style="border: 1px solid {{{border-color|grey}}}; border-radius: 20px; width: {{{width|45%}}}; {{{back-color|#d9d4a8}}}; float:right;  margin:{{{margin|20px 24px 20px 20px}}};">
 
<div style="clear: both;"></div>  
 
<div style="clear: both;"></div>  
 
<div style="clear: both;"></div>  
 
<div style="clear: both;"></div>  
 
<div style="<!--border: 1px solid {{{border|lightblue}}};--> {{gradient|{{{titlebackground|aliceblue}}}|{{{border|lightblue}}}}} ; color: {{{titleforeground|white}}}; padding: .1em; text-align: center; font-weight: bold; <!-- margin-right: 4px; font-size: 120%; margin-bottom: -23px; --> margin: -22px -8px -29px 3px; border-bottom: none;">
 
<div style="<!--border: 1px solid {{{border|lightblue}}};--> {{gradient|{{{titlebackground|aliceblue}}}|{{{border|lightblue}}}}} ; color: {{{titleforeground|white}}}; padding: .1em; text-align: center; font-weight: bold; <!-- margin-right: 4px; font-size: 120%; margin-bottom: -23px; --> margin: -22px -8px -29px 3px; border-bottom: none;">
 
<div style="dir:rtl; background:transparent; border-radius:10px;padding:0.5em; margin-bottom:1em;">
 
<div style="dir:rtl; background:transparent; border-radius:10px;padding:0.5em; margin-bottom:1em;">
−
{{#if:{{{title|}}}|<div style="text-align:right; position:relative; right:4px; top:23px; margin:0;"><span style="float:left" class="editsection"></span>
+
{{#if:{{{title|}}}|<div style="text-align:right; position:relative; right:-3px; top:23px; margin:0;">
−
<!--
+
<!---->{{#if:{{{صغير|}}}|[[ملف:{{{color|Purple}}}-bg rounded cropped right.svg|link=]]|[[ملف:{{{color|Purple}}}-bg rounded right.svg|link=]]
−
-->{{#if:{{{صغير|}}}
+
<!-- -->}}
−
 
+
{{#if:{{{img|}}}|<div style="position:absolute; right:5px; top:0;">[[ملف:{{{img|}}}|25px|link=]]</div>}}
−
<!--
+
<div style="dir:rtl; position:absolute; right:40px; top:-1px;"><h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="font-weight:bold; border-bottom:none; font-size:130%; padding:.15em .4em; color: {{{title_color|white}}};">{{{title}}}</h2></div></div>|}}
−
|[[ملف:{{{color|red}}}-bg rounded cropped right.svg|link=]]-->
+
<div {{#if:{{{id|}}}|id="{{{id}}}"|}} "></div>
−
<!--
+
</div></div>
−
|[[ملف:{{{color|French_Beige}}}-bg rounded right.svg|link=]]-->
+
<div style="display: block; <!--border: 1px solid {{{border|lightblue}}};--> vertical-align: top; color: {{{foreground|black}}}; margin-bottom: 12px; margin-top: -4px;">
−
<!-- -->
 
−
}}
 
−
{{#if:{{{img|}}}|<div style="position:absolute; right:5px; top:0;">[[ملف:{{{img|}}}|25px|link=]]</div>}}<div style="dir:rtl; position:absolute; right:40px; top:-1px;"><h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="font-weight:bold; border-bottom:none; font-size:130%; padding:.15em .4em;">{{{title}}}</h2></div>
 
−
 
 
−
</div>|}}
 
−
 
 
−
<div {{#if:{{{id|}}}|id="{{{id}}}"|}} ">
 
−
</div>
 
−
 
 
−
</div>
 
−
 
 
−
</div>
 
−
<div style="display: block; <!--border: 1px solid {{{border|lightblue}}};--> vertical-align: top; background: {{{background|none repeat scroll 0 0 #666666}}}; color: {{{foreground|black}}}; margin-bottom: 12px; margin-top: -4px;">
 
−
 
 
 
<div class="noprint" style="text-align:center;margin:0.3em 0.2em 0.2em 0.3em; padding:0.3em 0.2em 0.2em0.3em;"></div>
 
<div class="noprint" style="text-align:center;margin:0.3em 0.2em 0.2em 0.3em; padding:0.3em 0.2em 0.2em0.3em;"></div>
−
<div style="clear:both;">'''{{{1|}}}'''</div>
+
<div style="clear:both;">'''{{{1|}}}'''</div>
−
 
 
 
</div>
 
</div>
 
<div style="text-align:center;">
 
<div style="text-align:center;">
 
{{{content|}}}
 
{{{content|}}}
−
</div>
+
</div></div>
−
</div>
 
 
</includeonly>
 
</includeonly>

المراجعة الحالية بتاريخ 12:32، 7 يوليو 2014

هذا قالب 'Bordered-block'. ينبغي استدعاؤه بالصيغة التالية:

{{Bordered-block
|header-background=
|border-color=
|title_color=
|title=
|img=
|content=
}}

عدل الصفحة لرؤية نص القالب.