Namespaces
Variants
Actions

Difference between revisions of "Template:MSCwiki"

From Encyclopedia of Mathematics
Jump to: navigation, search
m (→‎Usage: typographical)
m (Reqirements added, technical comments changed, no functionality change)
 
Line 15: Line 15:
  
 
==== Code ====
 
==== Code ====
This template depends on
+
This template is called by [[Template:MSC]],
[[Template:MSCwiki8]], [[Template:MSN_HOST]].
+
[[Template:MSCwiki8]].
 +
 
 +
Requirements: In ParserFunctions.php, set:
 +
 
 +
$wgPFEnableStringFunctions = true;
 +
 
 
</noinclude><!--
 
</noinclude><!--
 
-->{{#if:{{{1|}}}|<!--
 
-->{{#if:{{{1|}}}|<!--

Latest revision as of 09:34, 27 March 2015

Usage

{{MSCwiki|MSC}}

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

It returns a link to Wikipedia MSC2010

A two digit MSC entry like 16 is automatically extended to 16-XX.
A five digits entry like 16K50 generates a link to ...16Kxx but displays the full entry 16K50.


Code

This template is called by Template:MSC, Template:MSCwiki8.

Requirements: In ParserFunctions.php, set:

$wgPFEnableStringFunctions = true;


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