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

From blackwiki
Jump to navigation Jump to search
imported>Gorobay
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(7 intermediate revisions by 4 users not shown)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
This template adds a table of contents (TOC) to a category page that contains symbols such as [[Unicode]].
+
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|~}}.
  
* {{tl2|Category TOC symbols}}
+
* {{tl2|Category TOC Unicode}}
{{Category TOC symbols}}
+
{{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 ===
 
* [[:Template:Category TOC]]
 
* [[:Template:Category TOC]]
 
* [[:Template:CategoryTOC (Non-Latin)]]
 
* [[:Template:CategoryTOC (Non-Latin)]]
* [[:Template:CategoryYearTOC]]
 
 
* [[: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