Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Mbox/doc: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
This is the '''Gallery and File message box''' template. It could be used to construct file and gallery message box templates.
This is used to create message boxes.


==Parameters==
==Parameters==
*text - The text to be displayed
*text - The text to be displayed.
*type - Changes the color depending on the message needed. Each has its own preset image
*type - Changes the color depending on the message needed. Each has its own preset image.
*image - Override the image
*image - Override the image.
*imageright - Show an image on the right side
*imageright - Show an image on the right side.
*textalign - Override default centering of text with left or right.
*textalign - Override default centering of text with left or right.
*style - Override in custom style overrides for the template using CSS.
*style - Override in custom style overrides for the template using CSS.
Line 59: Line 59:
|type=move
|type=move
}}
}}
<br>
 
{{mbox
The style is different on categories. It uses {{tl|cmbox}} instead.<includeonly>
|text=message - emulates {{tl|notice}}
|type=message
}}<includeonly>


[[Category:Message box templates|{{PAGENAME}}]]
[[Category:Message box templates|{{PAGENAME}}]]
</includeonly>
</includeonly>

Revision as of 06:02, 29 August 2010

This is used to create message boxes.

Parameters

  • text - The text to be displayed.
  • type - Changes the color depending on the message needed. Each has its own preset image.
  • image - Override the image.
  • imageright - Show an image on the right side.
  • textalign - Override default centering of text with left or right.
  • style - Override in custom style overrides for the template using CSS.

Examples

The style is different on categories. It uses {{Cmbox}} instead.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.