Difference between revisions of "Template:Info"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
m (Add parameters & example)
m (noinclude)
Line 4: Line 4:
 
| {{#if:{{{title|}}}|{{{title}}}:|'''Information:'''}} {{{1|}}}
 
| {{#if:{{{title|}}}|{{{title}}}:|'''Information:'''}} {{{1|}}}
 
|}</includeonly>
 
|}</includeonly>
 
+
<noinclude>
 
== Example ==
 
== Example ==
 
<pre><nowiki>{{Info|title=Custom Title|align=center|This is some information}}</nowiki></pre> Produces:
 
<pre><nowiki>{{Info|title=Custom Title|align=center|This is some information}}</nowiki></pre> Produces:
 
{{Info|title=Custom Title|align=center|This is some information}}
 
{{Info|title=Custom Title|align=center|This is some information}}
 +
</noinclude>

Revision as of 14:49, 16 May 2019


Example

{{Info|title=Custom Title|align=center|This is some information}}
Produces:
Info: This is some information