Template:Byline

From Pittsburgh Streets

The {{byline}} template is used to mark up a byline when a newspaper article is transcribed.

If a second unnamed parameter is provided, it is rendered as a sub-byline.

Parameters

Parameter Default Description
align center Horizontal alignment. Expected 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 will be set to false by default.
bold true Controls whether the byline is rendered in bold. As above, this parameter is parsed by {{boolean}}.
italic false Controls whether the byline is rendered in italics. As above, this parameter is parsed by {{boolean}}.
sc false Controls whether the byline is rendered in small caps. As above, this parameter is parsed by {{boolean}}. If this is true, bold will be set to false by default.

Usage examples and test cases

{{byline|By GEORGE T. FLEMING.}}
{{byline|By Lillian Thomas|Post-Gazette Staff Writer}}
{{byline|By Edward C. Sykes|italic=on}}
{{byline|Joel A. Tarr and Anna Rosenblum|align=left}}
{{byline|MARYLYNNE PITZ|Pittsburgh Post-Gazette|align=left}}
{{byline|Written for The Post.|align=left|sc=on}}
{{byline|Reported for the Pittsburgh Daily Gazette|all-small=true}}

See also

  • {{kicker}}
  • {{headline}}
  • {{deck}}, for a subordinate title under the main headline
  • {{subhead}}, for a heading of a subsection of a newspaper article