Vorlage:Ombox/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Davidgothberg
(→‎Other pages message box types: Slightly extended the explanation for the move type.)
imported>Davidgothberg
(Added two real world examples. Added and changed some wording. "other spaces" -> "other pages".)
Zeile 2: Zeile 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
__NOTOC__
This is the {{tl|ombox}} or '''other spaces message box''' meta-template.
This is the {{tl|ombox}} or '''other pages message box''' meta-template.


It is used to build message box templates for other pages than those covered by {{tl|ambox}}, {{tl|imbox}}, {{tl|cmbox}} and {{tl|tmbox}}.  
It is used to build message box templates for other pages than those covered by {{tl|ambox}}, {{tl|tmbox}}, {{tl|imbox}} and {{tl|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 {{tl|imbox}} and uses the same parameters, see full documentation there.  
This template works exactly like {{tl|imbox}} and uses the same parameters, see full documentation there.  
Zeile 46: Zeile 46:


To discuss these boxes and to see or make other examples go to the [[Template talk:Ombox|talk page]].
To discuss these boxes and to see or make other examples go to the [[Template talk:Ombox|talk page]].
=== Special ===
Some other examples:
{{ombox
| type      = notice
| image      = [[Image:Blue check.svg|30px]]
| imageright = {{shortcut|WP:SHORT}}
| text      =
'''This page documents an English Wikipedia [[Wikipedia:Policies and guidelines|guideline]].''' It is a generally accepted standard that editors should follow, though it should be treated with [[Wikipedia:Use common sense|common sense]] and the [[Wikipedia:Ignore all rules|occasional exception]]. When editing this page, please ensure that your revision reflects [[Wikipedia:Consensus|consensus]]. When in doubt, discuss on the [[{{TALKPAGENAME}}|talk page]].
}}
{{ombox
| type      = notice
| image      = [[Image:Nutshell.png|30px]]
| 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.
}}


=== Technical details ===
=== Technical details ===
Zeile 55: Zeile 73:
* {{tl|ambox}} – The meta-template for article message boxes.
* {{tl|ambox}} – The meta-template for article message boxes.
* {{tl|tmbox}} – The meta-template for talk page message boxes.
* {{tl|tmbox}} – The meta-template for talk page message boxes.
* {{tl|imbox}} – The meta-template for image space message boxes.
* {{tl|imbox}} – The meta-template for image page message boxes.
* {{tl|cmbox}} – The meta-template for category message boxes.
* {{tl|cmbox}} – The meta-template for category message boxes.



Version vom 30. Mai 2008, 03:15 Uhr

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.

To discuss these boxes and to see or make other examples go to the talk page.

Special

Some other examples:

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.