Template:CharSwatch

From Wiki of ZZT
Jump to navigation Jump to search

CharSwatch is a template for demonstrating an extended ASCII character using the default CP437 font. It takes a single parameter, the character's number. Example:

   In ASCII, capital letter 'A' is {{CharSwatch|65}}

Will be rendered as: In ASCII, capital letter 'A' is #char 65 A (0x41)

Hex is supported as well as decimal:

   {{CharSwatch|0xB2}}

#char 178 (0xB2)