Difference between revisions of "Template:Flagicon"

Template page
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{1|}}}|
<!--{{#if: {{{1|}}}|
<div style="float:left; vertical-align:text-top;">[[File:{{{1}}}.png|x20px]]</div>
<div style="float:left; vertical-align:text-top;">[[File:{{{1}}}|23x23px]]</div>
}}-->
{{#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:{{{1}}}|23x23px]]</div>
}}
}}
<noinclude>
<noinclude>
This is simply powering the flagicon portion of [[Template:Belligerent]]
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.


<pre>
<pre>
{{flagicon|icon}}
{{flagicon|image}}
</pre>
</pre>


If you include the name of an icon picture, it will render. The currently list of icons is as follows:
{{plainlist|
*FEDicon {{flagicon|FEDicon}}
*KDFicon {{flagicon|KDFicon}}
*ROMicon {{flagicon|ROMicon}}
*CARDicon {{flagicon|CARDicon}}
*FERicon {{flagicon|FERicon}}
*DOMicon {{flagicon|DOMicon}}
*BREENicon {{flagicon|BREENicon}}
*Xindi icon {{flagicon|Xindi icon}}
*BORGicon {{flagicon|BORGicon}}
*9icon {{flagicon|9icon}}
*38icon {{flagicon|38icon}}
*64icon {{flagicon|64icon}}
*72icon {{flagicon|72icon}}
*86icon {{flagicon|86icon}}
*93icon {{flagicon|93icon}}
*NXicon {{flagicon|NXicon}}
*TOSicon {{flagicon|TOSicon}}
*WOKicon {{flagicon|WOKicon}}
*SFicon {{flagicon|SFicon}}
*KelvinIcon {{flagicon|KelvinIcon}}
*Canonicon {{flagicon|Canonicon}}
}}
</noinclude>
</noinclude>

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}}