Template:Subhead/doc

From Pittsburgh Streets

The {{subhead}} template is used to mark up a subhead when a newspaper article is transcribed. A subhead is a heading of a subsection of a newspaper article.

Parameters

Parameter Default Description
align center Horizontal alignment. Allowed values are center and left (case-insensitive).
all-small false Controls whether the subhead is rendered in all small caps. This parameter is parsed by {{boolean}}, so any value understood by that template can be used. If this is true, bold and italic will be set to false by default.
bold true Controls whether the subhead is rendered in bold. As above, this parameter is parsed by {{boolean}}.
italic true Controls whether the subhead is rendered in italics. As above, this parameter is parsed by {{boolean}}.

Usage examples and test cases

{{subhead|The First Glass House.}}
The First Glass House.
{{subhead|CHANGES APPROVED.|italic=no}}
CHANGES APPROVED.
{{subhead|NAMING THE STREETS.|bold=off|italic=off}}
NAMING THE STREETS.
{{subhead|OLD STREET NAMES.|all-small=true}}
OLD STREET NAMES.
{{subhead|COUNCIL MEMBER|align=left|italic=false}}
COUNCIL MEMBER

See also