Difference between revisions of "Template:Definition"

From Maths
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
[[Category:Definitions]]
+
[[Category:Definitions]][[Category:All Definitions]]
 
{{#if: {{{1|}}} | [[Category:{{{1}}} Definitions]] | }} {{#if: {{{1|}}} | [[Category:{{{1}}}]] | }}
 
{{#if: {{{1|}}} | [[Category:{{{1}}} Definitions]] | }} {{#if: {{{1|}}} | [[Category:{{{1}}}]] | }}
 
{{#if: {{{2|}}} | [[Category:{{{2}}} Definitions]] | }} {{#if: {{{2|}}} | [[Category:{{{2}}}]] | }}
 
{{#if: {{{2|}}} | [[Category:{{{2}}} Definitions]] | }} {{#if: {{{2|}}} | [[Category:{{{2}}}]] | }}

Revision as of 16:47, 27 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]