Usage

edit

Create a block that applies one or more classes. This is intended for use in conjunction with CSS via H:Page styles.

The template differs from most other templates in Category:Templates applying classes for page styles in that is has no intrinsic semantic content other than the class provided.

  • 1 The class name (or multiple, separated by spaces)
  • 2 The block content.
  • style 'inline' style overrides on a per invocation basis. USE with caution.

{{class block/s}} and {{class block/e}} are provided for spanning page breaks.

Example

._class_block_demo {
    text-align: center;
    color: green;
    font-size: 150%;
}
{{class block|_class_block_demo|Content}}

Content