Difference between revisions of "Template:MessageBox"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
m (Test)
m (Test)
Line 39: Line 39:
 
|<pre><nowiki>{{MessageBox
 
|<pre><nowiki>{{MessageBox
 
|style=info
 
|style=info
|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=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.}}
+
|{{MessageBox|style=info|align=center|color=blue|This is some general information. This template is flexible and can support a paragraph of information if required.}}
 
|-
 
|-
 
|<pre><nowiki>{{MessageBox
 
|<pre><nowiki>{{MessageBox
Line 55: Line 54:
 
|<pre><nowiki>{{MessageBox
 
|<pre><nowiki>{{MessageBox
 
|style=steam
 
|style=steam
|title=false
 
 
|align=left
 
|align=left
 
|color=blue
 
|color=blue
 
|This is some information}}</nowiki></pre>
 
|This is some information}}</nowiki></pre>
|{{MessageBox|style=steam|title=false|align=left|color=blue|This is a link to [http://www.steampowered.com Steam].}}
+
|{{MessageBox|style=steam|align=left|color=blue|This is a link to [http://www.steampowered.com Steam].}}
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 21:16, 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
|align=center
|color=blue
|This is some general information. This template is flexible and can support a paragraph of information if required.}}
This is some general information. This template is flexible and can support a paragraph of information if required.
{{MessageBox
|style=time
|title=Information:
|align=right
|color=yellow
|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=steam
|align=left
|color=blue
|This is some information}}
This is a link to Steam.