Language selection

Variables

Work in progress

This page is a work in progress.

Please file an issue or submit a pull request if information or coding is missing, incorrect or out of sync with the main repository (wet-boew/wet-boew).

Purpose

Use when there is reference to a variable like “x.”, "n" or "y" within a sentence (a non-mathematical phrase).

Design and coding

Basic use

Default

Use the <var> tag to indicate a variable like “x.”, "n" or "y" within a sentence . On its own, <var> is not a mathematical equation.

Appearance
Over n years, the increase in payments is x.
Correct use

Compliance point(s):

  • Use <var> to define a variable like "x", "n" or "y" within a sentence
Incorrect use

Compliance point(s):

  • Do not use this component in a way that conflicts with the preceding compliance point(s)
  • Do not use for mathematical equations. Refer to: MathML polyfill
Code
Over <var>n</var> years, the increase in payments is <var>x</var>.

Enhanced use

Add-on features

Additional add-on features and behaviours are available.

Some of the code and documentation for this page is sourced from Bootstrap (external link)

Date modified: