color:white;text-align:center;font-size:120%; border: 1px solid black; background-color: #AC7071; background-image: -moz-linear-gradient(top, #AC7071, #5C4759); background-image: -ms-linear-gradient(top, #AC7071, #5C4759); background-image: -o-linear-gradient(top, #AC7071, #5C4759); background-image: -webkit-gradient(linear, left top, left bottom, from(#AC7071), to(#5C4759)); -pie-background: linear-gradient(top, #AC7071, #5C4759);
- 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:
This is a heading |
Content |