From Wikipedia, the free encyclopedia
{{cmbox
| type = style
| image = [[File:Imbox style.png|40px]]
| imageright = [[File:Gnome globe current event.svg|40px]]
| style = width: 400px;
| textstyle = color: black; font-weight: bold; font-style: italic;
| text = The message body text.
}}
Gives output:
The message body text.
The following examples use different type parameters but use no image parameters thus they use the default images for each type.
type=speedy
type=delete
type=content
type=style
type=notice
type=move – Move, merge and split messages and proposals.
type=protection
{{ Ambox }} , for messageboxes on article pages.
{{ Cmbox }} , for messageboxes on category pages.
{{ Imbox }} , for messageboxes on file (image) pages.
{{ Tmbox }} , for messageboxes on talk pages.
{{ Fmbox }} , for header and footer messageboxes.
{{ Ombox }} , for messageboxes on other types of page.
{{ Mbox }} , for messageboxes that are used in different namespaces and change their presentation accordingly.
Closely related metatemplates:
{{ Asbox }} , for messageboxes in article stubs.
{{ Dmbox }} , for messageboxes on disambiguation or set-index pages.
{{Ivmbox }}, a simple full-width box with default ivory background intended to frame important messages or notices.
{{cquote|Text goes here.}}
Gives output:
Template Use / description ↓ Block quotations General purpose {{Blockquote }} Our standard block quotation template: unbordered page-wide quotation with optional smaller-sized attribution {{Break lines }} Transforms line breaks into <br />
tags. It is very similar to the {{ poem }} template, except that it does not invoke the <poem>
MediaWiki extension. {{Numbered verses }} Quote poems showing the verse numbers {{Poem }} {{ Blockquote }} variant for use with poems, song lyrics, and other things that would otherwise require the use of <poem >
tags or frequent formatting elements (such as < br />
); requires substitution {{Poem quote }} {{ Blockquote }} variant for use with poems, song lyrics, and other things that would otherwise require the use of <poem >
tags or frequent formatting elements (such as < br />
); does not require substitution {{Poetically break lines }} (shortcut: {{pbl }}) Designed to format poetry simply and reliably; it differs from {{ Poem quote }} in two significant ways: it does not add spacing around the poem that sets it apart as “block quote”, and it automatically provides hanging indentation when lines are so long that they wrap {{Translated blockquote }} Displays original language above and translated text below {{Text and translation }} Displays original language and translated text, one beside the other {{Verse translation }} Displays original language verse (defaults to italics) and translated verse (roman) side-by-side {{Verse transliteration-translation }} Like {{ Verse translation }} , but with a transliteration separate from the original version {{Cquote }} "centered quote" – Page-wide quote, between large quotation marks {{Rquote }} "reduced quote" – Quote between large quotation marks in a reduced floating area {{Quote frame }} Page-wide bordered quote {{Quote box }} Quote floated in a reduced bordered box {{Tweet }} For quoting directly from tweets. Automatically generates {{Cite tweet }}
citation, or a custom reference can be provided. ↓ Talk page quoting Not for use in articles nor the project space at all {{Talk quote inline }}
(shortcut: {{tq }},
{{tqq }}, {{tqi }}, or {{tqqi }}) Inline quotation for use on talk pages {{Not talk quote inline }}
(shortcut: {{!tq }},
{{!tqq }}, {{!tqi }}, or {{!tqqi }}) Inline quotation for what someone didn't say but could have, or perhaps should have, said. {{Talk quote block }}
(shortcut: {{tqb }}, {{tq2 }}) Block-style quotation for use on talk pages {{Talk quote block minimalist }}
(shortcut: {{tqbm }}) Minimalist version of above ↓ Alternative For indenting non-quotations {{Block indent }} To indent an entire block of content (uses < div >
and CSS margins)