Template:Math-link/doc

Math-link is a template designed to implement math for links to workaround a 'bug' in TemplateStyles (phab:T200704).

Usage
It is only necessary for the set of articles where all of the following are true:


 * 1) math would be used inside an internal link to wrap the link display text,
 * 2) math is used only for a part of the link display text, and
 * 3) The use of math, or one of the other templates using Template:Math/styles.css such as mvar, is the first use on the page.

If #1 or #3 is not true, use math instead. If #2 is not true, use math instead by wrapping the link and its expression text with the template, rather than putting the template inside the link text.

Item 1 is only an internal link. It is not an external link text and it is not an image link text.

Parameters
There are two required parameters. The rest are optional and should be employed only where necessary.


 * 1
 * link
 * Required. The link target.


 * math
 * Required. The first math display text.


 * pre
 * Optional. Display text intended to be placed before math.


 * prespace
 * Optional. Set to any value (such as y) to add a space between the text from pre and math.


 * midspace1
 * Optional. Set to any value (such as y) to add a space between the text from math and mid or math and math2.


 * mid
 * Optional. Display text intended to be placed between math and math2. Will likely require the use of at least one of the midnspace parameters.


 * midspace2
 * Optional. Set to any value (such as y) to add a space between the text from mid and math2 or math and math2.


 * math2
 * Optional. The second math display text.


 * postspace
 * Optional. Set to any value (such as y) to add a space between the text from mid and math2 or math and math2.


 * post
 * Optional. Display text intended to be placed after math (or math2).

Original articles
When first implemented, this template or its sister mvar-link was needed for approximately 100 pages out of some 5,000-8,000.


 * Abel–Ruffini theorem
 * Additive category
 * Affinity propagation
 * Algebraic equation
 * Ampère's circuital law
 * B − L
 * Band-pass filter
 * Binomial distribution
 * Borromean rings
 * Caroline Klivans
 * Central configuration
 * Central tendency
 * Character theory
 * Classification of finite simple groups
 * Clique-width
 * Closed-form expression
 * Coarea formula
 * Coefficient of fractional parentage
 * Compartmental models in epidemiology
 * Conflict continuum
 * Convex Polytopes
 * Convex embedding
 * Coordinate singularity
 * Deborah Joseph
 * Dimension
 * Dirac cone
 * Discrete Fourier transform (general)
 * Donald B. Johnson
 * Donald G. Saari
 * E number (disambiguation)
 * Entropy in thermodynamics and information theory
 * Enzo Martinelli
 * Euclidean space
 * Feynman diagram
 * Finite field
 * Flat (geometry)
 * Fly algorithm
 * Forbidden mechanism
 * Gabriel Andrew Dirac
 * Gabriella Pinzari
 * Geometric mean
 * Georges Giraud
 * Harmonious coloring
 * Hölder's inequality
 * Ideal (ring theory)
 * Immersed boundary method
 * Initial algebra
 * Jolie Cizewski
 * Julia Gordon
 * Kappa curve
 * Kolmogorov–Arnold–Moser theorem
 * Krull–Schmidt category
 * Langlands program
 * Laplacian of the indicator
 * Li's criterion
 * Likelihood principle
 * Locally integrable function
 * Logical connective
 * Lothar Collatz
 * Lou van den Dries
 * Mathematics Subject Classification
 * Measure space
 * Metric space
 * Minimum cut
 * Multiplicative group of integers modulo n
 * Nike Sun
 * Nu (letter)
 * Number
 * OZI rule
 * Octahedron
 * Ostrowski's theorem
 * P-adic analysis
 * Pati–Salam model
 * Period 4 element
 * Plane of rotation
 * Preselector
 * Pseudo-Euclidean space
 * Radical extension
 * Root (disambiguation)
 * Several complex variables
 * Singly and doubly even
 * Sobolev space
 * Stationary point
 * Studentized range distribution
 * Supersingular isogeny graph
 * T-antenna
 * Tamal Dey
 * Three-body problem
 * Transconductance
 * Vantage-point tree
 * Very low frequency
 * Wiener's Tauberian theorem
 * Yvette Amice
 * Zariski topology
 * 𝔹
 * 𝕊

Sunset
This template is intended to be a "temporary" workaround until the bug is resolved, at which point it should be changed to implement math directly, with spaces where appropriate, and then substed and deleted.