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

از ویکی‌فرش
پرش به ناوبری پرش به جستجو
WikiRug>McCormack
 
(۷ نسخه‌ٔ میانی ویرایش شده توسط ۵ کاربر نشان داده نشده)
سطر ۱: سطر ۱:
<div style="float:right; clear:right; margin:1px; border:1px solid {{Robelbox/C2|{{{theme|9}}}}};">
+
<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:{{Robelbox/C1|{{{theme|9}}}}}; {{#if:{{{height|}}}|height:{{{height|100%}}}}}; border:0px;"
+
{| 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:{{Robelbox/C3|{{{theme|9}}}}};text-align:center;border:0px;" | [[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:0.5em; line-height:1.25em; border:0px;" | {{{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 style="clear:both">
 +
</div>
  
 
== Usage ==
 
== Usage ==
سطر ۱۴: سطر ۱۵:
 
{{Projectbox/doc}}
 
{{Projectbox/doc}}
 
[[Category:Project box templates]]
 
[[Category:Project box templates]]
</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}|Template|{{Projectbox/doc}}[[Category:project boxes]]}}</includeonly>
+
</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