Template:Flag: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(alt text same as title text (should be unlinked? see talk page))
(Flags with borders (Fi,Jp,Kr) are 22x22px due to the 1px border around. This code will make it so the bordered flag is just 18x18px, adding the 1px border around makes it 20x20px just like the borderless variant.)
Line 7: Line 7:
|united states|united states of america|us|usa=United States
|united states|united states of america|us|usa=United States
|{{ucfirst:{{{1|Null}}}}}}}.png|{{#switch:{{lc:{{{1|Null}}}}}
|{{ucfirst:{{{1|Null}}}}}}}.png|{{#switch:{{lc:{{{1|Null}}}}}
|finland|japan|south korea|null=border
|finland|japan|south korea|null=border{{!}}18x18px
|frameless}}|20x20px|alt={{{1|Null}}}|{{{1|Null}}}]]<noinclude>
|frameless{{!}}20x20px}}|alt={{{1|Null}}}|{{{1|Null}}}]]<noinclude>
==Usage==
==Usage==
<code><nowiki>{{Flag|Country}}</nowiki></code>
<code><nowiki>{{Flag|Country}}</nowiki></code>

Revision as of 11:41, August 15, 2018

Null

Usage

{{Flag|Country}}

If your flag doesn't appear, check your spelling (and possibly capitalization). Some common alternate names are included (e.g. USA for United States); if you think you have one that's important and is not present, post on this template's talk page.

If your flag is not in our list of flags at all, then say so on that page's talk page and it will be added.

If your flag has so much white that it becomes difficult to see against the page background, then note such on this template's talk page, and it will be given a border. Currently these flags have this feature enabled:

  • Finland
  • Japan
  • South Korea