Template:TemplateCate/doc: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
m 1 revision imported
m Text replacement - "{{lc:}}" to ""
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
本模板旨在应对本站时而发生的模板展开异常结合[[Help:缓存|缓存功能]]导致的分类异常问题。
This template is designed to address classification issues caused by occasional template expansion errors combined with the [[Help:Cache|caching system]] on this site.


本模板是对[[Module:SafeCate]]的封装模板之一,仅应用于模板编写,给引用相应模板(如{{tl|Info}})的模板添加分类。
This template is one of the wrappers for [[Module:SafeCate]] and is only used in template creation, adding categories to templates referencing corresponding templates (e.g., {{tl|Info}}).


== 参数 ==
== Parameters ==


* 1:添加的分类名称。
* **1**: The name of the category to be added.
* 2:分类索引,一般用于修正排序或在分类页提前系列条目的主条目。
* **2**: Category index, usually used to adjust sorting or prioritize the main entry of a series in the category page.
* noSubpage:不应用于''''''页面。
* **noSubpage**: Excludes '''sub'''pages from being applied.


== 参见 ==
== See Also ==


*[[Template:SafeCate]]
* [[Template:SafeCate]]
<noinclude>[[Category:模板文档]]</noinclude>
<noinclude>[[zh:Template:TemplateCate/doc]][[Category:T{{lc: emplate documentation}}]]</noinclude>

Latest revision as of 22:34, 12 April 2025

This template is designed to address classification issues caused by occasional template expansion errors combined with the caching system on this site.

This template is one of the wrappers for Module:SafeCate and is only used in template creation, adding categories to templates referencing corresponding templates (e.g., {{Info}}).

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.
  • **noSubpage**: Excludes subpages from being applied.

See Also