Difference between revisions of "Template:Info"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
m (bold tags)
m (Convert to use MessageBox)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
{{MessageBox|style=info|title='''Info:'''|color=blue|{{{1|}}}}}
== Example ==
+
<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}}
+
</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>
+

Latest revision as of 23:31, 16 May 2019

Info: