Difference between revisions of "Template:MessageBox"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
m (Test)
m (Test)
Line 2: Line 2:
 
== Example ==
 
== Example ==
 
<pre><nowiki>{{MessageBox|style=question|title=ABCD|align=left|color=red|This is some information}}</nowiki></pre> Produces:
 
<pre><nowiki>{{MessageBox|style=question|title=ABCD|align=left|color=red|This is some information}}</nowiki></pre> Produces:
{{MessageBox|title=ABCD|align=center|color=red|This is some information}}</noinclude>
+
{{MessageBox|title=ABCD|align=center|color=red|This is some information}}
 
<pre><nowiki>{{MessageBox|style=question|title=ABCD|align=left|color=red|This is some information}}</nowiki></pre> Produces:
 
<pre><nowiki>{{MessageBox|style=question|title=ABCD|align=left|color=red|This is some information}}</nowiki></pre> Produces:
{{MessageBox|title=ABCD|align=center|color=red|This is some information}}</noinclude>
+
{{MessageBox|title=ABCD|align=center|color=red|This is some information}}
 
+
</noinclude>
 
<includeonly>
 
<includeonly>
 
{{#vardefine:style|{{#switch: {{{style|}}} | question = fa fa-question-circle | warning = fas fa-exclamation-circle | check = fas fa-check-circle | ban = fas fa-ban | user = fas fa-user-circle | #default = fas fa-circle }} }}
 
{{#vardefine:style|{{#switch: {{{style|}}} | question = fa fa-question-circle | warning = fas fa-exclamation-circle | check = fas fa-check-circle | ban = fas fa-ban | user = fas fa-user-circle | #default = fas fa-circle }} }}

Revision as of 18:39, 16 May 2019

Example

{{MessageBox|style=question|title=ABCD|align=left|color=red|This is some information}}
Produces:
ABCD This is some information
{{MessageBox|style=question|title=ABCD|align=left|color=red|This is some information}}
Produces:
ABCD This is some information