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

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(5 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
* {{tl2|Category TOC Unicode}}
 
* {{tl2|Category TOC Unicode}}
 
{{Category TOC Unicode}}
 
{{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 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 ===
Line 12: Line 17:
 
* [[:Template:CategoryTOC (Non-Latin)]]
 
* [[:Template:CategoryTOC (Non-Latin)]]
 
* [[:Template:CollapsibleLargeCategoryTOC]]
 
* [[:Template:CollapsibleLargeCategoryTOC]]
* [[:Template:LargeCategoryTOC]]
+
* [[:Template:Large category TOC]]
* [[:Template:LargeCategoryTOC2]]
 
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Wikipedia category table of contents templates|{{PAGENAME}}]]
 
[[Category:Wikipedia category table of contents templates|{{PAGENAME}}]]
 
[[Category:Category namespace templates|{{PAGENAME}}]]
 
[[Category:Category namespace templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:58, 24 April 2020

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