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="display: inline-block; width: 18px; height: 12px; background-color: none; position: relative; overflow: hidden;"><div style="position: absolute; |
{{#switch:{{{1}}} | {{#switch:{{{1}}} | ||
| A1 = top: -1px; left: -1px; | | A1 = top: -1px; left: -1px; |
Revision as of 10:39, 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