Difference between revisions of "Template:Flagicon"

From Bravo Fleet
Line 2: Line 2:
 
<div style="float:left; vertical-align:text-top;">[[File:{{{1}}}|23x23px]]</div>
 
<div style="float:left; vertical-align:text-top;">[[File:{{{1}}}|23x23px]]</div>
 
}}-->
 
}}-->
{{#if: blankflag.png|
+
{{#if: {{{1|}}}=blankflag.png|
 
<div style="float:left; vertical-align:text-top;">[[File:blankflag.png|1x1px]]</div>|
 
<div style="float:left; vertical-align:text-top;">[[File:blankflag.png|1x1px]]</div>|
 
<div style="float:left; vertical-align:text-top;">[[File:{{{1}}}|23x23px]]</div>
 
<div style="float:left; vertical-align:text-top;">[[File:{{{1}}}|23x23px]]</div>

Revision as of 12:46, 31 January 2021

Blankflag.png


This is simply powering the flagicon portion of Template:Belligerent. It doesn't seem to work if included in the Belligerent template, go figure, so this lives here separately and everything works beautifully.

When calling this, simply use the name of the image you wish to call as a icon for use. Do remember to get the extension correct.

{{flagicon|image}}