Difference between revisions of "Template:Template:Ombox"
Jump to navigation
Jump to search
sc4e>Freedo50 |
m (7 revisions imported) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
{{pp-template}} | {{pp-template}} | ||
− | This is a template which defines a syle for Other message boxes, i.e. pages using the {{[[ | + | This is a template which defines a syle for Other message boxes, i.e. pages using the {{[[Template:Mbox|Mbox]]}} tag which aren't article, category, talk, or image pages. |
<pre>{{ombox | <pre>{{ombox | ||
Line 24: | Line 24: | ||
==Example== | ==Example== | ||
{{ombox|text= Lorem ipsum dolor si amet}} | {{ombox|text= Lorem ipsum dolor si amet}} | ||
+ | |||
+ | === Other pages message box types === | ||
+ | |||
+ | The following examples use different '''type''' parameters but use no image parameters thus they use the default images for each type. | ||
+ | |||
+ | {{ombox | ||
+ | | type = speedy | ||
+ | | text = type=<u>speedy</u> – Speedy deletion templates. | ||
+ | }} | ||
+ | {{ombox | ||
+ | | type = delete | ||
+ | | text = type=<u>delete</u> – Deletion templates. | ||
+ | }} | ||
+ | {{ombox | ||
+ | | type = content | ||
+ | | text = type=<u>content</u> – Major warnings and problems, such as {{[[Template:Inappropriate_content| Inappropriate content]]}}. | ||
+ | }} | ||
+ | {{ombox | ||
+ | | type = style | ||
+ | | text = type=<u>style</u> – Minor warnings and problems. | ||
+ | }} | ||
+ | {{ombox | ||
+ | | type = notice | ||
+ | | text = type=<u>notice</u> – Notices and messages of any kind, both permanent and temporary. | ||
+ | }} | ||
+ | {{ombox | ||
+ | | type = move | ||
+ | | text = type=<u>move</u> – Merge, split, rename and transwiki messages and proposals. | ||
+ | }} | ||
+ | {{ombox | ||
+ | | type = protection | ||
+ | | text = type=<u>protection</u> – Protection templates such as {{[[Template:Pp-protected|pp-protected]]}} when shown on "other pages". | ||
+ | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:34, 3 August 2019
This high-risk template has been protected from editing to prevent vandalism. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may ask an editor or a moderator to make the edit if it is supported by consensus. You may also request that this page be unprotected. |
This is a template which defines a syle for Other message boxes, i.e. pages using the {{Mbox}} tag which aren't article, category, talk, or image pages.
{{ombox | type = speedy / delete / content / style / notice / move / protection | image = none / [[Image:Some image.png|40px]] | imageright = [[Image:Some image.png|40px]] | style = CSS values | textstyle = CSS values | text = The message body text. }}
Example
Lorem ipsum dolor si amet |
Other pages message box types
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 {{ Inappropriate content}}. |
type=style – Minor warnings and problems. |
type=notice – Notices and messages of any kind, both permanent and temporary. |
40x40px | type=move – Merge, split, rename and transwiki messages and proposals. |
40x40px | type=protection – Protection templates such as {{pp-protected}} when shown on "other pages". |