Template:Msgbox: Difference between revisions
Template page
More actions
fandomwiki>@DeletedUser40288455 Changed background colour to purple instead of MCWiki's pale yellow |
Koza1brada (talk | contribs) m 7 revisions imported: Try to import fandom pages (manual dump, 9) |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| | <includeonly> | ||
{| style="background-color: black; border: 1px solid #800080; {{#if: {{{width|}}} | max-width: {{{width}}}; border-radius: 0.3em;}} | |||
|}{{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates|{{BASEPAGENAME}}]] }}</includeonly><noinclude> | |}{{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates|{{BASEPAGENAME}}]] }}</includeonly><noinclude> | ||
{{/ | |||
=== Usage === | |||
<pre style="width: 90%;"> | |||
{{msgbox | |||
| title = This is a normal message box | |||
| text = With helpful and descriptive subtext | |||
}} | |||
</pre> | |||
Will result in: | |||
{{msgbox| title = This is a normal message box | text = With helpful and descriptive subtext}} | |||
</noinclude> | |||