Sample Templates
SDL Tridion Sites provides sample Page and Component Templates that use some of the default Template Building Blocks.
You can open these sample Templates in Template Builder to see the Template Building Blocks they contain, how the parameters of those Template Building Blocks are set, and to run the Template in Template Builder.
- Sample Component Template
-
A simple Component Template that displays information about any Component: its name and Schema name and, in a table, its field names and field values.
- Sample Page Template
-
A simple Page Template that renders a Page and all Components included on it, displaying information about each.
The Sample Component Template and the Sample Page Template execute a sequence of Template Building Blocks that contain some of the Default Template Building Blocks and a sample Adobe Dreamweaver Template Building Block:
- For Components, the Default Dreamweaver Component Design which handles the visualization part of the Sample Component Template. If you want, you can replace it with the Sample XSLT Component Design.
- For Pages, the Default Dreamweaver Page Design which handles the visualization part of the Sample Page Template.
You can also open these sample Dreamweaver templates in Adobe Dreamweaver to examine how they work and to familiarize yourself with Dreamweaver templating.