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

من ويكي أضِف
اذهب إلى التنقل اذهب إلى البحث
ط
ط
سطر 15: سطر 15:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
−
<div style="border: 3px solid {{{border-color|#d9d4a8}}}; border-radius: 20px; width: {{{width|45%}}}; {{{back-color|#d9d4a8}}}; float:right;  margin:{{{margin|20px 24px 20px 20px}}};">
+
<div style="border: 3px solid {{{border-color|#d9d4a8}}}; 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="<!--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;">{{#if:{{{title|}}}|<div style="text-align:right; position:relative; right:-3px; top:23px; margin:0;"><!---->{{#if:{{{صغير|}}}|[[ملف:{{{color|French Beige}}}-bg rounded cropped right.svg|link=]]|[[ملف:{{{color|French Beige}}}-bg rounded right.svg|link=]]<!-- -->}}
−
<div style="clear: both;"></div>  
+
{{#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: #fa7101;">{{{title}}}</h2></div></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 {{#if:{{{id|}}}|id="{{{id}}}"|}} "></div></div></div><div style="display: block; <!--border: 1px solid {{{border|lightblue}}};--> vertical-align: top;  background: {{{header-background|none repeat scroll 0 0 #d9d4a8}}}; 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 style="clear:both;">'''{{{1|}}}'''</div>
−
<div style="dir:rtl; background:transparent; border-radius:10px;padding:0.5em; margin-bottom:1em;">
+
</div><div style="text-align:center;">{{{content|}}}</div></div>
−
{{#if:{{{title|}}}|<div style="text-align:right; position:relative; right:-3px; top:23px; margin:0;"><span style="float:left" class="editsection"></span>
 
−
<!--
 
−
-->{{#if:{{{صغير|}}}
 
−
|[[ملف:{{{color|French Beige}}}-bg rounded cropped right.svg|link=]]
 
−
|[[ملف:{{{color|French Beige}}}-bg rounded right.svg|link=]]
 
−
<!-- -->
 
−
}}
 
−
{{#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: #fa7101;">{{{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: {{{header-background|none repeat scroll 0 0 #d9d4a8}}}; 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 style="clear:both;">'''{{{1|}}}'''</div>
 
−
 
 
−
</div>
 
−
<div style="text-align:center;">{{{content|}}}</div>
 
−
</div>
 
 
</includeonly>
 
</includeonly>

مراجعة 10:19، 2 يوليو 2014

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

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

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