Template:Category TOC Unicode/doc: Difference between revisions

Content deleted Content added
singleton
m Usage: <syntaxhighlight inline lang="wikitext">
 
(7 intermediate revisions by 6 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 [[Percent-encoding|URL encoded]] and prefaced with <code>~%0A</code>.
 
=== 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>