Difference between revisions of "Template:Flag icon"
From LFS Manual
Jump to navigationJump to searchLine 1: | Line 1: | ||
<includeonly><div style="width: 18px; height: 12px; background-color: none; position: relative; overflow: hidden;"><div style="position: absolute; | <includeonly><div style="width: 18px; height: 12px; background-color: none; position: relative; overflow: hidden;"><div style="position: absolute; | ||
− | + | {{#switch:{{{1}}} | |
− | + | | A1 = top: -1px; left: -1px; | |
− | + | | A2 = top: -1px; left: -20px; | |
− | + | | AD = top: -1px; left: -39px; | |
− | + | | AE = top: -1px; left: -58px; | |
− | + | | AF = top: -1px; left: -77px; | |
− | + | | AG = top: -1px; left: -96px; | |
− | + | | AI = top: -1px; left: -115px; | |
− | + | | AL = top: -1px; left: -134px; | |
− | + | | AM = top: -1px; left: -153px; | |
− | + | | AN = top: -1px; left: -172px; | |
− | + | | AO = top: -1px; left: -191px; | |
− | + | | AP = top: -1px; left: -210px; | |
− | + | | AQ = top: -1px; left: -229px; | |
− | + | | AR = top: -1px; left: -248px; | |
− | + | | AS = top: -14px; left: -1px; | |
− | + | | AT = top: -14px; left: -20px; | |
− | + | | AU = top: -14px; left: -39px; | |
− | + | | AW = top: -14px; left: -58px; | |
− | + | | AX = top: -14px; left: -77px; | |
+ | | AZ = top: -14px; left: -96px; | ||
+ | | BA = top: -14px; left: -115px; | ||
+ | | BB = top: -14px; left: -134px; | ||
+ | | BD = top: -14px; left: -153px; | ||
+ | | BE = top: -14px; left: -172px; | ||
+ | | BF = top: -14px; left: -191px; | ||
+ | | BG = top: -14px; left: -210px; | ||
+ | | BH = top: -14px; left: -229px; | ||
+ | | BI = top: -14px; left: -248px; | ||
+ | | BJ = top: -27px; left: -1px; | ||
+ | | BM = top: -27px; left: -20px; | ||
+ | | BN = top: -27px; left: -39px; | ||
+ | | BO = top: -27px; left: -58px; | ||
+ | | BR = top: -27px; left: -77px; | ||
+ | | BS = top: -27px; left: -96px; | ||
+ | | BT = top: -27px; left: -115px; | ||
+ | | BV = top: -27px; left: -134px; | ||
+ | | BW = top: -27px; left: -153px; | ||
+ | | BY = top: -27px; left: -172px; | ||
+ | | BZ = top: -27px; left: -191px; | ||
+ | | CA = top: -27px; left: -210px; | ||
+ | | CC = top: -27px; left: -229px; | ||
+ | | CD = top: -27px; left: -248px; | ||
+ | | CF = top: -40px; left: -1px; | ||
+ | | CG = top: -40px; left: -20px; | ||
+ | | CH = top: -40px; left: -39px; | ||
+ | | CI = top: -40px; left: -58px; | ||
+ | | CK = top: -40px; left: -77px; | ||
+ | | CL = top: -40px; left: -96px; | ||
+ | | CM = top: -40px; left: -115px; | ||
+ | | CN = top: -40px; left: -134px; | ||
+ | | CO = top: -40px; left: -153px; | ||
+ | | CR = top: -40px; left: -172px; | ||
+ | | CU = top: -40px; left: -191px; | ||
+ | | CV = top: -40px; left: -210px; | ||
+ | | CX = top: -40px; left: -229px; | ||
+ | | CY = top: -40px; left: -248px; | ||
+ | | CW = top: -53px; left: -1px; | ||
+ | | CZ = top: -53px; left: -20px; | ||
+ | | DE = top: -53px; left: -39px; | ||
+ | | default = top: 0px; left: 0px; | ||
+ | }} | ||
max-width: none; | max-width: none; | ||
min-width: 267px;">[[File:Flags.png]]</div></div></includeonly><noinclude>{{documentation}}</noinclude> | min-width: 267px;">[[File:Flags.png]]</div></div></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 09:33, 6 January 2025
Template documentation
Displays a flag of the named parameter in "icon" size, currently 18×12 pixels.
Usage
Markup | Renders as |
---|---|
{{Flag icon}} |
|
Markup | Renders as |
---|---|
{{Flag icon|GB}} |
|
Markup | Renders as |
---|---|
{{Flag icon|DE}} |
|
Markup | Renders as |
---|---|
{{Flag icon|CZ}} |
|
Available country codes
A1, A2, AD, AE, AF, AG, AI, AL, AM, AN, AO, AP, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BM, BN, BO, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CX, CY, CW, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, EU, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SK, SL, SM, SN, SO, SR, ST, SV, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW, GB-ENG, GB-NIR, GB-SCT, GB-WLS, XK, X0, X9