Difference between revisions of "Template:Definition"

From Maths
Jump to: navigation, search
(Bumped to 8 subjects)
m (Fixing typo from copying and pasting (for the 8th definition category name))
 
Line 8: Line 8:
 
-->{{#if: {{{6|}}} | [[Category:{{{6}}} Definitions]] | }} {{#if: {{{6|}}} | [[Category:{{{6}}}]] | }}<!--
 
-->{{#if: {{{6|}}} | [[Category:{{{6}}} Definitions]] | }} {{#if: {{{6|}}} | [[Category:{{{6}}}]] | }}<!--
 
-->{{#if: {{{7|}}} | [[Category:{{{7}}} Definitions]] | }} {{#if: {{{7|}}} | [[Category:{{{7}}}]] | }}<!--
 
-->{{#if: {{{7|}}} | [[Category:{{{7}}} Definitions]] | }} {{#if: {{{7|}}} | [[Category:{{{7}}}]] | }}<!--
-->{{#if: {{{8|}}} | [[Category:{{{8}}} Definitions]] | }} {{#if: {{{6|}}} | [[Category:{{{8}}}]] | }}<!--
+
-->{{#if: {{{8|}}} | [[Category:{{{8}}} Definitions]] | }} {{#if: {{{8|}}} | [[Category:{{{8}}}]] | }}<!--
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
==Purpose==
 
==Purpose==

Latest revision as of 07:20, 28 July 2018

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 8 subjects.

Log:

  • 6 increased to 8 subjects - the disambiguation list for trivial was too long Alec (talk) 13:27, 16 February 2017 (UTC)


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]