Difference between revisions of "Template:Infobox mathematics function/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(sandbox handling)
imported>Zyxw
m (note Lua module used, add link to tracking category, add template category)
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Function{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
|name=''name'' |image={{{image}}} |parity=''parity'' |domain=''domain'' |codomain=''codomain'' |period=''period'' |zero=''zero'' |plusinf=''plusinf'' |minusinf=''minusinf'' |max=''max'' |min=''min'' |vr1=''vr1'' |f1=''f1'' |vr5=''vr5'' |f5=''f5'' |asymptote=''asymptote'' |root=''root'' |critical=''critical'' |inflection=''inflection'' |fixed=''fixed'' |notes=''notes''}}
+
 
 +
{{Generic template demo |_display=italics |name |image={{{image}}} |parity |domain |codomain |period |zero |plusinf |minusinf |max |min |vr1 |f1 |vr2 |f2 |vr3=[...] |f3=[...] |vr5 |f5 |asymptote |root |critical |inflection |fixed |notes}}
  
 
== Blank syntax ==
 
== Blank syntax ==
 
<pre>
 
<pre>
{{Function
+
{{Infobox mathematics function
 
| name =  
 
| name =  
 
| image= |imagesize= <!--(default 220px)--> |imagealt=
 
| image= |imagesize= <!--(default 220px)--> |imagealt=
Line 27: Line 28:
 
* root is the x-intercept, critical is the critical point(s), inflection is inflection point(s)
 
* root is the x-intercept, critical is the critical point(s), inflection is inflection point(s)
 
* fixed is [[Fixed point (mathematics)|fixed point]](s)
 
* fixed is [[Fixed point (mathematics)|fixed point]](s)
 +
{{clear right}}
 +
 +
== Example ==
  
For example, the below produces the box to the right:
+
The code below produces the box opposite:
{{Function
+
{{Infobox mathematics function{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
|name = Sine
+
| name = Sine
|image = Sinus.svg
+
| image = Sinus.svg
|heading1 = 1
+
| parity=odd |domain=(-∞,∞) |codomain=[-1,1] |period=2π
|parity = odd
+
| zero=0 |plusinf= |minusinf= |max=((2k+½)π,1) |min=((2k-½)π,-1)
|domain = (-∞,∞)
+
| asymptote= |root=kπ |critical=kπ-π/2 |inflection=kπ |fixed=0
|codomain = [-1,1]
+
| notes = Variable k is an [[integer]].
|period = 2π
 
|heading2 = 1
 
|zero = 0
 
|plusinf =
 
|minusinf =
 
|max = ((2k+½)π,1)
 
|min = ((2k-½)π,-1)
 
|vr1 =
 
|f1 =
 
|vr2 =
 
|f2 =
 
|vr3 =
 
|f3 =
 
|vr4 =
 
|f4 =
 
|vr5 =
 
|f5 =
 
|heading3 = 1
 
|asymptote =
 
|root = kπ
 
|critical = kπ-π/2
 
|inflection = kπ
 
|fixed = 0
 
|notes =Variable k is an [[integer]].
 
 
}}
 
}}
 
<pre>
 
<pre>
{{Function
+
{{Infobox mathematics function
|name = Sine
+
| name = Sine
|image = Sinus.svg
+
| image = Sinus.svg
|heading1 = 1
+
| parity=odd |domain=(-∞,∞) |codomain=[-1,1] |period=2π
|parity = odd
+
| zero=0 |plusinf= |minusinf= |max=((2k+½)π,1) |min=((2k-½)π,-1)
|domain = (-∞,∞)
+
| asymptote= |root=kπ |critical=kπ-π/2 |inflection=kπ |fixed=0
|codomain = [-1,1]
+
| notes = Variable k is an [[integer]].
|period = 2π
 
|heading2 = 1
 
|zero = 0
 
|plusinf =
 
|minusinf =
 
|max = ((2k+½)π,1)
 
|min = ((2k-½)π,-1)
 
|vr1 =
 
|f1 =
 
|vr2 =
 
|f2 =
 
|vr3 =
 
|f3 =
 
|vr4 =
 
|f4 =
 
|vr5 =
 
|f5 =
 
|heading3 = 1
 
|asymptote =
 
|root = kπ
 
|critical = kπ-π/2
 
|inflection = kπ
 
|fixed = 0
 
|notes =Variable k is an [[integer]].
 
 
}}
 
}}
 
</pre>
 
</pre>
 +
{{clear right}}
 +
 +
== Tracking category ==
 +
* {{clc|Pages using infobox mathematics function with unknown parameters}}
  
 
== See also ==
 
== See also ==
{{Math templates |boxes}}
+
{{Math templates|BTN}}
  
<includeonly>
+
<includeonly>{{basepage subpage|
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
[[Category:Mathematics infobox templates]]
[[Category:Mathematics templates]]
+
[[Category:Statistics templates]]
}}
+
[[Category:Templates that add a tracking category]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:57, 10 February 2019

  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
Sinus.svg
Basic features
Parityodd
Domain(-∞,∞)
Codomain[-1,1]
Period
 
Specific values
At zero0
Maxima((2k+½)π,1)
Minima((2k-½)π,-1)
 
Specific features
Root
Critical pointkπ-π/2
[[Inflection point|
  1. REDIRECT Template:Wrap]]
[[Fixed point (mathematics)|
  • REDIRECT Template:Wrap]]
  • 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