FANDOM


color:white;text-align:left;font-size:100%; border: 1px solid black; background-color: white; background-image: -moz-linear-gradient(top, white, #C0C0C0); background-image: -ms-linear-gradient(top, white, #C0C0C0); background-image: -o-linear-gradient(top, white, #C0C0C0); background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(#C0C0C0)); -pie-background: linear-gradient(top, white, #C0C0C0);

  • Note: There must not be any new line between the code and the <noinclude> tag. Otherwise, the template will treat these lines as part of the code, thus breaking it.

Explanation

This template is a line of CSS code that is responsible for the color and style of the headings of infoboxes and tables throughout this wiki. In future, should anyone attempts to redesign the headings, only this template needs to be edited.

|Arcius| 08:25, June 12, 2011 (UTC)

Usage

If you want to apply this template to a infobox or a table, simply treat it like a parameter:

style = "{{heading style}};"

You can further customize or even override this template by adding more parameter:

style = "{{heading style}}; font-size:120%; color:black;"

Example

{| style = "background-color:#e2e2e2; width:300px;"
| style = "{{heading style}}; text-align:center;" | This is a heading
|-
| style = "text-align:center;" | Content
|}

gives:

style = "Template:Heading style; text-align:center;" | This is a heading
Content
Community content is available under CC-BY-SA unless otherwise noted.