Template:Ombox/doc
This is a documentation subpage for Template:Ombox It may contain usage information, categories and other content that is not part of the original template page. |
Template:Cascade-protected template Template:Used in system
This template uses Lua: |
Template:Mbox templates (small)
This is the {{Ombox }} ([O]ther pages [m]essage [box]) metatemplate.
It is used to build message box templates for pages of the types User, Draft, Wikipedia, MediaWiki, Template, Help, Portal and any new future namespaces; i.e. for page types not covered by {{Ambox }}, {{Tmbox }}, {{Imbox }} or {{Cmbox }}. Thus, it should not be used for boxes for articles, talk pages, image pages or category pages.
This template works almost exactly like {{Ambox }} and uses the same parameters.
Introduction[edit source]
Template:Anchor As noted above, this template should be used for message boxes that are not articles, talk pages, image pages or category pages. Some message boxes for other pages may incorrectly use one of those four mentioned. Feel free to convert any message boxes used on "other pages" to use this meta-template. If you find any tricky cases then list them on the talk page of this template and you'll get help.
When this template is used to build other pages message boxes those boxes should contain explanatory texts just like before. (The same texts as before or new improved texts.) If there are more specific images in the boxes or you know a better image, then use them instead of the default images shown here.
Usage[edit source]
Simple usage example:
<syntaxhighlight lang="wikitext">
Some text. |
</syntaxhighlight>
Some text. |
Complex example:
<syntaxhighlight lang="wikitext">
The message body text. |
</syntaxhighlight>
The message body text. |
Other pages message box types[edit source]
The following examples use different type parameters but use no image parameters; thus, they use the default images for each type.
type=speedy – Speedy deletion templates. |
type=delete – Deletion templates. |
type=content – Major warnings and problems, such as {{High-use }}. |
type=style – Minor warnings and problems. {{Intricate template }} should perhaps use this type. |
type=notice – Notices and messages of any kind, both permanent and temporary. Such as {{Guideline }} and {{Wikipedia how-to }}. |
type=move – Merge, split, rename and transwiki messages and proposals. |
type=protection – Protection templates such as {{Pp }} when shown on "other pages". |