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

از دانشنامه الکترونیکی زنان
پرش به ناوبری پرش به جستجو
(صفحه‌ای تازه حاوی «<div class="hproduct"> <table class="fileinfotpl-type-information toccolours vevent" style="width: 100%;" cellpadding="4"> <!-- Descriptio...» ایجاد کرد)
 
 
(۴ نسخهٔ میانیِ همین کاربر نمایش داده نشده است)
سطر ۱: سطر ۱:
<div class="hproduct">
<table class="metadata plainlinks ambox
<table class="fileinfotpl-type-information toccolours vevent" style="width: 100%;" cellpadding="4">
{{#switch:{{{type|}}}
 
| speedy    = ambox-speedy
<!-- Description -->
| delete        <!-- delete = serious -->
<tr style="vertical-align: top">
| serious    = ambox-delete
<td {{ #if: {{{description|{{{Description|}}} }}} | id="fileinfotpl_desc" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-description}}</td>
| content    = ambox-content
<td class="description">
| style      = ambox-style
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
| move          <!-- move = merge -->
</td>
| merge      = ambox-move
</tr>
| protection = ambox-protection
 
| notice        <!-- notice = default -->
<!-- Other fields 1 -->
| #default  = ambox-notice
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
}}" style="{{{style|}}}">
 
<tr>
<!-- Date -->
{{#ifeq:{{{image|}}}|none
<tr style="vertical-align: top">
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
<td {{ #if: {{{date|{{{Date|}}} }}} | id="fileinfotpl_date" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-date}}</td>
| <td class="ambox-image"><div style="width: 52px;">
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
  {{#ifeq:{{{image|}}}|blank
</tr>
  | &nbsp;
 
  | {{#if:{{{image|}}}
<!-- Source -->
    | {{{image}}}
<tr style="vertical-align: top">
    | {{#switch:{{{type|}}}
<td {{ #if: {{{source|{{{Source|}}} }}} | id="fileinfotpl_src" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-source}}</td>
      | speedy    = [[Image:Ambox deletion.png|40x40px]]
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
      | delete
</tr>
      | serious    = [[Image:Ambox deletion.png|40x40px]]
 
      | content    = [[Image:Imbox_content.png|40x40px]]
<!-- Author -->
      | style      = [[Image:Ambox style.png|40x40px]]
<tr style="vertical-align: top">
      | move
<td {{#if: {{{author|{{{Author|}}} }}} | id="fileinfotpl_aut" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-author}}</td>
      | merge      = [[Image:Ambox_move.png|40x40px]]
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
      | protection = [[Image:Ambox protection.png|40x40px]]
</tr>
      | notice          <!-- notice = default -->
 
      | #default  = [[Image:Ambox notice.png|40x40px]]
<!-- Permission -->
      }}
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
    }}
<tr style="vertical-align: top">
  }}</div></td>
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td>
}}
<td>
<td class="ambox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{{permission|{{{Permission|}}} }}}
{{#if:{{{imageright|}}}
</td>
| <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td>
</tr>
}}
}}
<!-- Other versions -->
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
|  =
| - =
| none =
| #default =
<tr style="vertical-align: top">
<td id="fileinfotpl_ver" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-other-versions}}</td>
<td>
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
</td>
</tr>
</tr>
}}
</table><noinclude>
 
<!-- Other fields -->
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}


</table>
{{pp-template|small=yes}}
</div><noinclude>
{{Documentation}}
{{documentation|Template:Information/doc}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

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

الگو:Pp-template