Search results
Results from the WOW.Com Content Network
This helper template is designed to be used in other templates. It can help editors create template code that is more self documenting. A major advantage of using this template over using the construct {{#if:{{{1|}}}{{{2|}}} |…}} is that if the first parameter is not empty then the second parameter is not evaluated.
This template creates a shaded table cell according to its value. It interpolates the colour between given min and max values and colors (if not specified, these are assumed to be white for the min and black for the max).
See also: the {} template. The #if function selects one of two alternatives based on the truth value of a test string. {{#if: test string | value if true | value if false}} As explained above, a string is considered true if it contains at least one non-whitespace character. Any string containing only whitespace or no characters at all will be ...
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate
Get AOL Mail for FREE! Manage your email like never before with travel, photo & document views. Personalize your inbox with themes & tabs. You've Got Mail!
Note: When hovered over, the template shows the value used for color as a tooltip by default. This is also heard by a screen reader. An optional parameter, |description= can be used to change that to something more user-friendly, as shown in the third example.
argument_1 can be omitted if the color template has only one value, or it is desired to show the default color; argument_2 through argument_5 are optional. All five are valid inputs for the color template.
This is a documentation subpage for Template:If dark. It may contain usage information, categories and other content that is not part of the original template page. This template uses TemplateStyles :