Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Flagicon: Difference between revisions

Template page
Created page with "<div class = "flagicon" style="float:left"> {{{#if:{{{1|}}}| [[File:{{{1}}}.png]] </div> <noinclude> Documentation to come, otherwise pester McGig for usage </noinclude>"
 
No edit summary
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class = "flagicon" style="float:left">
{{#if: {{{1|}}}|
{{{#if:{{{1|}}}|
<div style="float:left; vertical-align:text-top;">[[File:{{{1}}}|20x20px]]</div>
[[File:{{{1}}}.png]]
}}
</div>
<noinclude>
<noinclude>
Documentation to come, otherwise pester McGig for usage
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>
{{flagicon|image}}
</pre>
 
</noinclude>
</noinclude>

Latest revision as of 05:04, 1 February 2021


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