Template:Infobox mathematical constant/doc
Appearance
![]() | This is a documentation subpage for Template:Infobox mathematical constant. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | 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
{{User:Dan Leonard/Draft template:Infobox mathematical constant
| name =
| symbol =
| type =
| fields_of_application =
| main_applications =
| value =
| value_base = <!-- if not base ten -->
| algebraic_form =
| approximation =
| approximation_base = <!-- if not base ten -->
| continued_fraction =
| continued_fraction_periodic =
| continued_fraction_finite =
| discovery_date =
| discovery_person =
| discovery_work =
| named_after =
| notes =
}}
Example
The code below produces the box opposite:
User:Dan Leonard/Draft template:Infobox mathematical constant
{{User:Dan Leonard/Draft template:Infobox mathematical constant
| name = Pi
| symbol = {{pi}}
| type = [[Transcendental number|Transcendental]]
| approximation = 3.1415926535...
| fields_of_application = {{flatlist |
* [[Geometry]]
* [[calculus]]
}}
}}
User:Dan Leonard/Draft template:Infobox mathematical constant
{{User:Dan Leonard/Draft template:Infobox mathematical constant
| name = Euler's number
| symbol = {{mvar|e}}
| type = [[Transcendental number|Transcendental]]
| approximation = 2.71828...
| fields_of_application = {{flatlist |
* [[Calculus]]
* [[statistics]]
}}
| 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]]
}}
}}