Skip to content

LandscapeTitleCard

Collin Heist edited this page May 25, 2024 · 12 revisions

Background

This style of title card was created by me with the intention of creating title cards for all the Planet Earth series (hence the name Landscape). It's a very simple title card that just features a prominent title with a drop shadow; all season/episode text is omitted

This card type is used whenever card_type is specified as landscape.

Example

Spoiler

Blurred

Valid extras

Below is a table of all valid series extras parsed by this card. These are described in greater detail below.

Label Default Value Description
add_bounding_box true Whether to add a bounding box around the title
box_adjustments 0 0 0 0 Pixel spacing adjustments to apply to the bounds of the bounding box
box_color Font color Color of the bounding box
box_width 10 Pixel thickness of the bounding box
darken false Whether and how to darken the image for increased legibility
shadow_color black Color of the drop shadow

Customization

Shadow Color

A drop shadow is added to the title text and bounding box. By default, this shadow is colored black, but can be recolored.

Adding a Bounding Box

By default, title cards of this style will not have the box around their titles. This can be enabled by using the add_bounding_box series extra like so:

series:
  Planet Earth (2006):
    card_type: landscape
    extras:
      add_bounding_box: true

The color of this box will match the color of the title text (unless changed via the box_color extra), like so:


Adjusting the Bounding Box Size

If you'd like to adjust the dimensions of the bounding box to either appear further/closer to your title text (especially when using a custom font), then the box_adjustments series extra can be used to individually adjust the boundaries of each of the box's faces.

This is specified in clockwise order, like so {top} {right} {bottom} {left}, with positive values meaning a larger face, and negative ones being smaller - for example:

series:
  Planet Earth (2006):
    card_type: landscape
    extras:
      add_bounding_box: true
      box_adjustments: -20 10 -5 0

This will move the top of the box 20 pixels in (towards the title), the right side 10 pixels out (away from the title), the bottom side in 5 pixels (towards the title), and does not adjust the left side.

Darkening the Image or Bounding Box

TCM can darken cards of this type (with the intention of making the title text more clear) via the darken series extra. For example:

series:
  Planet Earth (2006):
    card_type: landscape
    extras:
      add_bounding_box: true
      darken: box  # Can also be all

By default, this is disabled (i.e. darken: false), but this can be enabled by specifying all or box. box darken mode can only be used if the add_bounding_box extra is enabled. Examples of darken: all and darken: box are shown below:

Recoloring the Bounding Box

By default, the color of the bounding box is set to match the color of the font. If you'd like to separate the two, you can specify the box_color extra. For example:

series:
  Planet Earth (2006):
    card_type: landscape
    extras:
      add_bounding_box: true
      box_color: crimson
Clone this wiki locally