Template:Mbox: Difference between revisions
First version of a message box template |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="background-color:#f8f8ff;border:1px solid #daa520;padding:10px;display:flex;"><div style="margin:5px;">X</div><div style="margin:5px;"> | <div style="background-color:#f8f8ff;border:1px solid #daa520;padding:10px;display:flex;"> | ||
{{{if|{{{icon|}}}|<div style="margin:5px;">X</div>|}}}<div style="margin:5px;">{{if|{{{title|}}}|<b>{{{title}}}</b>|}CONTENT</div></div> | |||
[[Category:Article stubs]] | [[Category:Article stubs]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
---- | {| class="wikitable" | ||
|- | |||
! Argument !! Description | |||
|- | |||
| icon || (Optional) An Icon to display in the message box | |||
|- | |||
| title || (Optional) A Title to display in the message box | |||
|- | |||
| || All other content is displayed as text | |||
|} | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
{Documentation} | {Documentation} | ||
</noinclude> | </noinclude> |
Revision as of 20:13, 12 October 2024
Argument | Description |
---|---|
icon | (Optional) An Icon to display in the message box |
title | (Optional) A Title to display in the message box |
All other content is displayed as text |
{Documentation}