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|title=ABCD|align=left|color1=red|This is some information}}</nowiki></pre> Produces:
 
<pre><nowiki>{{MessageBox|title=ABCD|align=left|color1=red|This is some information}}</nowiki></pre> Produces:
{{MessageBox|title=ABCD|align=center|color1=red|This is some information}}
+
{{MessageBox|title=ABCD|align=center|color1=red|This is some information}}</noinclude>
<pre><nowiki>{{Info|align=right|
+
 
This is some information
+
on multiple lines
+
}}
+
</noinclude>
+
 
<includeonly>
 
<includeonly>
 
{{#vardefine:color1|{{#switch: {{{color1}}}
 
{{#vardefine:color1|{{#switch: {{{color1}}}

Revision as of 18:05, 16 May 2019

Example

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