Difference between revisions of "Template:Infobox mathematics function"

From blackwiki
Jump to navigation Jump to search
imported>Pengo
(add links, clarify zero = "At zero" (vs root))
imported>Frungi
Line 1: Line 1:
<table width="250" class="floatright wikitable">{{ #if: {{{name|}}} | <tr><td colspan="2" style="background-color:#e0e0e0"><center>'''{{{name}}}'''</center></td></tr> }}{{ #if: {{{image |}}} | <tr><td colspan="2"><center>[[Image:{{{image}}}|220px]]</center></td></tr> }}{{ #if: {{{heading1|}}} | <tr><td colspan="2" style="background-color:#e0e0e0"> ''Basic features'' </td></tr> }}{{ #if: {{{parity |}}} | <tr><td width="160"> [[Even and odd functions|Parity]] </td><td> {{{parity}}} </td></tr> }}{{ #if: {{{domain|}}} | <tr><td width="160"> [[Domain of a function|Domain]] </td><td> {{{domain}}} </td></tr> }}{{ #if: {{{codomain|}}} | <tr><td width="160"> [[Codomain]] </td><td> {{{codomain}}} </td></tr> }}{{ #if: {{{period|}}} | <tr><td width="160"> [[Period (mathematics)|Period]] </td><td> {{{period}}} </td></tr> }}{{ #if: {{{heading2|}}} | <tr><td colspan="2" style="background-color:#e0e0e0"> ''Specific values'' </td></tr> }}{{ #if: {{{zero|}}} | <tr><td width="160"> [[y-intercept|At zero]]</td><td> {{{zero}}} </td></tr> }}{{ #if: {{{plusinf|}}} | <tr><td width="160"> Value at +∞ </td><td> {{{plusinf}}} </td></tr> }}{{ #if: {{{minusinf|}}} | <tr><td width="160"> Value at -∞ </td><td> {{{minusinf}}} </td></tr> }}{{ #if: {{{max|}}} | <tr><td width="160"> Maxima </td><td> {{{max}}} </td></tr> }}{{ #if: {{{min|}}} | <tr><td width="160"> Minima </td><td> {{{min}}} </td></tr> }}{{ #if: {{{vr1|}}} | <tr><td width="160"> Value at {{{vr1}}} </td><td> {{{f1}}} </td></tr> }}{{ #if: {{{vr2|}}} | <tr><td width="160"> Value at {{{vr2}}} </td><td> {{{f2}}} </td></tr> }}{{ #if: {{{vr3|}}} | <tr><td width="160"> Value at {{{vr3}}} </td><td> {{{f3}}} </td></tr> }}{{ #if: {{{vr4|}}} | <tr><td width="160"> Value at {{{vr4}}} </td><td> {{{f4}}} </td></tr> }}{{ #if: {{{vr5|}}} | <tr><td width="160"> Value at {{{vr5}}} </td><td> {{{f5}}} </td></tr> }}{{ #if: {{{heading3|}}} | <tr><td colspan="2" style="background-color:#e0e0e0"> ''Specific features'' </td></tr> }}{{ #if: {{{asymptote|}}} | <tr><td width="160"> [[Asymptote]] </td><td> {{{asymptote}}} </td></tr> }}{{ #if: {{{root|}}} | <tr><td width="160"> [[Root of a function|Root]] </td><td> {{{root}}} </td></tr> }}{{ #if: {{{critical|}}} | <tr><td width="160"> [[Critical point (mathematics)|Critical point]]</td><td> {{{critical}}} </td></tr> }}{{ #if: {{{inflection|}}} | <tr><td width="160"> [[Inflection point]]</td><td> {{{inflection}}} </td></tr> }}{{ #if: {{{fixed|}}} | <tr><td width="160"> [[Fixed point (mathematics)|Fixed point]]</td><td> {{{fixed}}} </td></tr> }}{{ #if: {{{notes|}}} | <tr><td colspan="2"><small>{{{notes}}}</small></td></tr> }}</table><noinclude>{{/doc}}</noinclude>
+
<table width="250" class="floatright wikitable">{{ #if: {{{name|}}} | <tr><td colspan="2" style="background-color:#e0e0e0"><center>'''{{{name}}}'''</center></td></tr> }}{{ #if: {{{image |}}} | <tr><td colspan="2"><center>[[Image:{{{image}}}|220px]]</center></td></tr> }}{{ #if: {{{heading1|}}} | <tr><td colspan="2" style="background-color:#e0e0e0"> ''Basic features'' </td></tr> }}{{ #if: {{{parity |}}} | <tr><td width="160"> [[Even and odd functions|Parity]] </td><td> {{{parity}}} </td></tr> }}{{ #if: {{{domain|}}} | <tr><td width="160"> [[Domain of a function|Domain]] </td><td> {{{domain}}} </td></tr> }}{{ #if: {{{codomain|}}} | <tr><td width="160"> [[Codomain]] </td><td> {{{codomain}}} </td></tr> }}{{ #if: {{{period|}}} | <tr><td width="160"> [[Period (mathematics)|Period]] </td><td> {{{period}}} </td></tr> }}{{ #if: {{{heading2|}}} | <tr><td colspan="2" style="background-color:#e0e0e0"> ''Specific values'' </td></tr> }}{{ #if: {{{zero|}}} | <tr><td width="160"> [[y-intercept|At zero]]</td><td> {{{zero}}} </td></tr> }}{{ #if: {{{plusinf|}}} | <tr><td width="160"> Value at +∞ </td><td> {{{plusinf}}} </td></tr> }}{{ #if: {{{minusinf|}}} | <tr><td width="160"> Value at -∞ </td><td> {{{minusinf}}} </td></tr> }}{{ #if: {{{max|}}} | <tr><td width="160"> Maxima </td><td> {{{max}}} </td></tr> }}{{ #if: {{{min|}}} | <tr><td width="160"> Minima </td><td> {{{min}}} </td></tr> }}{{ #if: {{{vr1|}}} | <tr><td width="160"> Value at {{{vr1}}} </td><td> {{{f1}}} </td></tr> }}{{ #if: {{{vr2|}}} | <tr><td width="160"> Value at {{{vr2}}} </td><td> {{{f2}}} </td></tr> }}{{ #if: {{{vr3|}}} | <tr><td width="160"> Value at {{{vr3}}} </td><td> {{{f3}}} </td></tr> }}{{ #if: {{{vr4|}}} | <tr><td width="160"> Value at {{{vr4}}} </td><td> {{{f4}}} </td></tr> }}{{ #if: {{{vr5|}}} | <tr><td width="160"> Value at {{{vr5}}} </td><td> {{{f5}}} </td></tr> }}{{ #if: {{{heading3|}}} | <tr><td colspan="2" style="background-color:#e0e0e0"> ''Specific features'' </td></tr> }}{{ #if: {{{asymptote|}}} | <tr><td width="160"> [[Asymptote]] </td><td> {{{asymptote}}} </td></tr> }}{{ #if: {{{root|}}} | <tr><td width="160"> [[Root of a function|Root]] </td><td> {{{root}}} </td></tr> }}{{ #if: {{{critical|}}} | <tr><td width="160"> [[Critical point (mathematics)|Critical point]]</td><td> {{{critical}}} </td></tr> }}{{ #if: {{{inflection|}}} | <tr><td width="160"> [[Inflection point]]</td><td> {{{inflection}}} </td></tr> }}{{ #if: {{{fixed|}}} | <tr><td width="160"> [[Fixed point (mathematics)|Fixed point]]</td><td> {{{fixed}}} </td></tr> }}{{ #if: {{{notes|}}} | <tr><td colspan="2"><small>{{{notes}}}</small></td></tr> }}</table><noinclude>{{Documentation}}</noinclude>

Revision as of 07:12, 1 June 2013

50px Template documentation[view] [edit] [history] [purge]
  1. redirect Template:Parameter names example

Blank syntax

{{Infobox mathematics function
| name = 
| image= |imagesize= <!--(default 220px)--> |imagealt=

| parity= |domain= |codomain= |period=

| zero= |plusinf= |minusinf= |max= |min=
| vr1= |f1= |vr2= |f2= |vr3= |f3= |vr4= |f4= |vr5= |f5=

| asymptote= |root= |critical= |inflection= |fixed=

| notes = 
}}

Parameters

  • Pairs VR1-f1, f1-VR2, etc. are used for labeling specific value functions. Suppose a function at the point e has a value of 2e and that this point is because of something specific. In this case you should put that as VR1 = eand f1 = 2e. For the next point is used a couple of VR2-f2, etc. If you run out of points (five currently available), ask for more.
  • Variables heading1, heading2, heading3 define whether some of the headlines basic properties, specific values, etc. be displayed. If you do not want a title to be displayed, simply delete the variable from the template. Set the value of the variable to 0 or anything will not prevent the display title.
  • Variables plusinf and minusinf indicate the value function at + ∞ and - ∞.
  • root is the x-intercept, critical is the critical point(s), inflection is inflection point(s)
  • fixed is fixed point(s)

Example

The code below produces the box opposite:

Sine
220px
Parity odd
Domain (-∞,∞)
Codomain [-1,1]
Period
At zero 0
Maxima ((2k+½)π,1)
Minima ((2k-½)π,-1)
Root
Critical point kπ-π/2
Inflection point
Fixed point 0
Variable k is an integer.
{{Infobox mathematics function
| name = Sine
| image = Sinus.svg
| parity=odd |domain=(-∞,∞) |codomain=[-1,1] |period=2π
| zero=0 |plusinf= |minusinf= |max=((2k+½)π,1) |min=((2k-½)π,-1)
| asymptote= |root=kπ |critical=kπ-π/2 |inflection=kπ |fixed=0
| notes = Variable k is an [[integer]].
}}

Tracking category

See also