Pentru a putea vota, modifica pagini sau abona la modificările unei pagini trebuie să fiți autentificați. Cu această ocazie scăpați și de acest mesaj deranjant.

Format:ambox: Diferență între versiuni

De la l10n.ro
Salt la: navigare, căutare
(Pagină nouă: <table class="metadata plainlinks ambox {{#switch:{{{small|}}} | left = mbox-small-left }} {{#switch:{{{type|}}} | speedy = ambox-speedy | delete = ambox-delete | content =…)
 
Linia 1: Linia 1:
<table class="metadata plainlinks ambox {{#switch:{{{small|}}}
+
<center><table class="metadata plainlinks ambox  
| left = mbox-small-left
+
{{#switch:{{{tip|}}}
}} {{#switch:{{{type|}}}
+
| rapid      = ambox-speedy
| speedy     = ambox-speedy
+
| ştergere|şterge        <!-- ştergere = serios -->
| delete    = ambox-delete
+
| serios     = ambox-delete
| content    = ambox-content
+
| dubiu          <!-- dubiu = conţinut -->
| style      = ambox-style
+
| conţinut  = ambox-content
| move      = ambox-move
+
| stil      = ambox-style
| protection = ambox-protection
+
| mutare          <!-- mutare = unire -->
| notice    <!-- notice = default -->
+
| unire    = ambox-move
 +
| protejare  = ambox-protection
 +
| notificare        <!-- notificare = implicit -->
 
| #default  = ambox-notice
 
| #default  = ambox-notice
}}" style="{{{style|}}}">
+
}}" style="{{{style|}}};text-align:left;">
 
<tr>
 
<tr>
{{#switch:{{{image|}}}
+
{{#ifeq:{{{imagine|}}}|none
| blank    <!-- Fall back to "none", since deprecated. -->
+
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
| none = <td class="mbox-empty-cell"></td>  <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
+
| <td class="ambox-image"><div style="width: 52px;">
| #default =
+
  {{#ifeq:{{{imagine|}}}|blank
  <td class="mbox-image">{{
+
   | &nbsp;
  #switch:{{{small|}}}
+
   | {{#if:{{{imagine|}}}
  | left = <!-- Don't use the DIV -->
+
    | {{{imagine}}}
   | #default = <div style="width: 52px;">
+
    | {{#switch:{{{tip|}}}
  }}
+
      | rapid      = [[Image:Imbox speedy deletion.png|40x40px]]
   {{#if:{{{image|}}}
+
      | ştergere|şterge
  | {{{image}}}
+
      | serios     = [[Image:Imbox deletion.png|40x40px]]
  | [[File:{{#switch:{{{type|}}}
+
      | conţinut  = [[Image:Imbox content.png|40x40px]]
    | speedy    = Ambox speedy deletion.png
+
      | dubiu      = [[Image:Ambox question.png|40x40px]]
    | delete     = Ambox deletion.png
+
      | stil      = [[Image:Imbox style.png|40x40px]]
    | content   = Ambox content.png
+
      | mutare
    | style     = Edit-clear.svg
+
       | unire      = [[Image:Imbox move.png|40x40px]]
    | move       = Ambox move.png
+
      | protejare  = [[Image:Imbox protection.png|40x40px]]
    | protection = Ambox protection.png
+
      | notificare         <!-- notificare = implicit -->
    | notice         <!-- notice = default -->
+
      | #default  = [[Image:Imbox notice.png|40x40px]]
    | #default  = help.png
+
       }}
    }} | {{#switch:{{{small|}}}
+
    }}
      | left = 20x20px
+
  }}</div></td>
      | #default = 40x40px  
 
       }} |link=|alt=]]
 
  }}{{#switch:{{{small|}}}
 
  | left = <!-- Don't use the /DIV -->
 
  | #default = </div>  
 
  }}</td>
 
 
}}
 
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
+
<td class="ambox-text" style="{{{textstyle|}}}"> {{{mesaj}}}<br> {{#if:{{{text|}}}|<span style="font-size: 85%;">{{{text}}}</span>|}} </td>
{{#if:{{{imageright|}}}
+
{{#if:{{{imaginedreapta|}}}
| {{#ifeq:{{{imageright|}}}|none
+
| <td class="ambox-imageright"><div style="width: 52px;"> {{{imaginedreapta}}} </div></td>
  | <!-- No image. -->
+
}}</tr></table></center><noinclude>{{Pp-template|small=yes}}<br />
  | <td class="mbox-imageright">{{#switch:{{{small|}}}
 
    | left = {{{imageright}}}
 
    | #default = <div style="width: 52px;"> {{{imageright}}} </div>
 
    }}</td>
 
  }}
 
}}
 
</tr>
 
</table><!--
 
Detect and report usage with faulty "type" parameter:
 
-->{{#switch:{{{type|}}}
 
|   <!-- No type fed, is also valid input -->
 
| speedy
 
| delete
 
| content
 
| style
 
| move
 
| protection
 
| notice    = <!-- Do nothing, valid "type" -->
 
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
 
}}<!--
 
Detect and report usage of deprecated "image=blank":
 
-->{{#switch:{{{image|}}}
 
| blank = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
 
}}<noinclude>
 
{{pp-template}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Versiunea de la data 17 noiembrie 2009 17:33

Format:Pp-template