Jump to: navigation, search

Multibox/doc


Revision as of 09:26, 8 October 2010 by Amalthea (Talk) (create quick info)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This template allows to centrally maintain notice text and box styling, while determining the exact type of box during transclusion. It is, in a way, an extension of {{mbox}}.

Usage

Main usage is to keep wording of a particular notice in one place, while using it in different contexts shown in different kinds of boxes. It is an alternative to introducing a third, decoupled template that only keeps the text.

Examples

{{Multibox/example|boxtype=mbox}}
{{Multibox/example|boxtype=editnotice}}
{{Multibox/example|boxtype=plain text}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore Magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus Et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a Quam.

{{Multibox/example|boxtype=fmbox}}

See also