Search results
Results from the WOW.Com Content Network
Shows a legend row with a colored box and a caption. Template parameters [Edit template data] Parameter Description Type Status Color 1 The color for the legend entry, in any CSS format Example "#6D6E00", "#ffa", "yellow" Line required Caption 2 Label for the legend entry Example "soda" is most common String suggested CSS border style border CSS style for the legend entry's border String ...
This template returns an RGB color number, for usage in css style setting (style="background:#ab23a6"). For certain input, a css fontcolor or border style is returned.
The width (thickness) of the border (default is 1px). style The border's style solid (default if the parameter is not used), dotted, dashed, double, groove, ridge, inset or outset. style2 Additional CSS properties can be used in this template. color The border's color (default #ddd, otherwise recommend a named color).
Any text in this parameter (including "no") sets the list's default state to expanded rather than collapsed. Omit the parameter or leave it blank to set the default state to collapsed. framestyle: Custom CSS styling applied the template overall (title and list). titlestyle: Custom CSS styling applied to the title. title
A style applied to an HTML element via HTML "style" attribute 3: Media Type: A property definition applies to all media types unless a media-specific CSS is defined 4: User defined: Most browsers have the accessibility feature: a user-defined CSS 5: Selector specificity: A specific contextual selector (# heading p) overwrites generic definition ...
For example, {{collapse top|This is the title text|bg=#F0F2F5}} or {{collapse top|This is the title text|bg=LightGrey}} (HTML hex color codes require the leading #). |fc= Sets the font color of the title of the collapsible bar. Defaults to inheriting the current text color of the context. See |bg=, above, for details on color options. |border=
For small expanses of colour, such as thin lines, clearly label them with text, or use non-colour techniques such as font styles (bold or italic), line styles (dots and dashes) or cross-hatching (stripes, checkers or polka-dots).
This parameter cooperates with |plain= in applying the color but respecting the removal of border and background. |!mxt=y or |red=y – same as above, but applies the red of {}, the “ bad monospaced example text" template. |style= – to apply arbitrary CSS style, for some specialized contextual purpose. Example: |style=background-color: Yellow;.