The editors' meeting has been canceled for technical reasons.
Module:SafeCate/doc: Difference between revisions
Jump to navigation
Jump to search
创建页面,内容为“本{{#ifeq:{{NAMESPACENUMBER}}|828|模块|模板}}旨在应对本站时而发生的模板展开异常结合缓存功能导致的分类异常问题。 '''本{{#ifeq:{{NAMESPACENUMBER}}|828|模块|模板}}仅应用于模板名字空间。''' == 参数 == * 1:添加的分类名称。 * 2:分类索引,一般用于修正排序或在分类页提前系列条目的主条目。 * nsid:生效的名字空间,填数字代…” |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
This {{#ifeq:{{NAMESPACENUMBER}}|828|module|template}} is designed to address classification issues caused by occasional template expansion errors combined with the [[Help:Cache|caching system]] on this site. | |||
''' | '''This {{#ifeq:{{NAMESPACENUMBER}}|828|module|template}} is only applicable in the template [[Help:Namespace|namespace]].''' | ||
== | == Parameters == | ||
* | * **1**: The name of the category to be added. | ||
* | * **2**: Category index, usually used to adjust sorting or prioritize the main entry of a series in the category page. | ||
* | * **nsid**: The namespace(s) in which the template is effective. Use numeric codes as defined in [[Help:Namespace]]. Supports the use of half-width commas as separators. | ||
* | * **nsidExclude**: Namespaces to exclude. If the **nsid** parameter is filled and not empty, this parameter will not take effect. | ||
* | * **noSubpage**: Excludes '''sub'''pages, which can help handle incorrect template references on users' '''main''' pages. | ||
* | * **strict**: Used for wrappers other than {{tl|SafeCate}}, such as {{tl|TemplateCate}}. This parameter must be set for the template to take effect, ensuring strict namespace restrictions. | ||
<noinclude>[[zh:Module:SafeCate/doc]][[Category:Template Documentation]]</noinclude> |
Latest revision as of 19:58, 13 January 2025
This module is designed to address classification issues caused by occasional template expansion errors combined with the caching system on this site.
This module is only applicable in the template namespace.
Parameters
- **1**: The name of the category to be added.
- **2**: Category index, usually used to adjust sorting or prioritize the main entry of a series in the category page.
- **nsid**: The namespace(s) in which the template is effective. Use numeric codes as defined in Help:Namespace. Supports the use of half-width commas as separators.
- **nsidExclude**: Namespaces to exclude. If the **nsid** parameter is filled and not empty, this parameter will not take effect.
- **noSubpage**: Excludes subpages, which can help handle incorrect template references on users' main pages.
- **strict**: Used for wrappers other than {{SafeCate}}, such as {{TemplateCate}}. This parameter must be set for the template to take effect, ensuring strict namespace restrictions.