الگو:جعبه اطلاعات: تفاوت میان نسخه‌ها

از شهر داستان‌نویسان گالیمالوا
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۱: خط ۱:
<!-- نکته مهم: کلاس infobox-universal باعث اعمال استایل سمت چپ می‌شود -->
<table class="infobox-universal">
<table class="infobox-universal">
      
      
     <!-- ردیف عنوان -->
     <!-- ردیف عنوان -->
     <tr>
     <tr>
         <th colspan="2" style="background-color: #b0c4de; text-align: center; padding: 0.5em;">
         <th colspan="2" style="background-color: #b0c4de; text-align: center; padding: 0.5em; color: black;">
             {{{نام|}}}
             {{{نام|}}}
         </th>
         </th>
خط ۱۱: خط ۱۲:
     {{#if:{{{تصویر|}}}|
     {{#if:{{{تصویر|}}}|
     <tr>
     <tr>
         <td colspan="2" style="text-align: center; padding: 10px;">
         <td colspan="2" style="text-align: center; padding: 10px; background: #fff;">
             [[File:{{{تصویر}}}|290px|alt={{{نام}}}]]
             [[File:{{{تصویر}}}|280px|alt={{{نام}}}]]
         </td>
         </td>
     </tr>
     </tr>
     }}
     }}


     <!-- ردیف توضیح -->
     <!-- ردیف توضیح تصویر -->
     {{#if:{{{توضیح|}}}|
     {{#if:{{{توضیح|}}}|
     <tr>
     <tr>
خط ۲۹: خط ۳۰:
     {{#if:{{{اطلاعات1|}}}|
     {{#if:{{{اطلاعات1|}}}|
     <tr>
     <tr>
         <td style="background-color: #eef; font-weight: bold; width: 35%;">{{{عنوان1|}}}</td>
         <td class="infobox-label">{{{عنوان1|}}}</td>
         <td>{{{اطلاعات1|}}}</td>
         <td>{{{اطلاعات1|}}}</td>
     </tr>
     </tr>
خط ۳۷: خط ۳۸:
     {{#if:{{{اطلاعات2|}}}|
     {{#if:{{{اطلاعات2|}}}|
     <tr>
     <tr>
         <td style="background-color: #eef; font-weight: bold; width: 35%;">{{{عنوان2|}}}</td>
         <td class="infobox-label">{{{عنوان2|}}}</td>
         <td>{{{اطلاعات2|}}}</td>
         <td>{{{اطلاعات2|}}}</td>
     </tr>
     </tr>
خط ۴۵: خط ۴۶:
     {{#if:{{{اطلاعات3|}}}|
     {{#if:{{{اطلاعات3|}}}|
     <tr>
     <tr>
         <td style="background-color: #eef; font-weight: bold; width: 35%;">{{{عنوان3|}}}</td>
         <td class="infobox-label">{{{عنوان3|}}}</td>
         <td>{{{اطلاعات3|}}}</td>
         <td>{{{اطلاعات3|}}}</td>
     </tr>
     </tr>
خط ۵۳: خط ۵۴:
     {{#if:{{{اطلاعات4|}}}|
     {{#if:{{{اطلاعات4|}}}|
     <tr>
     <tr>
         <td style="background-color: #eef; font-weight: bold; width: 35%;">{{{عنوان4|}}}</td>
         <td class="infobox-label">{{{عنوان4|}}}</td>
         <td>{{{اطلاعات4|}}}</td>
         <td>{{{اطلاعات4|}}}</td>
     </tr>
     </tr>
خط ۶۱: خط ۶۲:
     {{#if:{{{اطلاعات5|}}}|
     {{#if:{{{اطلاعات5|}}}|
     <tr>
     <tr>
         <td style="background-color: #eef; font-weight: bold; width: 35%;">{{{عنوان5|}}}</td>
         <td class="infobox-label">{{{عنوان5|}}}</td>
         <td>{{{اطلاعات5|}}}</td>
         <td>{{{اطلاعات5|}}}</td>
     </tr>
     </tr>

نسخهٔ ۲۷ فوریهٔ ۲۰۲۶، ساعت ۱۷:۱۱