الگو:صفحه اصلی/قاب: تفاوت میان نسخه‌ها

از ویکی پاسخ
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۱۱ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<div class="{{{class|}}}" style="width: calc(100% - 2px); vertical-align: top; margin-bottom:16px; border: 1px solid #cedff2; display: table; ; border-radius: 10px; {{{style|}}}">
<div class="{{{class|}}}" style="box-shadow: 2px 4px 11px 0px #becbd5; border-radius: 10px; overflow: hidden; {{{style|}}};">
     <div class="heading" style="background-color: #d9ecff; border-top-left-radius: 8px; border-top-right-radius: 8px; display: table-row-group; {{{heading style|}}}">
     <div class="heading" style="overflow: hidden; background-color: #d9ecff; border-top-left-radius: 8px; border-top-right-radius: 8px; {{{heading style|}}}">
         {{#if: {{{تصویر|}}}|<div style="display: table-cell; width: 40px">[[image: {{{تصویر}}}|30px|link=|alt=]]</div>}} <h3 style="font-size: 130%; font-weight: bold; line-height: 40px; margin: 0; padding: 0px 20px; border: none; display: table-cell">{{{عنوان}}}</h3>
         {{#if: {{{تصویر|}}}|<div style="float: right; padding: 5px">[[image: {{{تصویر}}}|30px|link=|alt=]]</div>}}
        <h3 style="font-size: 130%; font-weight: bold; line-height: 40px; float: right; margin: 0; padding: 0px 20px; border: none; {{{heading text style|}}}">{{{عنوان}}}</h3>
     </div>
     </div>
     <div class="content" style="padding: .5em; vertical-align: top; display: table-row; {{{content style|}}}">
     <div class="content {{{content class|}}}" style="padding: 10px; vertical-align: top; {{{content style|}}}">
{{{محتوا}}}
{{{محتوا}}}{{#if: {{{پیوند|}}}|
         <div style="text-align: right">{{#if: {{{پیوند|}}}|{{{پیوند}}}}}</div>
         <div style="text-align: right">{{{پیوند}}}</div>}}
     </div>
     </div>
</div>
</div>

نسخهٔ کنونی تا ‏۵ مارس ۲۰۲۳، ساعت ۱۲:۴۶

{{{عنوان}}}

{{{محتوا}}}