Search results
Results from the WOW.Com Content Network
The switch parser function, coded as "#switch", selects the first matching branch in a list of choices, acting as a case statement. Each branch can be a value , an expression ( calculation ), or a template call, [ 1 ] evaluated and compared to match the value of the switch.
Page-dependent magic words will change or show information about the current page, even if the word is from a template, though in most cases, this is the desired effect. If I insert {{exampletemplate}} and it says {{PAGENAME}}, I will see "Magic words for beginners" even though it is from "Template:example template".
A template is a Wikipedia page created to be included in other pages. It usually contains repetitive material that may need to show up on multiple articles or pages, often with customizable input. Templates sometimes use MediaWiki parser functions, nicknamed "magic words", a simple scripting language. Template pages are found in the template ...
This parser function can be used to detect whether a template parameter is defined, even if it has been set to a false value. For example, to check whether the first positional parameter has been passed to a template (note that the strings "+" and "-" can be any two different non-whitespace strings):
The math template formats mathematical formulas generated using HTML or wiki markup. (It does not accept the AMS-LaTeX markup that <math> does.) The template uses the texhtml class by default for inline text style formulas, which aims to match the size of the serif font with the surrounding sans-serif font (see below). The template also ...
This template's initial visibility currently defaults to expanded, meaning that it is fully visible. To change this template's initial visibility, the |state= parameter may be used: {{Math templates | state = collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
This template's initial visibility currently defaults to expanded, meaning that it is fully visible. To change this template's initial visibility, the |state= parameter may be used: {{ Math templates | state = collapsed }} will show the template collapsed, i.e. hidden apart from its title bar.
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)