Difference between revisions of "Template:Category TOC Unicode/doc"

From blackwiki
Jump to navigation Jump to search
imported>Drmccreedy
(→‎Editing this template: Only control characters in the Basic Latin block are skipped.)
imported>Gorobay
(→‎Editing this template: update the sort key description)
Line 11: Line 11:
 
The <code>from=</code> parameter of the <code>fullurl</code> template should be the first code point in the Unicode block without a singleton canonical decomposition (excluding control characters in the [[Basic Latin (Unicode block)|Basic Latin]] block).
 
The <code>from=</code> parameter of the <code>fullurl</code> template should be the first code point in the Unicode block without a singleton canonical decomposition (excluding control characters in the [[Basic Latin (Unicode block)|Basic Latin]] block).
  
It should be [[Percent-encoding|URL encoded]] and prefaced with <code>~%0A</code>.
+
It should be padded to four bytes of UTF-8 with null bytes and [[Percent-encoding|URL-encoded]] with full stops instead of percent signs.
  
 
=== See also ===
 
=== See also ===

Revision as of 22:01, 6 January 2019

Usage

This template adds a table of contents (TOC) to a category page organized by Unicode block. The contents of the category must have the sort key ~.

Editing this template

The from= parameter of the fullurl template should be the first code point in the Unicode block without a singleton canonical decomposition (excluding control characters in the Basic Latin block).

It should be padded to four bytes of UTF-8 with null bytes and URL-encoded with full stops instead of percent signs.

See also