Difference between revisions of "Template:Definition"

From Maths
Jump to: navigation, search
m
m
Line 15: Line 15:
 
* {{C|<nowiki>{{Definition|</nowiki>{{M|\text{Cat}_1}}<nowiki>|</nowiki>{{M|\text{Cat}_2}}<nowiki>|</nowiki>{{M|\ldots}}<nowiki>|</nowiki>{{M|\text{Cat}_n}}<nowiki>}}</nowiki>}}
 
* {{C|<nowiki>{{Definition|</nowiki>{{M|\text{Cat}_1}}<nowiki>|</nowiki>{{M|\text{Cat}_2}}<nowiki>|</nowiki>{{M|\ldots}}<nowiki>|</nowiki>{{M|\text{Cat}_n}}<nowiki>}}</nowiki>}}
 
This will automatically categorise the page in {{M|\text{Cat}_i}} and the definitions category for {{M|\text{Cat}_i}}
 
This will automatically categorise the page in {{M|\text{Cat}_i}} and the definitions category for {{M|\text{Cat}_i}}
[[Category:Templates]]
+
[[Category:Page marking templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:51, 19 February 2016

Purpose

This template is intended to make categorising of definitions easier. At time of writing it supports up to 6 arguments. That is you can categorise something as a definition belonging to 6 subjects.

Using the template

To use simply type:

  • {{Definition|[ilmath]\text{Cat}_1[/ilmath]|[ilmath]\text{Cat}_2[/ilmath]|[ilmath]\ldots[/ilmath]|[ilmath]\text{Cat}_n[/ilmath]}}

This will automatically categorise the page in [ilmath]\text{Cat}_i[/ilmath] and the definitions category for [ilmath]\text{Cat}_i[/ilmath]