Search results
Results from the WOW.Com Content Network
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 template determines the pair of colors with the larger contrast ratio: color1/color2 or color1/color3. This is useful for selecting a foreground/background color pair. For accessibility, WCAG 2.0 AA guidelines require a contrast ratio of 3 or larger for large text, and 4.5 or larger for normal sized text.
TemplateStyles allow custom CSS pages to be used to style content without an interface administrator having to edit sitewide CSS. TemplateStyles make it more convenient for editors to style templates; for example, those templates for which the sitewide CSS for the mobile skin or another skin (e.g. Timeless) currently negatively affects the display of the template.
This template returns the color contrast ratio between the two colors provided. It accepts two parameters, which can be a standard RGB hex color code (#RRGGBB) or a standard HTML color or CSS "orange" (= #FFA500). Color names and hex letters are case-insensitive (i.e. they may be upper- or lower-case).
Used to show that templates have been converted to use TemplateStyles. Template parameters [Edit template data] Parameter Description Type Status Stylesheet 1 1 Name of the main stylesheet used in the template or module. Use multiple parameters to specify multiple stylesheets. Page name required Stylesheet 2 2 Name of the second stylesheet. Page name optional Stylesheet 3 3 Name of the third ...
[[Category:Color templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Color templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.
This template internally uses mw:Extension:SyntaxHighlight, which is considered an 'expensive parser function' (see WP:EXPENSIVE). If used on a page which uses more than 500 expensive parser functions, the output of subsequent uses of this template will be presented using <code>...</code> formatting (without any syntax highlighting) instead.
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate