Difference between revisions of "Template:Info"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
m (Add another example)
m (Add another example)
Line 3: Line 3:
 
<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}}
<pre><nowiki>{{Info|align=right|This is some information}}</nowiki></pre> Produces:
+
<pre><nowiki>{{Info|align=right|
{{Info|title=Custom Title|align=center|This is some information}}
+
This is some information
 +
on multiple lines
 +
}}
 +
</nowiki></pre> Produces:
 +
{{Info|align=right|
 +
This is some information
 +
on multiple lines
 +
}}
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>

Revision as of 15:46, 16 May 2019

Example

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

This is some information on multiple lines