Templat:Mbox/core Lihat riwayat

(Copy from mediawiki Template:Mbox/core)
 
(Added new editor.png)
 
(24 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
<table class="metadata plainlinks mbox {{#switch:{{{small|}}}
<table style="
| left = mbox-small-left
  border: 1px solid rgb(170, 170, 170);
}} {{#switch:{{{type|}}}
   margin: 4px 5%;
| speedy    =
   border-collapse: collapse;
| critical   = mbox-critical
   background: none repeat scroll 0% 0% rgb(249, 249, 249);
| delete
{{{style|}}}">
| important  = mbox-important
| warning   
| content    = mbox-warning
| caution   
| style      = mbox-caution
| notice    = mbox-notice
| move      = mbox-move
| protection = mbox-protection
| notice
| license   = mbox-license
| #default   = <!-- no type colours -->
}}" style="{{{style|}}}">
<tr>
<tr>
{{#switch:{{{image|}}}
{{#switch:{{{image|}}}
| none = <td class="mbox-empty-cell"></td>  <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
| none = <td class="mbox-empty-cell"></td>  <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
| #default =  
| #default =  
   <td class="mbox-image">{{
   <td style="
  border: medium none;
  padding: 2px 0px 2px 0.9em;
  text-align: center;
">{{
   #switch:{{{small|}}}
   #switch:{{{small|}}}
   | left = <!-- Don't use the DIV -->  
   | left = <!-- Don't use the DIV -->  
Baris 29: Baris 21:
   | {{{image}}}
   | {{{image}}}
   | [[File:{{#if: {{{filename|}}} | {{{filename}}} | {{#switch:{{{type|}}}
   | [[File:{{#if: {{{filename|}}} | {{{filename}}} | {{#switch:{{{type|}}}
     | critical   = Ambox warning pn.svg
     | critical     = Mbox warning.png
     | important  = Ambox warning pn.svg
     | warning      = mbox warning yellow.png
     | warning   = Ambox important.svg
     | important   = Mbox important.png
     | caution   = Edit-clear.svg
     | caution     = Mbox caution.png
     | move       = Ambox move.png
    | speculation  = Mbox speculation.png
     | protection = Ambox protection.png
     | move         = Mbox move.png
     | license = Imbox license.png
     | protection   = Mbox protection.png
     | notice         <!-- notice = default -->
     | license     = Mbox license.png
     | #default   = Information icon4.svg
    | construction = Mbox construction yellow.png
    | neweditor    = Mbox new editor.png
    | mail        = Mbox mail.png
    | forum        = Gnome-system-users.svg.png
    | cleanup      = Edit-clear.png
     | notice       <!-- notice = default -->
     | #default     = Mbox information.png
     }} }} | {{#switch:{{{small|}}}  
     }} }} | {{#switch:{{{small|}}}  
       | left = 20x20px  
       | left = 20x20px  
Baris 47: Baris 45:
   }}</td>
   }}</td>
}}
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
<td style="
  width: 100%;
  border: medium none;
  padding: 0.25em 0.9em;
{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| {{#ifeq:{{{imageright|}}}|none
Baris 59: Baris 61:
</tr>
</tr>
</table><noinclude>
</table><noinclude>
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
{{Documentation|content=This subtemplate supports the default values of {{tl|Mbox}}. It should not be altered without review from a Wiki Expert. Contact one through the [http://www.waze.com/forum/viewforum.php?f=276 Wiki Updates and Discussion forum.]}}
 
<!-- This category is only for the template itself -->
 
[[Category:Template:Mbox]]
 
</noinclude>
</noinclude>

Revisi terkini sejak 15 November 2014 09.17