Misplaced Pages

Template:Umbox: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 18:26, 6 December 2024 view sourceMatrix (talk | contribs)Extended confirmed users, Rollbackers, Template editors5,452 edits add option for class← Previous edit Latest revision as of 18:49, 6 December 2024 view source Matrix (talk | contribs)Extended confirmed users, Rollbackers, Template editors5,452 edits re-add substitution functionality 
Line 1: Line 1:
<templatestyles src="Template:Umbox/styles.css" /> {{ safesubst:<noinclude/>ifsubst||<templatestyles src="Template:Umbox/styles.css" />}}
<div class="umbox {{{{{|safesubst:}}}#if:{{{class|}}}|{{{class|}}}|}}" {{{{{|safesubst:}}}#if:{{{style|}}}|style="{{{style|}}}"|}}><noinclude><!-- <div class="umbox {{{{{|safesubst:}}}#if:{{{class|}}}|{{{class|}}}|}}" style="{{ safesubst:<noinclude/>ifsubst|background-color: var(--background-color-content-added, #a3d3ff); border: var(--border-color-progressive, #36c) 1px solid; margin: 2em 0 1em; padding: 0.5em 1em; font-weight: bold; overflow: auto; vertical-align: middle;}} {{{{{|safesubst:}}}#if:{{{style|}}}|{{{style|}}}|}}"><noinclude><!--


// Image // Image

Latest revision as of 18:49, 6 December 2024

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 78,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
CSSThis template uses TemplateStyles:

This is a meta-template for use with the likes of {{Talkback}} and {{You've got mail}}.

Usage

If you want to add a message box to the top of your user page, please use {{Ombox}}.
{{Umbox
| image = image.svg
| imagelink = ]
| text = This is a message.
| style = &lt;!-- This is optional; can be used to add or modify parameters --&gt;.
| class = Insert CSS class here
}}
This is a message.

See also

The above documentation is transcluded from Template:Umbox/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: