Template:Issue banner
| This template uses TemplateStyles: |
Usage
[edit]A template to create an "issue banner", with a left, right and central component. This is a common construction in newspapers and periodicals.
This template is designed to be used in work-specific template to avoid repeating styling that's common to all issues in a work. Therefore, this template avoids setting too much styling by default.
- left, center, right: the main contents
- border-top, border-bottom: top and bottom borders
- border: top and bottom borders, used if not specified separately
- style: overall CSS style
- lstyle, cstyle, rstyle: extra styles for each section. Optional, default: blank.
- lbrace, rbrace: add a brace to the left/right of the right-hand cell.
yesto enable. - lbrace-size, rbrace-size, brace-size: size adjust for the braces, optional. Default:
1.5em - center-left, center-right: Content on the left/right of the central region (positioned to the central side of the braces, if any). Optional. Styled with cstyle.
- align: Use to give all the text the same alignment instead of being left/center/right-aligned depending on its position in the banner.
A table can be used in any section, but you need to use {{!}} for the pipes.
Examples
[edit]Example
{{Issue banner
| left = No. 1
| center = 12 September 1912
| rstyle = font-size:69%;
| right = Price 2d.<br/>By post, 3d.
| rbrace = yes
| lbrace = yes
| lbrace-size = 1.2em
}}
Example: With center-left/right
{{Issue banner
| left = Ed. A. Einstein.
| center = 12 September 1912
| rstyle = font-size:69%; line-height: normal;
| right = Price 2d.<br/>By post, 3d.
| center-left = Vol. 1
| center-right = No. 15.
| rbrace = yes
| cstyle = color: blue;
}}
See also
[edit]- Templates using this template:
- {{Running header}}: a similar construction for the running headers found at the tops of many pages
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| left | left 1 | no description | Content | optional |
| center | center centre 2 | no description | Content | optional |
| right | right 3 | no description | Content | optional |
| center-left | center-left centre-left | no description | Content | optional |
| center-right | center-right centre-right | no description | Content | optional |
| lbrace | lbrace | no description
| Boolean | optional |
| rbrace | rbrace | no description
| Boolean | optional |
| align | align | no description
| String | optional |
| class | class | no description | String | optional |
| border | border | no description | String | optional |
| border-top | border-top | no description | String | optional |
| border-bottom | border-bottom | no description | String | optional |
| style | style | no description | String | optional |
| lstyle | lstyle | no description | String | optional |
| cstyle | cstyle | no description | String | optional |
| rstyle | rstyle | no description | String | optional |
| lbrace-char | lbrace-char | no description
| Line | optional |
| rbrace-char | rbrace-char | no description
| Line | optional |
| lbrace-size | lbrace-size | no description
| String | optional |
| rbrace-size | rbrace-size | no description
| String | optional |