Difference between revisions of "Template:Category"

(Formatting)
(Formatting)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
This category contains pages relating to {{{1}}} on the [[AoPS Wiki]].
+
This category contains pages relating to {{{1|{{lc:{{PAGENAME}}}}}}} on the [[AoPS Wiki]].
  
 
{{{3|}}}
 
{{{3|}}}
  
{{{category|[[Category:{{{2}}}]]}}}
+
{{{cat|[[Category:{{{2}}}]]}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
== Documentation ==
 
== Documentation ==
  
 
Use this templates on categories.
 
Use this templates on categories.
:{{category|link relating to category|name other category that this category should be included in|additional comments}}
+
:<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
 
For example, the category [[:Category:Triangles]] would look like
 
:<nowiki>{{category|[[triangle]]s|Geometry|Triangles are three-sided shapes.}}</nowiki>
 
:<nowiki>{{category|[[triangle]]s|Geometry|Triangles are three-sided shapes.}}</nowiki>

Revision as of 19:35, 4 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]]|cat=}}