Template:Chr7a

Template documentation

This template decodes a string of up to 7 characters coded in the form of 2 digits each. Unlike Template:Chr7, it neither produces a blank line before ";" etc., nor <nowiki> tags around them.

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

  • "{{chr7a|23091109}}" → "wiki"
  • "{{chr7a|23095909}}" → "wi;i"
  • "{{chr7a|013202}}" → "a b"
  • "{{chr7a|013102}}" → "a

b"

  • "{{chr7a|0}}" → ""
  • "{{chr7a|}}" → ""
  • "{{chr7a}}" → ""

Too long:

  • "{{chr7a|870911091605040901}}" → "˚"

Invalid number:

  • "{{chr7a|a23091109}}" → "˚"

See also

Category:Demo templates Category:Pages using duplicate arguments in template calls Category:Pages using the JsonConfig extension