Template:Msgbox: Difference between revisions
Template page
More actions
fandomwiki>Wynthyst No edit summary |
fandomwiki>Wynthyst No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| style="background-color: transparent; border: 2px solid #800080; {{#if: {{{width|}}} | max-width: {{{width}}}; }} | ||
|}{{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates|{{BASEPAGENAME}}]] }}</includeonly><noinclude> | |}{{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates|{{BASEPAGENAME}}]] }}</includeonly><noinclude> | ||
=== Basic usage === | === Basic usage === | ||
<pre style="width: | <pre style="width: 90%;"> | ||
{{msgbox | {{msgbox | ||
| title = This is a normal message box | | title = This is a normal message box | ||
| Line 20: | Line 14: | ||
=== Mini usage === | === Mini usage === | ||
<pre style="width: | <pre style="width: 90%;"> | ||
{{msgbox | {{msgbox | ||
| mini = 1 | | mini = 1 | ||
| Line 32: | Line 26: | ||
=== Advanced usage === | === Advanced usage === | ||
<pre style="width: | <pre style="width: 90%;"> | ||
{{msgbox | {{msgbox | ||
| bgcol = #eef | | bgcol = #eef | ||
| Line 46: | Line 40: | ||
{{msgbox| bgcol = #eef | linecol = #ddf | title = This is a blue message box | text = It has a discuss link and some custom CSS | discuss = 1 = 340px | css = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;}} | {{msgbox| bgcol = #eef | linecol = #ddf | title = This is a blue message box | text = It has a discuss link and some custom CSS | discuss = 1 = 340px | css = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;}} | ||
<pre style="width: | <pre style="width: 90%;"> | ||
{{msgbox | {{msgbox | ||
| bgcol = #eef | | bgcol = #eef | ||
| Line 64: | Line 58: | ||
=== Advanced Mini usage === | === Advanced Mini usage === | ||
<pre style="width: | <pre style="width: 90%;">{{msgbox | ||
| mini = 1 | | mini = 1 | ||
| image = Bot.png | | image = Bot.png | ||