Template:Fmbox/doc

From BoyWiki
Revision as of 21:39, 23 February 2022 by Etenne (talk | contribs) (Created page with "{{Documentation subpage}} {{for|the message box for File: pages|Template:imbox}} {{Used in system |in many system messages}} {{Lua|Module:Message box}} <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> {{Mbox templates (small)}} This is the {{tl|Fmbox}} (['''F''']ooter and header ['''m''']essage ['''box''']) template. It can be used to build message boxes for system messages such as MediaWiki:Sp-contributions-footer-anon. It can also be used...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:For Template:Used in system

Message box
meta-templates
templatecontext
{{Ambox}}article
{{Cmbox}}category
{{Imbox}}image
{{Tmbox}}talk
{{Fmbox}}footer / header
{{Ombox}}other pages
{{Mbox}}auto-detect
{{Asbox}}article stub
{{Dmbox}}disambiguation

This is the {{Fmbox}} ([F]ooter and header [m]essage [box]) template.

It can be used to build message boxes for system messages such as MediaWiki:Sp-contributions-footer-anon. It can also be used for footer and header boxes on user pages and for editnotices.

This template works similarly to {{Ambox}} and mostly uses the same parameters. The main differences are that this box is 100% wide and has different colour styles. Template:TOC limit

Usage

Simple example

{{Fmbox |text=Some text.}}

produces:

Complex example

{{Fmbox
 | type = editnotice
 | image = [[File:Emblem-question-yellow.svg|40px]]
 | style = border:1px solid #f4c430;
 | textstyle = font-style:italic; font-weight:bold; color:red;
 | text = The message's text.
}}

produces: