Adding a Sub-template
There are two situations for which this option makes sense:
- There is a section within your page that contains content that repeats. e.g. a list of reviews for your product that an author, a review body, and a rating. In this case, you could mark up the first review and apply the same markup to all of the other reviews provided they follow the same format.
- There may be more than one section on a page (with a different class type then the page itself) that shares the same sub-class. If you don’t differentiate the two sections, you’ll confuse the search engine.
Click the “Add Template” button
Click on one of the entities that you wish to create a template for. In this case, we are marking up one of a list of reviews for our product. Once you’ve selected the entity the “Template Highlight” box appears on the right-hand side of the page.
You can increase the scope (or widen) your selection to capture all of the information you wish to mark up.
Choose the Property and Class – in this example, the review property connects the Product template to a Review data item subtemplate. Since this is a subtemplate, leave the Template Highlight as a Class. Other items will be linked within this subtemplate using properties.
From within this subtemplate, you can further click to highlight items or use one of the other methods to select your subtemplate items.
Finally, Click save!