Documentation Center

Component Template

The Component Template determines which parts of a Component are displayed on the webpage, and how.

Component Templates determine the visualization (and sometimes the behavior) of a Component.

A Component contains a number of fields, which contain the various parts of the Component. For example, in a Press Release Component, typical Component fields are the headline, date of release, lead-in text, and body text.

Depending on the type of webpage, you see more or less of these fields. For example, in an index page showing all Press Releases for a given year, you may only see the headline and date. But on a webpage that shows one Press Release on its own, you probably see all fields.

Additionally, you may see the same field differently on different webpages. On the Press Release index page, you may see titles in a font size of 14 points, but on a standalone page, the same title may display as 18 points.

Finally, on some webpages, you may have access to certain interactive functionality that is not available elsewhere. For example, you might see a button to "Print this Press Release" on a standalone Press Release page, but not on an index page.

All of these things (which fields are shown, how they are shown, and which behavior they enable) are controlled by the Component Template. When a Component is published as part of a webpage, the Component Template is applied to it to determine what it will look like and behave on that specific webpage.