Difference between revisions of "Template:Ombox"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
m (7 revisions imported)
 
(32 intermediate revisions by 2 users not shown)
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 18:55, 8 August 2019


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


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.