Difference between revisions of "Template:Ombox/core"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Import from Wikipedia (CC BY-SA license))
 
m (Change an image)
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
| move      = ombox-move
 
| move      = ombox-move
 
| protection = ombox-protection
 
| protection = ombox-protection
 +
| warning  = ombox-warning
 +
| system    = ombox-system
 
| notice          <!-- notice = default -->
 
| notice          <!-- notice = default -->
 
| #default  = ombox-notice
 
| #default  = ombox-notice
Line 17: Line 19:
 
   | {{{image}}}
 
   | {{{image}}}
 
   | [[Image:{{#switch:{{{type|}}}
 
   | [[Image:{{#switch:{{{type|}}}
     | speedy    = Imbox speedy deletion.png
+
     | speedy    = Ambox warning pn.svg
     | delete    = Imbox deletion.png
+
     | delete    = Ambox warning pn.svg
     | content    = Imbox content.png
+
     | content    = Warning.svg
     | style      = Edit-clear.svg
+
     | style      = Notice.svg
     | move      = Imbox move.png
+
     | move      = Notice.svg
     | protection = Imbox protection.png
+
     | protection = Notice.svg
 +
    | warning  = Warning.svg
 +
    | system          <!-- system = default -->
 
     | notice          <!-- notice = default -->
 
     | notice          <!-- notice = default -->
     | #default  = Imbox notice.png
+
     | #default  = Notice.svg
 
     }} | {{#ifeq:{{{small|}}}|yes
 
     }} | {{#ifeq:{{{small|}}}|yes
 
     | 30x30px
 
     | 30x30px
Line 48: Line 52:
 
| move
 
| move
 
| protection
 
| protection
 +
| warning
 +
| system
 
| notice    =    <!-- Do nothing, valid "type" -->
 
| 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 -->
 
| #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 -->

Latest revision as of 20:48, 1 June 2015

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Ombox/core

This is the {{Ombox/core}} sub-template.

Do not use this template directly; use {{Ombox}} instead.

This template is called by {{Ombox}}. It holds most of the code for {{Ombox}}, while {{Ombox}} itself performs parameter preprocessing.

For more documentation, see {{Ombox}}.