Template:Ombox/doc: Difference between revisions
meta>Davidgothberg Added two real world examples. Added and changed some wording. "other spaces" -> "other pages". |
meta>Davidgothberg →Special: Minor wording fix: Changed "not" to italics. |
||
Line 62: | Line 62: | ||
| image = [[Image:Nutshell.png|30px]] | | image = [[Image:Nutshell.png|30px]] | ||
| text = | | text = | ||
'''This page in a nutshell:''' This template is used to build message boxes for all pages that are not articles, talk pages, image pages or category pages. | '''This page in a nutshell:''' This template is used to build message boxes for all pages that are ''not'' articles, talk pages, image pages or category pages. | ||
}} | }} | ||
Revision as of 01:18, 30 May 2008
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. |
This is the {{ombox}} or other pages message box meta-template.
It is used to build message box templates for other pages than those covered by {{ambox}}, {{tmbox}}, {{imbox}} and {{cmbox}}. That is, to build message boxes for all pages that are not articles, talk pages, image pages or category pages.
This template works exactly like {{imbox}} and uses the same parameters, see full documentation there.
Suggested style standard
The styles of "other pages" message boxes and the usage of this template is currently being standardised and discussed on the talk page of this template. Thus don't use this meta-template for real message boxes yet, but feel free to use it for testing. Discussions that lead to the creation of this template is available at the talk page of imbox.
Other pages message box types
These are the colours and styles that this meta-template currently produces. When this template is used to build actual message boxes they should contain the same (long) texts as before, with links to explanations and they can use more specific images than the default images shown here.
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}} should perhaps use this type. |
type=notice – Notices and messages of any kind, both permanent and temporary. Such as {{guideline}} and {{how-to}}. |
type=move – Merge, split, rename and transwiki messages and proposals. |
type=protection – Protection templates such as {{pp-protected}} when shown on "other pages". |
To discuss these boxes and to see or make other examples go to the talk page.
Special
Some other examples:
This page documents an English Wikipedia guideline. It is a generally accepted standard that editors should follow, though it should be treated with common sense and the occasional exception. When editing this page, please ensure that your revision reflects consensus. When in doubt, discuss on the talk page. |
This page in a nutshell: This template is used to build message boxes for all pages that are not articles, talk pages, image pages or category pages. |
Technical details
This template currently might use hard coded styles. Later it will use CSS classes enabling it to be skinned.
See also
- {{ambox}} – The meta-template for article message boxes.
- {{tmbox}} – The meta-template for talk page message boxes.
- {{imbox}} – The meta-template for image page message boxes.
- {{cmbox}} – The meta-template for category message boxes.
- {{mbox}} – The meta-template with namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.