الگو:Ombox/Shortcut: تفاوت میان نسخه‌ها

محتوای حذف‌شده محتوای افزوده‌شده
Reza1615 (بحث | مشارکت‌ها)
صفحه‌ای جدید با '<table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #f9f9f9; {{#switch:{{{type|}}} | speedy = border: 2px s...' ایجاد کرد
 
Mondephile (بحث | مشارکت‌ها)
بدون خلاصۀ ویرایش
خط ۱:
<table class="plainlinksshortcutbox noprint" style="float: left; border: 1px solid #aaa; background: #fff; margin: 4px0; 10%padding: 1px; bordertext-collapsealign: collapsecenter; line-height: 1.1em"><tr><th style="border: none; background: #f9f9f9transparent;"><!--
Putting anchors on page:
{{#switch:{{{type|}}}
-->{{#if:{{{1|}}}|<span id="{{{1|}}}"></span> }}{{#if:{{{2|}}}|<span id="{{{2|}}}"></span> }}{{#if:{{{3|}}}|<span id="{{{3|}}}"></span> }}{{#if:{{{4|}}}|<span id="{{{4|}}}"></span> }}{{#if:{{{5|}}}|<span id="{{{5|}}}"></span> }}<!--
| speedy = border: 2px solid #b22222; background: #fee;
Adding the shortcut links:
| delete = border: 2px solid #b22222;
--><small>[[ویکی‌نسک:میانبرها|میانبر{{#if:{{{2|}}}|ها}}]]: {{#if:{{{1|}}}|<br /> [[{{{1}}}]] }}{{#if:{{{2|}}}|<br /> [[{{{2}}}]] }}{{#if:{{{3|}}}|<br /> [[{{{3}}}]] }}{{#if:{{{4|}}}|<br /> [[{{{4}}}]] }}{{#if:{{{5|}}}|<br /> [[{{{5}}}]] }}</small></table><noinclude>{{توضیحات}}</noinclude>
| content = border: 1px solid #f28500;
| style = border: 1px solid #f4c430;
| move = border: 1px solid #9932cc;
| protection = border: 2px solid #bba;
| notice <!-- notice = default -->
| #default = border: 1px solid #aaa;
}} {{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[Image:Imbox speedy deletion.png|40x40px]]
| delete = [[Image:Imbox deletion.png|40x40px]]
| content = [[Image:Imbox content.png|40x40px]]
| style = [[Image:Imbox style.png|40x40px]]
| move = [[Image:Imbox move.png|40x40px]]
| protection = [[Image:Imbox protection.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Image:Information icon.svg|40x40px]]
}}
}}</td>
}}
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
}}
</tr>
</table><noinclude>
 
{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude><noinclude>{{pp-template}}</noinclude>