Difference between revisions of "Template:MessageBox"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
m (Test)
m (Test)
Line 38: Line 38:
 
|-
 
|-
 
|<pre><nowiki>{{MessageBox|
 
|<pre><nowiki>{{MessageBox|
style=information|
+
style=info|
 
title=Information:|
 
title=Information:|
 
align=center|
 
align=center|
 
color=blue|
 
color=blue|
 
This is some general information. This template is flexible and can support a paragraph of information if required.}}</nowiki></pre>
 
This is some general information. This template is flexible and can support a paragraph of information if required.}}</nowiki></pre>
|{{MessageBox|style=information|title=Information:|align=center|color=blue|This is some general information. This template is flexible and can support a paragraph of information if required.}}
+
|{{MessageBox|style=info|title=Information:|align=center|color=blue|This is some general information. This template is flexible and can support a paragraph of information if required.}}
 
|}
 
|}
  

Revision as of 21:03, 16 May 2019

Examples

Code Result
{{MessageBox
|style=question
|title=''Question:''
|align=left
|color=orange
|This is the message
}}
Question: This is a question
{{MessageBox
|style=check
|title='''Tip:'''
|align=left
|color=green
|This is a useful tip.
}}
Tip: This is a useful tip.
{{MessageBox|
style=ban|
title='''Stop!'''|
align=right|
color=red|
This is a warning or advisory.}}
Stop! This is a warning or advisory.
{{MessageBox|
style=info|
title=Information:|
align=center|
color=blue|
This is some general information. This template is flexible and can support a paragraph of information if required.}}
Information: This is some general information. This template is flexible and can support a paragraph of information if required.



{{MessageBox|style=time|title=This is the title|align=center|color=blue|This is some information}}
Produces:
This is the title This is some information
{{MessageBox|style=steam|title=This is the title|align=center|color=blue|This is some information}}
Produces:
This is the title This is some information