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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Infobox)
imported>Sardanaphalus
m (abovestyle, spacer widths)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| abovestyle = background:#e0e0e0;padding:0.2em 0.5em 0.25em;font-weight:bold;
+
| abovestyle = background:#e0e0e0;padding:0.15em 0.5em 0.25em;font-weight:bold;
 
| above = {{{name<includeonly>|</includeonly>}}}
 
| above = {{{name<includeonly>|</includeonly>}}}
 
| imagestyle = padding-bottom:0.4em;
 
| imagestyle = padding-bottom:0.4em;
 
| image = {{#if:{{{image<includeonly>|</includeonly>}}} |[[File:{{{image}}}|{{{imagesize|220px}}}|alt={{{imagealt|}}}]]}}
 
| image = {{#if:{{{image<includeonly>|</includeonly>}}} |[[File:{{{image}}}|{{{imagesize|220px}}}|alt={{{imagealt|}}}]]}}
| headerstyle = background:#e0e0e0;
+
| headerstyle = background:#e0e0e0;padding-bottom:0.2em;
 
| labelstyle = padding-top:0.25em;line-height:1.2em; padding-right:0.65em<!--(to ensure gap between (long/unwrapped) label and data on same line)-->;
 
| labelstyle = padding-top:0.25em;line-height:1.2em; padding-right:0.65em<!--(to ensure gap between (long/unwrapped) label and data on same line)-->;
  
Line 17: Line 17:
 
| label9  = [[Period (mathematics)|Period]]
 
| label9  = [[Period (mathematics)|Period]]
 
|  data9  = {{{period<includeonly>|</includeonly>}}}
 
|  data9  = {{{period<includeonly>|</includeonly>}}}
|  data10  = <div style="font-size:10%;line-height:0.1em;">&nbsp;</div>
+
|  data10  = <div style="font-size:15%;line-height:0.15em;">&nbsp;</div>
  
 
| header15 = {{#if:{{{zero<includeonly>|</includeonly>}}}{{{plusinf|}}}{{{minusinf|}}}{{{max|}}}{{{min|}}}{{{vr1|}}}
 
| header15 = {{#if:{{{zero<includeonly>|</includeonly>}}}{{{plusinf|}}}{{{minusinf|}}}{{{max|}}}{{{min|}}}{{{vr1|}}}
Line 41: Line 41:
 
| label31  = Value at&nbsp;{{{vr5<includeonly>|</includeonly>}}}
 
| label31  = Value at&nbsp;{{{vr5<includeonly>|</includeonly>}}}
 
|  data31  = {{{f5<includeonly>|</includeonly>}}}
 
|  data31  = {{{f5<includeonly>|</includeonly>}}}
|  data32  = <div style="font-size:10%;line-height:0.1em;">&nbsp;</div>
+
|  data32  = <div style="font-size:15%;line-height:0.15em;">&nbsp;</div>
  
 
| header35 = {{#if:{{{asymptote<includeonly>|</includeonly>}}}{{{root|}}}{{{critical|}}}{{{inflection|}}}{{{fixed|}}}
 
| header35 = {{#if:{{{asymptote<includeonly>|</includeonly>}}}{{{root|}}}{{{critical|}}}{{{inflection|}}}{{{fixed|}}}
Line 55: Line 55:
 
| label45  = [[Fixed point (mathematics)|{{allow wrap|Fixed point}}]]
 
| label45  = [[Fixed point (mathematics)|{{allow wrap|Fixed point}}]]
 
|  data45  = {{{fixed<includeonly>|</includeonly>}}}
 
|  data45  = {{{fixed<includeonly>|</includeonly>}}}
|  data46  = <div style="font-size:10%;line-height:0.1em;">&nbsp;</div>
+
|  data46  = <div style="font-size:15%;line-height:0.15em;">&nbsp;</div>
  
 
|  data49  = {{#if:{{{notes<includeonly>|</includeonly>}}} |<hr/>{{smaller|{{{notes}}}}} }}
 
|  data49  = {{#if:{{{notes<includeonly>|</includeonly>}}} |<hr/>{{smaller|{{{notes}}}}} }}
  
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 13:52, 1 June 2014

{{{name}}}
[[File:{{{image}}}|220px|alt=]]
Basic features
Parity{{{parity}}}
Domain{{{domain}}}
Codomain{{{codomain}}}
Period{{{period}}}
 
Specific values
At zero{{{zero}}}
Value at +{{{plusinf}}}
Value at -{{{minusinf}}}
Maxima{{{max}}}
Minima{{{min}}}
Value at {{{vr1}}}{{{f1}}}
Value at {{{vr5}}}{{{f5}}}
 
Specific features
Asymptote{{{asymptote}}}
Root{{{root}}}
Critical point{{{critical}}}
[[Inflection point|
  1. REDIRECT Template:Wrap]]
{{{inflection}}}
[[Fixed point (mathematics)|
  • REDIRECT Template:Wrap]]
  • {{{fixed}}}
     

    {{{notes}}}
    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
    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