الگو:Projectbox: تفاوت بین نسخه‌ها

از ویکی‌فرش
پرش به ناوبری پرش به جستجو
WikiRug>McCormack
(New page: <div style="float: left; border: solid {{{border|#22ee44}}} 1px; margin: 1px;"> {| cellspacing="0" style="width: 238px; background: {{{background|#c5fcdc}}};" | style="width: 45px; height:...)
 
 
(۲۳ نسخه‌ٔ میانی ویرایش شده توسط ۵ کاربر نشان داده نشده)
سطر ۱: سطر ۱:
<div style="float: left; border: solid {{{border|#22ee44}}} 1px; margin: 1px;">
+
<div style="float:left; clear:left; margin-left:5px; margin-bottom:1px; margin-top:1px; border:1px solid {{Robelbox/C2|{{{theme|9}}}}};">
{| cellspacing="0" style="width: 238px; background: {{{background|#c5fcdc}}};"
+
{| style="border-collapse: collapse; border-spacing: 0; width:228px; background:{{Robelbox/C1|{{{theme|9}}}}}; {{#if:{{{height|}}}|height:{{{height|100%}}}}}; border:0px;"
| style="width: 45px; height: 45px; background: {{{iconbg|#77f7aa}}}; text-align: center; font-size: 14pt;" | [[Image:{{{icon|Crystal kthememgr.svg}}}|36px]]
+
| style="width:45px;height:45px;background:{{Robelbox/C3|{{{theme|9}}}}};text-align:center;border:0px;" | [[Image:{{{icon|Crystal kthememgr.svg}}}|36px]]
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | {{{text|This is a project box template}}}
+
| style="font-size:8pt; padding:0.5em; line-height:1.25em; border:0px;" | {{{text|This is a project box template}}}
|}
+
|}
 
</div><noinclude>
 
</div><noinclude>
 +
<div style="clear:both">
 +
</div>
 +
 +
== Usage ==
 +
 +
<pre>
 +
{{projectbox|theme=[0-14]|icon=[name_of_image]|text=[description]}}
 +
</pre>
 +
{{Projectbox/doc}}
 
[[Category:Project box templates]]
 
[[Category:Project box templates]]
</noinclude>
+
</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}|Template|{{#ifeq:{{{doc|no}}}|yes|{{Projectbox/doc}}}}}} {{#ifeq:{{NAMESPACE}}|Template|[[Category:project boxes]]}}</includeonly>

نسخهٔ کنونی تا ‏۱ اسفند ۱۳۹۸، ساعت ۱۲:۱۱

Crystal kthememgr.svg This is a project box template

Usage

{{projectbox|theme=[0-14]|icon=[name_of_image]|text=[description]}}

الگو:Projectbox/doc