Toggle menu
15
236
93
27.9K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 23:44, 21 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please, add categories and interwikis at the bottom of this page. --> == Overview == This subtemplate returns Unicode '''General Category (gc)''' <code>Cc Cf Cn Cs Zl Zp Zs <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. == Parameters == This is a subtemplate, so parameters may have tight requirements. Inpu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

This subtemplate returns Unicode General Category (gc) Cc Cf Cn Cs Zl Zp Zs <blank> for special code points (like <control>, space characters, formatting characters). When regular gc like Letter, Symbol, Mark, or Punctuation, it returns a blank.

Parameters

This is a subtemplate, so parameters may have tight requirements. Input: (unnamed)

{{Unichar/gc|1= <!-- decimal value of the code point -->}}

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

For five Arabic number markings U+0600 – U+0603 and U+60DD, it returns Cf (visible). 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 {{Unichar}} for full documentation.


pt:Predefinição:Unichar/gc/doc