الگو:Infobox Power Supply: تفاوت میان نسخه‌ها

از ویکی لاله زار آنلاین
صفحه‌ای تازه حاوی «<table class="wikitable" style="width: 300px; float: left; margin: 0 0 1em 1em; clear: left; text-align: right; font-size: 90%; line-height: 1.5em;"> {{#if:{{{title|}}}| <tr> <th colspan="2" style="background-color: #f2f2f2; text-align: center; font-size: 110%;">{{{title}}}</th> </tr> }} {{#if:{{{image|}}}| <tr> <td colspan="2" style="text-align: center; padding: 10px;"> پرونده:{{{image}}}|frameless|ce...» ایجاد کرد
 
بدون خلاصۀ ویرایش
 
(یک نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<table class="wikitable" style="width: 300px; float: left; margin: 0 0 1em 1em; clear: left; text-align: right; font-size: 90%; line-height: 1.5em;">
<includeonly><table class="infobox" style="width: 100%; clear: both; margin: 1em 0; border: 1px solid #a2a9b1; background-color: #f8f9fa; border-collapse: collapse; direction: rtl; text-align: right; font-size: 90%;">
  {{#if:{{{title|}}}|
<tr>
  <tr>
<th colspan="2" style="background-color: #ced4da; text-align: center; font-size: 120%; padding: 0.5em;">{{{name|نام منبع تغذیه}}}</th>
    <th colspan="2" style="background-color: #f2f2f2; text-align: center; font-size: 110%;">{{{title}}}</th>
</tr>
  </tr>
{{#if:{{{image|}}}|
  }}
<tr>
  {{#if:{{{image|}}}|
<td colspan="2" style="text-align: center; padding: 0.5em;">[[پرونده:{{{image}}}|300px|center]]{{#if:{{{image_caption|}}}|<br/>''{{{image_caption}}}''}}</td>
  <tr>
</tr>
    <td colspan="2" style="text-align: center; padding: 10px;">
}}
      [[پرونده:{{{image}}}|frameless|center|250px]]
{{#if:{{{manufacturer|}}}|
      {{#if:{{{caption|}}}|<br/><span style="font-size: 85%; color: #555;">{{{caption}}}</span>}}
<tr>
    </td>
<th style="background-color: #e9ecef; width: 25%; padding: 0.4em; border-bottom: 1px solid #dee2e6;">سازنده</th>
  </tr>
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{manufacturer}}}</td>
  }}
</tr>
 
}}
  <!-- مشخصات عمومی -->
{{#if:{{{series|}}}|
  {{#if:{{{brand|}}}{{{series|}}}{{{model|}}}{{{part_number|}}}{{{type|}}}|
<tr>
  <tr><th colspan="2" style="background-color: #e6f2ff; text-align: center;">مشخصات عمومی</th></tr>
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">سری/خانواده</th>
  }}
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{series}}}</td>
  {{#if:{{{brand|}}}|<tr><th style="width: 40%; background-color: #f9f9f9;">برند</th><td>{{{brand}}}</td></tr>}}
</tr>
  {{#if:{{{series|}}}|<tr><th style="background-color: #f9f9f9;">سری/خانواده</th><td>{{{series}}}</td></tr>}}
}}
  {{#if:{{{model|}}}|<tr><th style="background-color: #f9f9f9;">مدل</th><td>{{{model}}}</td></tr>}}
{{#if:{{{type|}}}|
  {{#if:{{{part_number|}}}|<tr><th style="background-color: #f9f9f9;">کد فنی (Part Number)</th><td>{{{part_number}}}</td></tr>}}
<tr>
  {{#if:{{{type|}}}|<tr><th style="background-color: #f9f9f9;">نوع منبع تغذیه</th><td>{{{type}}}</td></tr>}}
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">نوع تکنولوژی</th>
 
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{type}}}</td>
  <!-- مشخصات ورودی -->
</tr>
  {{#if:{{{input_voltage|}}}{{{input_freq|}}}{{{input_current|}}}{{{inrush_current|}}}{{{efficiency|}}}|
}}
  <tr><th colspan="2" style="background-color: #e6f2ff; text-align: center;">مشخصات ورودی (Input)</th></tr>
{{#if:{{{input_voltage|}}}|
  }}
<tr>
  {{#if:{{{input_voltage|}}}|<tr><th style="background-color: #f9f9f9;">ولتاژ ورودی</th><td dir="auto">{{{input_voltage}}}</td></tr>}}
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">ولتاژ ورودی</th>
  {{#if:{{{input_freq|}}}|<tr><th style="background-color: #f9f9f9;">فرکانس شبکه</th><td dir="auto">{{{input_freq}}}</td></tr>}}
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{input_voltage}}}</td>
  {{#if:{{{input_current|}}}|<tr><th style="background-color: #f9f9f9;">جریان نامی ورودی</th><td dir="auto">{{{input_current}}}</td></tr>}}
</tr>
  {{#if:{{{inrush_current|}}}|<tr><th style="background-color: #f9f9f9;">جریان هجومی (Inrush)</th><td dir="auto">{{{inrush_current}}}</td></tr>}}
}}
  {{#if:{{{efficiency|}}}|<tr><th style="background-color: #f9f9f9;">راندمان (Efficiency)</th><td dir="auto">{{{efficiency}}}</td></tr>}}
{{#if:{{{output_voltage|}}}|
 
<tr>
  <!-- مشخصات خروجی -->
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">ولتاژ خروجی</th>
  {{#if:{{{output_voltage|}}}{{{output_current|}}}{{{output_power|}}}{{{voltage_adj|}}}{{{ripple|}}}|
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{output_voltage}}}</td>
  <tr><th colspan="2" style="background-color: #e6f2ff; text-align: center;">مشخصات خروجی (Output)</th></tr>
</tr>
  }}
}}
  {{#if:{{{output_voltage|}}}|<tr><th style="background-color: #f9f9f9;">ولتاژ خروجی</th><td dir="auto">{{{output_voltage}}}</td></tr>}}
{{#if:{{{output_power|}}}|
  {{#if:{{{output_current|}}}|<tr><th style="background-color: #f9f9f9;">جریان خروجی</th><td dir="auto">{{{output_current}}}</td></tr>}}
<tr>
  {{#if:{{{output_power|}}}|<tr><th style="background-color: #f9f9f9;">توان خروجی</th><td dir="auto">{{{output_power}}}</td></tr>}}
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">توان خروجی</th>
  {{#if:{{{voltage_adj|}}}|<tr><th style="background-color: #f9f9f9;">بازه تنظیم ولتاژ</th><td dir="auto">{{{voltage_adj}}}</td></tr>}}
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{output_power}}}</td>
  {{#if:{{{ripple|}}}|<tr><th style="background-color: #f9f9f9;">ریپل و نویز</th><td dir="auto">{{{ripple}}}</td></tr>}}
</tr>
 
}}
  <!-- سیستم‌های حفاظتی -->
{{#if:{{{output_current|}}}|
  {{#if:{{{protection_scp|}}}{{{protection_ovp|}}}{{{protection_olp|}}}{{{protection_otp|}}}|
<tr>
  <tr><th colspan="2" style="background-color: #e6f2ff; text-align: center;">حفاظت‌ها (Protections)</th></tr>
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">جریان خروجی</th>
  }}
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{output_current}}}</td>
  {{#if:{{{protection_scp|}}}|<tr><th style="background-color: #f9f9f9;">اتصال کوتاه (SCP)</th><td>{{{protection_scp}}}</td></tr>}}
</tr>
  {{#if:{{{protection_ovp|}}}|<tr><th style="background-color: #f9f9f9;">اضافه ولتاژ (OVP)</th><td>{{{protection_ovp}}}</td></tr>}}
}}
  {{#if:{{{protection_olp|}}}|<tr><th style="background-color: #f9f9f9;">اضافه بار (OLP)</th><td>{{{protection_olp}}}</td></tr>}}
{{#if:{{{efficiency|}}}|
  {{#if:{{{protection_otp|}}}|<tr><th style="background-color: #f9f9f9;">اضافه دما (OTP)</th><td>{{{protection_otp}}}</td></tr>}}
<tr>
 
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">راندمان</th>
  <!-- مشخصات فیزیکی و محیطی -->
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{efficiency}}}</td>
  {{#if:{{{mounting|}}}{{{cooling|}}}{{{dimensions|}}}{{{weight|}}}{{{operating_temp|}}}{{{ip_rating|}}}|
</tr>
  <tr><th colspan="2" style="background-color: #e6f2ff; text-align: center;">فیزیکی و محیطی</th></tr>
}}
  }}
{{#if:{{{protection|}}}|
  {{#if:{{{mounting|}}}|<tr><th style="background-color: #f9f9f9;">نحوه نصب</th><td>{{{mounting}}}</td></tr>}}
<tr>
  {{#if:{{{cooling|}}}|<tr><th style="background-color: #f9f9f9;">سیستم خنک‌کننده</th><td>{{{cooling}}}</td></tr>}}
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">حفاظت‌ها</th>
  {{#if:{{{dimensions|}}}|<tr><th style="background-color: #f9f9f9;">ابعاد (W×H×D)</th><td dir="auto">{{{dimensions}}}</td></tr>}}
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{protection}}}</td>
  {{#if:{{{weight|}}}|<tr><th style="background-color: #f9f9f9;">وزن تقریبی</th><td dir="auto">{{{weight}}}</td></tr>}}
</tr>
  {{#if:{{{operating_temp|}}}|<tr><th style="background-color: #f9f9f9;">دمای کاری</th><td dir="auto">{{{operating_temp}}}</td></tr>}}
}}
  {{#if:{{{ip_rating|}}}|<tr><th style="background-color: #f9f9f9;">درجه حفاظت (IP)</th><td>{{{ip_rating}}}</td></tr>}}
{{#if:{{{mounting_type|}}}|
</table>
<tr>
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">نحوه نصب</th>
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{mounting_type}}}</td>
</tr>
}}
{{#if:{{{cooling_system|}}}|
<tr>
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">سیستم خنک‌کننده</th>
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{cooling_system}}}</td>
</tr>
}}
{{#if:{{{operating_temp|}}}|
<tr>
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">دمای کاری</th>
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{operating_temp}}}</td>
</tr>
}}
{{#if:{{{communication|}}}|
<tr>
<th style="background-color: #e9ecef; padding: 0.4em; border-bottom: 1px solid #dee2e6;">پروتکل ارتباطی</th>
<td style="padding: 0.4em; border-bottom: 1px solid #dee2e6;">{{{communication}}}</td>
</tr>
}}
{{#if:{{{standards|}}}|
<tr>
<th style="background-color: #e9ecef; padding: 0.4em;">استانداردها</th>
<td style="padding: 0.4em;">{{{standards}}}</td>
</tr>
}}
</table></includeonly><noinclude>
{{توضیحات الگو}}
</noinclude>

نسخهٔ کنونی تا ۱۹ آوریل ۲۰۲۶، ساعت ۰۸:۱۸