Template:Imbox

From Portals of Phereon Wiki
[view | edit | purge]Documentation

This template creates image or file messages boxes. It is uses {{Mbox}} that is based on Mbox on Wikipedia. Please see Mbox for installation instructions.

Usage[]

{{Imbox
| type  =
| small =
| id    =
| class =
| style =
| textstyle  =
| plainlinks =
| text  =
| issue =
| fix   =
| date  =
| info  =
| image =
| imageright
| doc =
| cat =
}}

Parameters[]

  • type
    • speedy - speedy delete message box
    • delete - delete message box
    • content - content message box
    • style - style message box
    • notice - general message box (default)
    • protection - protection message box
  • small - a small left floated message box
  • id - the id of the box
  • class - any additional classes for the box
  • style - any additional styles for the box
  • textstyle - any additional style for the text in the box
  • plainlinks - if you want all external links to be plain links
  • text - text of the message box or use the following together
    • issue - the issue of the message box
    • fix - how to fix the message issue
  • date - the date the box was placed
  • info - more information about the issue
  • image - image in the left side of the message box.
  • imageright - image in the right side of the message box.
  • doc - answer yes to this when you are using your Imbox template on a documentation page, the documentation will not be categorized.
  • cat - this is the category your Imbox will put the pages in where it is used.

Boxen[]

All options are not shown.

This wiki has instant commons. If you want these images, your wiki's admin will have to request instant commons or you will have to upload the images manually.

This is an image or file speedy deletion message box.
{{Imbox
| type  = speedy
| text  = This is an image or file speedy deletion message box.
| image = [[File:Ambox warning pn.svg|50px]]
| cat = Files for speedy deletion
}}
This is an image or file deletion message box.
{{Imbox
| type  = delete
| text  = This is an image or file deletion message box.
| image = [[File:Ambox warning pn.svg|50px]]
| cat = Files for deletion
}}
This file has a content issue. This is the fix. (April 2024)
More information:
{{Imbox
| type  = content
| issue = '''This file has a content issue.'''
| fix   = This is the fix.
| date  = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| info  = More information: 
| image = [[File:Ambox_warning_orange.svg|50px]]
}}
This file has a style issue. This is the fix. (April 2024)
More information:
{{Imbox
| type  = style
| issue = '''This file has a style issue.'''
| fix   = This is the fix.
| date  = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| info  = More information: 
| image = [[File:Ambox_warning_yellow.svg|50px]]
}}
This is an image or file general message box.
{{Imbox
| type  = notice
| text  = This is an image or file general message box.
| image = [[File:Ambox_warning_blue.svg|50px]]
}}
This is an image or file move or merge message box.
{{Imbox
| type  = move
| text  = This is an image or file move or merge message box.
| image = [[File:Merge-split-transwiki_default.svg|50px]]
}}
This is an image or file protection message box.
{{Imbox
| type  = protection
| text  = This is an image or file protection message box.
| image = [[File:Padlock.svg|50px]]
| cat = Protected files
}}

Small box[]

This is a small image general message box.

This is a message box that can be used to highlight minor issues with the image or documentation of it. It is suggested to use a normal box for bigger problems with the image. Text can flow around this box, so if you do not want text beside the box, you should use the <div style="clear:both"></div> directly after the box.

Here is the code for the above box.

{{Imbox
| small = yes
| type  = notice
| text  = This is a small image general message box.
}}

See also[]

  • {{Ambox}} - article message box
  • {{Cmbox}} - category message box
  • {{Xmbox}} - template message box
  • {{Tmbox}} - talk page message box
  • {{Fmbox}} - footer and header message box
  • {{Ombox}} - all other pages message box
[view | edit | purge]The above documentation is transcluded fromTemplate:Imbox/doc.