Template:MessageBox: Difference between revisions
From HPC Wiki
(https://wiki.gentoo.org/wiki/Template:MessageBox) |
m (Protected "Template:MessageBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
Latest revision as of 10:04, 16 December 2016
{{{1}}}
{{{2}}}
[edit]
Documentation
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
Use this template to display a generic message box.
Important
For your articles, you should prefer using one of the following templates: {{Note}}, {{Important}}, or {{Warning}}.
For your articles, you should prefer using one of the following templates: {{Note}}, {{Important}}, or {{Warning}}.
Parameters
- 1. unnamed
- Add text or an image to the top-left heading box.
- 2. unnamed
- Add text to the main area.
- color (optional)
- Border color of the box and background color of the top-left heading box.
- bgcol (optional)
- Background color of the box.
- titlecol (optional)
- Text color of the top-left heading box.
Usage
See the template's testcases: Template:MessageBox/testcases
See also
Note
The above documentation is transcluded from Template:MessageBox/doc. (edit | history)
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.
The above documentation is transcluded from Template:MessageBox/doc. (edit | history)
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.