Jump to content

Template:Infobox mathematical constant/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dan Leonard (talk | contribs) at 06:37, 18 December 2023 (Dan Leonard moved page User:Dan Leonard/Draft template:Infobox mathematical constant/doc to Template:Infobox mathematical constant/doc: Move to mainspace). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
{{{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.14159...<ref>{{Cite OEIS|A000796}}</ref>
| fields_of_application = {{flatlist |
* [[Geometry]]
* [[calculus]]
}}
| discovery_date = circa 1900 BCE
}}

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]]
| 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]]
}}
}}

Parameters

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.
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.
value_base Number base for |value=, if not base ten.
algebraic_form Algebraic form for the constant.
approximation Numerical approximation for the constant.
approximation_base Number base for |approximation=, if not base ten.
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

See also