Template:Chr7

From Meta, a Wikimedia project coordination wiki
Template documentation

This template decodes a string of up to 7 characters coded in the form of 2 digits each, according to Template:Nfchr. It is used by *Template:Chr119.

The maximum string length is 119 (excess characters are ignored), resulting in a "page title" of 254 characters. These resulting characters are digits and slashes only, so the string is a valid page title in canonical form, so it is suitable for application of #titleparts without being affected by automatic conversions.

Examples[edit]

  • "{{chr7|23091109}}" → "wiki" [1]
  • "{{chr7|23095909}}" → "wi;i" [2] (with <nowiki> tags around ";" to avoid a newline)
  • "{{chr7|0}}" → "" [3]
  • "{{chr7|}}" → "" [4]
  • "{{chr7}}" → "" [5]

Too long:

  • "{{chr7|870911091605040901}}" → "˚" [6]

Invalid number:

  • "{{chr7|a23091109}}" → "˚" [7]

See also[edit]