Difference between revisions of "Template:Category"

(New template)
 
(Add ''content'' parameter)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This category contains pages relating to {{{1}}} on the [[AoPS Wiki]].
+
<includeonly>
 +
This category contains {{{content|pages relating to {{{1|{{lc:{{PAGENAME}}}}}}}}}} on the [[AoPS Wiki]].
  
{{{3}}}
+
{{{3|}}}
  
[[Category:{{{2}}}]]
+
{{{nocat|[[Category:{{{2}}}]]}}}
 +
</includeonly><noinclude>
 +
== Documentation ==
 +
 
 +
Use this templates on categories.
 +
:<nowiki>{{category|link relating to category|name other category that this category should be included in|additional comments}}</nowiki>
 +
For example, the category [[:Category:Triangles]] would look like
 +
:<nowiki>{{category|[[triangle]]s|Geometry|Triangles are three-sided shapes.}}</nowiki>
 +
and would be included in [[:Category:Geometry]].
 +
The category [[:Category:Mathematics]], if included in no other category would look like
 +
:<nowiki>{{category|[[mathematics]]|nocat=}}</nowiki>

Latest revision as of 17:23, 19 March 2025

Documentation

Use this templates on categories.

{{category|link relating to category|name other category that this category should be included in|additional comments}}

For example, the category Category:Triangles would look like

{{category|[[triangle]]s|Geometry|Triangles are three-sided shapes.}}

and would be included in Category:Geometry. The category Category:Mathematics, if included in no other category would look like

{{category|[[mathematics]]|nocat=}}