Template:Category TOC Unicode/doc: Difference between revisions

Content deleted Content added
Editing this template: update the sort key description
m Usage: <syntaxhighlight inline lang="wikitext">
 
(5 intermediate revisions by 4 users not shown)
Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
=== 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 {{code|~}}.
 
* <syntaxhighlight inline lang="wikitext">{{tl2|Category TOC Unicode}}</syntaxhighlight>
{{Category TOC Unicode}}
 
=== Editing this template ===
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 the code point in hexadecimal, padded to six digits: not UTF-8.
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 ===
* [[:Template:{{Category TOC]] see also}}
* [[:Template:CategoryTOC (Non-Latin)]]
* [[:Template:CollapsibleLargeCategoryTOC]]
* [[:Template:LargeCategoryTOC]]
* [[:Template:LargeCategoryTOC2]]
 
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia category table of contents templates|{{PAGENAME}}]]
[[Category:Category namespace templates|{{PAGENAME}}]]
}}</includeonly>