Template:Mbox templates see also: Difference between revisions

From TestWiki
Content added Content deleted
(Removed unneeded includeonly tags. Without them changes get visible immediately here, instead of having to purge the doc each time to see the change.)
m (27 revisions imported: Importing Template:Tmbox, with templates.)
 
(25 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<div>{{view|Template:Mbox templates see also|edit|brackets=yes}} There are seven metatemplates in the [[Module:Message box]] family:</div>
There are several meta-templates in the mbox family:
* {{tl|ambox}} For article message boxes.
* {{tl|Ambox}}, for messageboxes on article pages.
* {{tl|tmbox}} For talk page message boxes.
* {{tl|Cmbox}}, for messageboxes on category pages.
* {{tl|imbox}} For file (image) page message boxes.
* {{tl|Imbox}}, for messageboxes on file (image) pages.
* {{tl|cmbox}} For category message boxes.
* {{tl|Tmbox}}, for messageboxes on talk pages.
* {{tl|ombox}} For other pages message boxes.
* {{tl|Fmbox}}, for header and footer messageboxes.
* {{tl|Ombox}}, for messageboxes on other types of page.
* {{tl|mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.
* {{tl|Mbox}}, for messageboxes that are used in different [[Wikipedia:Namespace|namespaces]] and change their presentation accordingly.


Closely related meta-templates:
Closely related metatemplates:
* {{tl|fmbox}} For header and footer message boxes.
* {{tl|Asbox}}, for messageboxes in article stubs.
* {{tl|dmbox}} For disambiguation and set index message boxes.<noinclude>
* {{tl|Dmbox}}, for messageboxes on disambiguation or set-index pages.
* {{tla|Ivory messagebox|Ivmbox}}, a simple full-width box with default ivory background intended to frame important messages or notices.


Templates intended to be used in conjunction with Mboxes:
{{documentation}}
* {{tl|Ombox/shortcut}}, an alternative to {{tl|Shortcut}} for use in Mbox templates<noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->

{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:38, 22 June 2020

There are seven metatemplates in the Module:Message box family:
  • {{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.

Templates intended to be used in conjunction with Mboxes: