Difference between revisions of "Template:Category"

(Formatting)
(Add ''content'' parameter)
 
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
This category contains pages relating to {{{1|{{lc:{{PAGENAME}}}}}}} on the [[AoPS Wiki]].
+
This category contains {{{content|pages relating to {{{1|{{lc:{{PAGENAME}}}}}}}}}} on the [[AoPS Wiki]].
  
 
{{{3|}}}
 
{{{3|}}}
  
{{{cat|[[Category:{{{2}}}]]}}}
+
{{{nocat|[[Category:{{{2}}}]]}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
== Documentation ==
 
== Documentation ==
Line 14: Line 14:
 
and would be included in [[:Category:Geometry]].
 
and would be included in [[:Category:Geometry]].
 
The category [[:Category:Mathematics]], if included in no other category would look like
 
The category [[:Category:Mathematics]], if included in no other category would look like
:<nowiki>{{category|[[mathematics]]|cat=}}</nowiki>
+
:<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=}}