Template:Mbox: Difference between revisions

From Nubious
Nubious (talk | contribs)
First version of a message box template
 
Nubious (talk | contribs)
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;">SUBTITLE/CONTENT</div></div>
<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"
''This template will categorize articles that include it into [[:Category:Article stubs]].''
|-
! 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}