Шаблон:Ombox — различия между версиями
Wikiadmin (обсуждение | вклад) (Новая страница: «<table class="metadata plainlinks ombox {{#switch:{{{small|}}} | left = mbox-small-left }} " style="{{{style|}}}margin:0 10% 1.5em;border:1px solid #AAAAAA;{{#swi…») |
Wikiadmin (обсуждение | вклад) м (Защищена страница «Шаблон:Ombox» ([Редактирование=<protect-level-moderator>] (бессрочно) [Переименование=<protect-level-moderator>] (бессрочно))) |
(нет различий)
|
Текущая версия на 11:05, 14 мая 2015
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
History
This is the {{ombox}} or other pages message box meta-template.
It is used to build generic-looking message box templates such as {{historical}}. It should be used in instances where {{ambox}} does not suffice, which is usually on pages outside of the Main namespace (such as policy and help pages).
This template is a derived work. It is, however, NOT exactly the same as Wikipedia's template of the same name! All CSS has been integrated into the template, and therefore some features are not available. However it is still a very useful template!
Usage
Example to display a notice:
{{ombox | text = Hello world! }}
The code above should return:
Hello world! |
Changing the image
You can change the image by applying the | image
parameter. For example, you could add [[Image:Historical.svg|30px|left]] to change the icon into an archive icon.
See also
- Template:Ambox — for article message boxes