Difference between revisions of "Template:Info"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
m (noinclude)
m (bold tags)
Line 1: Line 1:
<includeonly>
 
{| class="ns2table" style="text-align:{{#if:{{{align|}}}|{{{align}}}|left}}; height:70px; border-spacing: 2px; border: 1px solid darkgray;"
 
| <span class="fa-3x fa-layers fa-fw"><span style="color:#0f4ead;"><i class="fas fa-circle" style="color:#fff"></i><i class="fa fa-info-circle" aria-hidden="true"></i></span></span>
 
| {{#if:{{{title|}}}|{{{title}}}:|'''Information:'''}} {{{1|}}}
 
|}</includeonly>
 
 
<noinclude>
 
<noinclude>
 
== Example ==
 
== Example ==
Line 9: Line 4:
 
{{Info|title=Custom Title|align=center|This is some information}}
 
{{Info|title=Custom Title|align=center|This is some information}}
 
</noinclude>
 
</noinclude>
 +
<includeonly>
 +
{| class="ns2table" style="text-align:{{#if:{{{align|}}}|{{{align}}}|left}}; height:70px; border-spacing: 2px; border: 1px solid darkgray;"
 +
| <span class="fa-3x fa-layers fa-fw"><span style="color:#0f4ead;"><i class="fas fa-circle" style="color:#fff"></i><i class="fa fa-info-circle" aria-hidden="true"></i></span></span>
 +
| {{#if:{{{title|}}}|'''{{{title}}}:'''|'''Information:'''}} {{{1|}}}
 +
|}</includeonly>

Revision as of 14:51, 16 May 2019

Example

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