Vorlage:Ombox/Doku: Unterschied zwischen den Versionen

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.