Template:Deck

From Pittsburgh Streets
Deck
The {{deck}} template is used to mark up a deck when a newspaper article is transcribed. A deck is a subordinate title under the main headline; this corresponds to a subtitle in the {{news}} template.

Parameters

Parameter Default Description
align center Horizontal alignment. Allowed values are center and left (case-insensitive).
dash true Controls whether a centered three-em dash is produced afterward (via CSS generated content). This parameter is parsed by {{boolean}}, so any value understood by that template can be used.
italic false Controls whether the deck is rendered in italics. As above, this parameter is parsed by {{boolean}}.

Usage examples and test cases

{{deck|HIPPO, TUMBO, FORTITUDE!}}
HIPPO, TUMBO, FORTITUDE!
{{deck|Commemoration of Splendid Leaders of Young Republic Is Apparent Here.|dash=on}}
Commemoration of Splendid Leaders of Young Republic Is Apparent Here.
{{deck|Hard to Locate Homes After City Streets Are Renamed.|italic=true}}
Hard to Locate Homes After City Streets Are Renamed.
{{deck|Supermarket site once held a garden filled with blossoms mentioned by the bard|dash=no}}
Supermarket site once held a garden filled with blossoms mentioned by the bard
{{deck|Hot Metal Bridge opens|align=left|dash=off}}
Hot Metal Bridge opens

See also