Namespaces
Variants
Actions

Difference between revisions of "Template:MSCwiki"

From Encyclopedia of Mathematics
Jump to: navigation, search
(Created page with "<noinclude> == Usage == <nowiki>{{MSCwiki|<i>MSC</i>}}</nowiki> where ''MSC'' is a single [http://msc2010.org/mscwiki/index.php?title=MSC2010 MSC] entry like 16-XX, 16Kxx, 16...")
 
m (→‎Usage: Display the original MSC entry, not its corresponding link address)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
==<noinclude>
 
== Usage ==
 
== Usage ==
 
<nowiki>{{MSCwiki|<i>MSC</i>}}</nowiki>
 
<nowiki>{{MSCwiki|<i>MSC</i>}}</nowiki>
Line 21: Line 22:
 
       | #default = xx
 
       | #default = xx
 
     }}
 
     }}
}} <!--
+
    }} <!--
 
-->{{#ifexpr:{{#len:{{{1}}} }}=2| {{{1}}}-XX |
 
-->{{#ifexpr:{{#len:{{{1}}} }}=2| {{{1}}}-XX |
    {{padright:|3|{{{1}}} }}<!--
+
<!-- 
  -->{{#switch:{{#pos:{{{1}}}|-}}
+
padding suppressed here in order to display complete entry:
 +
      {{padright:|3|{{{1}}} }}
 +
      {{#switch:{{#pos:{{{1}}}|-}}
 
       | 2        = XX  
 
       | 2        = XX  
 
       | #default = xx
 
       | #default = xx
     }}
+
     }}-->
}}]|
+
    {{{1}}}
 +
  }}]|
 
}}
 
}}

Revision as of 10:11, 27 January 2012

==

Usage

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

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

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

It returns a link to Wikipedia MSC2010


This template depends on Template:MSCwiki8, Template:MSN_HOST.

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