Changes
Template:Large category TOC numeric/doc (view source)
Revision as of 00:44, 17 July 2018
, 6 years ago→See also: remove now redundant entry
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
==Usage==
When a numeric category has many members, place this line near the top of the category page:
{{Tlx|{{BASEPAGENAME}}}}
There are two parameters:
* {{para|negatives}} with default = no, which hides the negative choices. Setting {{para|negatives|yes}} will show the choices "-1000" to "-100".
* {{para|1}} sets the number of sort characters, usually set to the largest number of sort characters in the category. For example, if the largest sort number in the category is "100547", then set {{para|1|6}} (for the number of characters in "100547"). Some "numeric" categories are populated by unusual alphanumeric member names, and that can make this setting tricky. Editors may have to experiment to find the optimum value for this setting.
As with other uses of unnamed parameters, the {{code|1{{=}}}} may be omitted, so the example above may appear as:
<pre>
{{Large category TOC numeric|1=6}}
or
{{Large category TOC numeric|6}}
</pre>
==See also==
{{div col|colwidth=20em}}
* {{tl|Large category TOC}}
* {{tl|Large category TOC years only}}
* {{tl|Category TOC}}
* {{tl|Category TOC (non-Latin)}}
* {{tl|Collapsible large category TOC}}
{{div col end}}
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Wikipedia category table of contents templates]]
[[Category:Templates using navigation bars]]
[[Category:Category namespace templates]]
}}</includeonly>
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
==Usage==
When a numeric category has many members, place this line near the top of the category page:
{{Tlx|{{BASEPAGENAME}}}}
There are two parameters:
* {{para|negatives}} with default = no, which hides the negative choices. Setting {{para|negatives|yes}} will show the choices "-1000" to "-100".
* {{para|1}} sets the number of sort characters, usually set to the largest number of sort characters in the category. For example, if the largest sort number in the category is "100547", then set {{para|1|6}} (for the number of characters in "100547"). Some "numeric" categories are populated by unusual alphanumeric member names, and that can make this setting tricky. Editors may have to experiment to find the optimum value for this setting.
As with other uses of unnamed parameters, the {{code|1{{=}}}} may be omitted, so the example above may appear as:
<pre>
{{Large category TOC numeric|1=6}}
or
{{Large category TOC numeric|6}}
</pre>
==See also==
{{div col|colwidth=20em}}
* {{tl|Large category TOC}}
* {{tl|Large category TOC years only}}
* {{tl|Category TOC}}
* {{tl|Category TOC (non-Latin)}}
* {{tl|Collapsible large category TOC}}
{{div col end}}
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Wikipedia category table of contents templates]]
[[Category:Templates using navigation bars]]
[[Category:Category namespace templates]]
}}</includeonly>