Template:Math-link/doc

Template page

This category is an index of templates which use TemplateStyles. It is automatically populated by {{Uses TemplateStyles}}.

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 |prespace=y) to add a space between the text from |pre= and |math=.
|midspace1=
Optional. Set to any value (such as |mid1space=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 |mid2space=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 |postspace=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=).

Examples

Examples
Math-link wikitext Display Original {{math}}
{{math-link |Norm (mathematics) |math=''ℓ<sup>2</sup>'' |post=-norm}} 2-norm [[Norm (mathematics)|{{math|''ℓ<sup>2</sup>''}}-norm]]
{{math-link |Lp space |math=''L<sup>p</sup>'' |postspace=y |post=spaces}} Lp spaces [[Lp space|{{math|''L<sup>p</sup>''}} spaces]]
{{math-link |Riemann Xi function |pre=Riemann |prespace=y |math=''ξ'' |postspace=y |post=function}} Riemann ξ function [[Riemann Xi function|Riemann {{math|''ξ''}} function]]
{{mvar-link |Q factor |pre=higher |prespace=y |mvar=Q}} Template:Mvar-link [[Q factor|higher {{mvar|Q}}]]

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.

  1. Abel–Ruffini theorem
  2. Additive category
  3. Affinity propagation
  4. Algebraic equation
  5. Ampère's circuital law
  6. B − L
  7. Band-pass filter
  8. Binomial distribution
  9. Borromean rings
  10. Caroline Klivans
  11. Central configuration
  12. Central tendency
  13. Character theory
  14. Classification of finite simple groups
  15. Clique-width
  16. Closed-form expression
  17. Coarea formula
  18. Coefficient of fractional parentage
  19. Compartmental models in epidemiology
  20. Conflict continuum
  21. Convex Polytopes
  22. Convex embedding
  23. Coordinate singularity
  24. Deborah Joseph
  25. Dimension
  26. Dirac cone
  27. Discrete Fourier transform (general)
  28. Donald B. Johnson
  29. Donald G. Saari
  30. E number (disambiguation)
  31. Entropy in thermodynamics and information theory
  32. Enzo Martinelli
  33. Euclidean space
  34. Feynman diagram
  35. Finite field
  36. Flat (geometry)
  37. Fly algorithm
  38. Forbidden mechanism
  39. Gabriel Andrew Dirac
  40. Gabriella Pinzari
  41. Geometric mean
  42. Georges Giraud
  43. Harmonious coloring
  44. Hölder's inequality
  45. Ideal (ring theory)
  46. Immersed boundary method
  47. Initial algebra
  48. Jolie Cizewski
  49. Julia Gordon
  50. Kappa curve
  51. Kolmogorov–Arnold–Moser theorem
  52. Krull–Schmidt category
  53. Langlands program
  54. Laplacian of the indicator
  55. Li's criterion
  56. Likelihood principle
  57. Locally integrable function
  58. Logical connective
  59. Lothar Collatz
  60. Lou van den Dries
  61. Mathematics Subject Classification
  62. Measure space
  63. Metric space
  64. Minimum cut
  65. Multiplicative group of integers modulo n
  66. Nike Sun
  67. Nu (letter)
  68. Number
  69. OZI rule
  70. Octahedron
  71. Ostrowski's theorem
  72. P-adic analysis
  73. Pati–Salam model
  74. Period 4 element
  75. Plane of rotation
  76. Preselector
  77. Pseudo-Euclidean space
  78. Radical extension
  79. Root (disambiguation)
  80. Several complex variables
  81. Singly and doubly even
  82. Sobolev space
  83. Stationary point
  84. Studentized range distribution
  85. Supersingular isogeny graph
  86. T-antenna
  87. Tamal Dey
  88. Three-body problem
  89. Transconductance
  90. Vantage-point tree
  91. Very low frequency
  92. Wiener's Tauberian theorem
  93. Yvette Amice
  94. Zariski topology
  95. 𝔹
  96. 𝕊

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.

See also