Strict Standards: (assassin) Declaration of SSLAuthPlugin::modifyUITemplate() should be compatible with AuthPlugin::modifyUITemplate(&$template, &$type) in /afs/athena.mit.edu/activity/a/assassin/web_scripts/wiki/extensions/SSLAuthPlugin.php on line 47

Strict Standards: (assassin) Declaration of SSLAuthPlugin::setPassword() should be compatible with AuthPlugin::setPassword($user, $password) in /afs/athena.mit.edu/activity/a/assassin/web_scripts/wiki/extensions/SSLAuthPlugin.php on line 47

Strict Standards: (assassin) Declaration of SSLAuthPlugin::initUser() should be compatible with AuthPlugin::initUser(&$user, $autocreate = false) in /afs/athena.mit.edu/activity/a/assassin/web_scripts/wiki/extensions/SSLAuthPlugin.php on line 47

Deprecated: (assassin) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/activity/a/assassin/web_scripts/wiki/includes/Sanitizer.php on line 1550

Deprecated: (assassin) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/activity/a/assassin/web_scripts/wiki/includes/Sanitizer.php on line 1550

Deprecated: (assassin) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/activity/a/assassin/web_scripts/wiki/includes/Sanitizer.php on line 1550
Template:Mbox/core - Assassin Wiki

Template:Mbox/core

From Assassin Wiki
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
(disable images for now)
 
Line 18: Line 18:
 
}}" style="{{{style|}}}">
 
}}" style="{{{style|}}}">
 
<tr>
 
<tr>
{{#switch:{{{image|}}}
+
<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 =
+
  <td class="mbox-image">{{
+
  #switch:{{{small|}}}
+
  | left = <!-- Don't use the DIV -->
+
  | #default = <div style="width: {{{imagewidth||52px}}};">
+
  }}
+
  {{#if:{{{image|}}}
+
  | {{{image}}}
+
  | [[File:{{#switch:{{{type|}}}
+
    | critical  = Ambox speedy deletion.png
+
    | important  = Ambox deletion.png
+
    | warning    = Ambox content.png
+
    | caution    = Edit-clear.svg
+
    | move      = Ambox move.png
+
    | protection = Ambox protection.png
+
    | license = Imbox license.png
+
    | notice          <!-- notice = default -->
+
    | #default  = Ambox notice.png
+
    }} | {{#switch:{{{small|}}}
+
      | left = 20x20px
+
      | #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="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}

Latest revision as of 06:54, 31 January 2012

[create] 50px Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox