In follow-up to my recent post about undocumented "colon codes" and their pitfalls when editing forum posts, I tested more of these : ... : constructs.
In short: They are unpredictable and inconsistent.
Surprisingly there are some that may be useful. For some of the official 2-letter country codes as per ISO 3166 they can generate an associated country flag. Producing these flags per hand is a bit tricky because they are generated by joining 2 Unicode “regional indicator” letters. The colon codes could make this easy
Unfortunately only 11 of the official 247 country codes work as expected:
:cn:
:de:
:es:
:fr:
:it:
:jp:
:kr:
:ru:
:tr:
:uk:
:us:
These work, but not as expected:
:cd:
Should be: Congo (Dem. Rep.)
:cl:
Should be: Chile
:id:
Should be: Indonesia
:ng:
Should be: Nigeria
:om:
Should be: Oman
:sa:
Should be: Saudi Arabia
:tv:
Should be: Tuvalu
Not ISO 3166 compliant and not a country, but works
:eu:
Note that although the BB software converts the flag letters to SVG images (try to rightclick and open the image in new tab ), they behave pretty much like normal text. For example they can be enlarged with the usual BB code:
[size=200][size=200]:jp:[/size][/size]