Jump to content

Template:Multibox/doc

From Wikipedia, the free encyclopedia

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

[edit]

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

[edit]
{{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

[edit]