Template:Byline/doc

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).
bold true Controls whether the byline is rendered in bold. This parameter is parsed by {{boolean}}, so any value understood by that template can be used.
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|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}}

See also

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