Namespaces
Variants
Actions

Difference between revisions of "Template:Category"

From Encyclopedia of Mathematics
Jump to: navigation, search
(Created page with "<noinclude> == Usage == <nowiki>{{Category|<i>MSC</i>}}</nowiki> where ''MSC'' is a single [http://msc2010.org/mscwiki/index.php?title=MSC2010 MSC] entry like 16-XX, 16Kxx, 1...")
 
m
Line 11: Line 11:
 
This template is directly called by [[Template:MSCwiki8]] (and
 
This template is directly called by [[Template:MSCwiki8]] (and
 
implicitly  by [[Template:MSC]] ).
 
implicitly  by [[Template:MSC]] ).
</noinclude>{{#if:{{{1|}}}|<!--
+
</noinclude>{{#ifeq:{{padright:|9|{{FULLPAGENAME}}}}|Category:||<!--
 +
-->{{#if:{{{1|}}}|<!--
 
-->{{#switch:{{padright:|2|{{{1}}}}}
 
-->{{#switch:{{padright:|2|{{{1}}}}}
 
     |06|08|12|13|14|15|16|17|18|19|20 = [[Category:Algebra]]
 
     |06|08|12|13|14|15|16|17|18|19|20 = [[Category:Algebra]]
Line 120: Line 121:
 
     | #default = [[Category:{{{1|}}} not defined]]
 
     | #default = [[Category:{{{1|}}} not defined]]
 
   }}
 
   }}
 +
}}
 
}}
 
}}

Revision as of 22:59, 27 January 2012

Usage

{{Category|<i>MSC</i>}}

where MSC is a single MSC entry like 16-XX, 16Kxx, 16K50

A two digit MSC entry like 16 is allowed and automatically extended to 16-XX.

It generates and returns appropriate category entries for the MSC entry.


This template is directly called by Template:MSCwiki8 (and implicitly by Template:MSC ).

How to Cite This Entry:
Category. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Category&oldid=20549