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

از ویکی لاله زار آنلاین
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۱: خط ۱:
<includeonly>
<includeonly>{| class="infobox" style="width: 22em; border: 1px solid #a2a9b1; background-color: #f8f9fa; padding: 5px; float: left; margin: 0.5em 0 0.5em 1em; clear: left;"
{| class="infobox" style="width:300px; font-size:90%; border:1px solid #ccc; background:#f9f9f9; direction:rtl; text-align:right;"
|-
|-
! colspan="2" style="background:#e6e6e6; text-align:center; padding:8px;" | {{{title|PLC}}}
! colspan="2" style="text-align: center; font-size: 125%; font-weight: bold; background-color: #d3e1f2; padding: 5px;" | {{{title|{{PAGENAME}}}}}
 
{{#if: {{{image|}}} |
|-
|-
| colspan="2" style="text-align:center; padding:6px;" |
{{#if:{{{image|}}}|
[[File:{{{image}}}|250px|center|alt={{{image_caption|}}}]]
{{!}} colspan="2" style="text-align: center; padding: 10px 0;" {{!}} [[File:{{{image}}}|frameless|250px]]
{{#if:{{{caption|}}}| <br/><div style="font-size: 90%; color: #555;">{{{caption}}}</div> }}
}}
}}
 
|}</includeonly><noinclude>
{{#if: {{{image_caption|}}} |
== راهنمای استفاده ==
|-
برای استفاده از این الگو، کد زیر را در صفحه مورد نظر کپی کرده و مقادیر را پر کنید:
| colspan="2" style="text-align:center; font-size:80%; color:#555;" |
<pre dir="ltr">
{{{image_caption}}}
{{Infobox PLC
| title  =
| image  =
| caption =  
}}
}}
|}
</pre>
</includeonly>
</noinclude>

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

راهنمای استفاده

برای استفاده از این الگو، کد زیر را در صفحه مورد نظر کپی کرده و مقادیر را پر کنید:

{{Infobox PLC
| title   = 
| image   = 
| caption = 
}}