Template:Infobox mathematical constant
| This template uses Lua: |
| {{{name}}} | |
|---|---|
| {{{symbol}}} | |
| General information | |
| Type | {{{type}}} |
| Fields | {{{fields_of_application}}} |
| Main uses | {{{main_applications}}} |
| Representations | |
| Value | {{{value}}} |
| Algebraic form | {{{algebraic_form}}} |
| Approximation | {{{approximation}}} |
| Continued fraction | {{{continued_fraction}}} |
| History | |
| Discovered | {{{discovery_date}}} |
| By | {{{discovery_person}}} |
| First mention | {{{discovery_work}}} |
| Named after | {{{named_after}}} |
{{{notes}}} | |
Blank syntax
[edit]{{Infobox mathematical constant
| name =
| symbol =
| type =
| fields_of_application =
| main_applications =
| value =
| algebraic_form =
| approximation =
| continued_fraction =
| discovery_date =
| discovery_person =
| discovery_work =
| named_after =
| notes =
}}
Example
[edit]The code below produces the box opposite:
| Pi | |
|---|---|
| π 3.14159...[1] | |
| General information | |
| Type | Transcendental |
| Fields | |
| History | |
| Discovered | circa 1900 BCE |
{{Infobox mathematical constant
| name = Pi
| symbol = {{pi}}
| type = [[Transcendental number|Transcendental]]
| approximation = 3.14159...<ref>{{Cite OEIS|A000796}}</ref>
| fields_of_application = {{flatlist |
* [[Geometry]]
* [[calculus]]
}}
| discovery_date = circa 1900 BCE
}}
| Euler's number | |
|---|---|
| e | |
| General information | |
| Type | Transcendental |
| Fields | |
| Representations | |
| Approximation | 2.71828...[2] |
| Continued fraction | [2; 1, 2, 1, 1, 4, 1, 1, 6, 1, ..., 1, 2n, 1, ...][3] |
| History | |
| Discovered | 1685 |
| By | Jacob Bernoulli |
| First mention | Quæstiones nonnullæ de usuris, cum solutione problematis de sorte alearum, propositi in Ephem. Gall. A. 1685 |
| Named after | |
{{Infobox mathematical constant
| name = Euler's number
| symbol = {{mvar|e}}
| type = [[Transcendental number|Transcendental]]
| fields_of_application = {{flatlist |
* [[Calculus]]
* [[statistics]]
}}
| approximation = 2.71828...<ref>{{Cite OEIS|A001113}}</ref>
| continued_fraction = [2; 1, 2, 1, 1, 4, 1, 1, 6, 1, ..., 1, 2n, 1, ...]<ref>{{Cite OEIS|A003417}}</ref>
| discovery_date = 1685
| discovery_person = [[Jacob Bernoulli]]
| discovery_work = ''Quæstiones nonnullæ de usuris, cum solutione problematis de sorte alearum, propositi in Ephem. Gall. A. 1685''
| named_after = {{flatlist |
* [[Leonhard Euler]]
* [[John Napier]]
}}
}}
- ^ Sloane, N. J. A. (ed.). "Sequence A000796". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
- ^ Sloane, N. J. A. (ed.). "Sequence A001113". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
- ^ Sloane, N. J. A. (ed.). "Sequence A003417". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
Parameters
[edit]All parameters are optional. Separate multiple entries using {{Plainlist}}.
| Parameter | Notes |
|---|---|
| name | Race name to display in top header (default = PAGENAME). |
| symbol | The symbol used to represent the number. Displays large in the style of {{Infobox grapheme}}. |
| type | The type of constant (rational, irrational, transcendental, etc.) |
| fields_of_application | Fields that the constant is primarily associated with. Separate multiple entries using {{Flatlist}}. |
| main_applications | Main uses for the constant. Separate multiple entries using {{Flatlist}}. |
| value | A fixed and easy to represent value for the constant, if it exists. |
| algebraic_form | Algebraic form for the constant. |
| approximation | Numerical approximation for the constant. |
| continued_fraction | Continued fraction for the constant. |
| discovery_date | Date the constant was discovered, if possible to determine. |
| discovery_person | Person who discovered the constant, if possible to determine. Wikilink if possible. |
| discovery_work | The paper or book that first described the constant, if possible to determine. |
| named_after | Who or what the common name of the constant is named after. Separate multiple entries using {{Flatlist}}. |
| notes | Notes. |
Tracking category
[edit]See also
[edit]No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name to display in top header
| String | optional |
| Symbol | symbol | The symbol used to represent the number. Displays large in the style of {{Infobox grapheme}}.
| String | suggested |
| Value | value | A fixed and easy to represent value for the constant, if it exists.
| Number | optional |
| Approximation | approximation | Numerical approximation for the constant.
| Number | optional |
| Algebraic form | algebraic_form | Algebraic form for the constant. | String | optional |
| Continued fraction | continued_fraction | Continued fraction for the constant.
| Unknown | optional |
| Type | type | The type of constant.
| String | suggested |
| Fields of application | fields_of_application | Fields that the constant is primarily associated with. Separate multiple entries using {{flatlist}} or {{hlist}}.
| String | optional |
| Main applications | main_applications | Main uses for the constant. Separate multiple entries using {{flatlist}} or {{hlist}}. | String | optional |
| Discovery date | discovery_date | Date the constant was discovered, if possible to determine.
| Date | suggested |
| Discoverer | discovery_person | Person who discovered the constant, if possible to determine. Wikilink if possible.
| String | suggested |
| Discovery work | discovery_work | The paper or book that first described the constant, if possible to determine.
| String | optional |
| Named after | named_after | Who or what the common name of the constant is named after. Separate multiple entries using {{flatlist}} or {{hlist}}. Wikilink if possible.
| String | suggested |
| Notes | notes | Notes. | String | optional |