Changes

Jump to navigation Jump to search
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

=== Usage ===
Returns Unicode '''General Category (gc)''' <code>Cc Cf Cn Cs Zl Zp Zs &lt;blank></code> for special code points (like <control>, space characters, formatting characters). When regular gc like Letter, Symbol, Mark, or Punctuation, it returns a blank.<br>

===Parameters===
This is a subtemplate, so parameters may has tight requirements.
Input: (unnamed)
<source lang=html>
{{Unichar/gc
|1= <!--decimal value of the code point-->
}}
</source>

The code point value is required as a decimal value, because we are using the <code>#ifexpr:</code> numerical calculations.<br>

For five Arabic number markings U+0600..U+0603 and U+60DD, it returns <code>Cf (visible)</code>. While Cf formatting characters usually have no glyph, these five have. By adding the "(visible)" text, these characters are shown (while regular Cf characters are hidden).

=== See also ===
See main template {{tl|unichar}} for full documentation.

<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

</includeonly>
Anonymous user

Navigation menu