|
| 1 | +Content Template |
| 2 | +============ |
| 3 | + |
| 4 | +Content Template component that allows using templates to display component data. |
| 5 | + |
| 6 | +# Overview |
| 7 | + |
| 8 | +Component for using a template to display component content. |
| 9 | + |
| 10 | +## Information |
| 11 | +* **Vendor**: [AEM.Design](http://aem.design) |
| 12 | +* **Version**: v1 |
| 13 | +* **Compatibility**: AEM 6.4+ |
| 14 | +* **Status**: production-ready |
| 15 | +* **Showcase**: [/content/aemdesign-showcase/en/component/content/contenttemplate](/content/aemdesign-showcase/en/component/content/contenttemplate.html?wcmmode=disabled) |
| 16 | +* **Local Code**: [/apps/aemdesign/components/content/contenttemplate/v2/contenttemplate](/crx/de/#/apps/aemdesign/components/content/contenttemplate/v2/contenttemplate) |
| 17 | +* **Source**: [github/aem-design](https://github.com/aem-design/aemdesign-aem-common/tree/master/src/main/content/jcr_root/apps/aemdesign/components/content/contenttemplate/v2/contenttemplate) |
| 18 | +* **Readme**: [/apps/aemdesign/components/content/contenttemplate/v2/contenttemplate](/mnt/overlay/wcm/core/content/sites/components/details.html/apps/aemdesign/components/content/contenttemplate/v2/contenttemplate) |
| 19 | + |
| 20 | +# Authoring |
| 21 | + |
| 22 | +Following section covers authoring features |
| 23 | + |
| 24 | +## Edit Dialog properties |
| 25 | + |
| 26 | +These fields are available for input by the authors. These fields are used in templates |
| 27 | + |
| 28 | +<table style="border-spacing: 1px;border-collapse: separate;width: 100.0%;text-align: left;background-color: black; text-indent: 4px;"> |
| 29 | + <thead style="background-color: white;font-size: larger;"> |
| 30 | + <tr> |
| 31 | + <th style="width: 8%;">Tab</th> |
| 32 | + <th style="width: 14%;">Field Title</th> |
| 33 | + <th style="width: 8%;">Field Name</th> |
| 34 | + <th style="width: 8%;">Default Value</th> |
| 35 | + <th>Description</th> |
| 36 | + </tr> |
| 37 | + </thead> |
| 38 | + <tbody style="background-color: #b0e0e6;"> |
| 39 | + <tr> |
| 40 | + <td></td> |
| 41 | + <td>Variant</td> |
| 42 | + <td>variant</td> |
| 43 | + <td>anchor</td> |
| 44 | + <td>defines which variant to use</td> |
| 45 | + </tr> |
| 46 | + <tr> |
| 47 | + <td>Style</td> |
| 48 | + <td>Include: Global Style Tab</td> |
| 49 | + <td></td> |
| 50 | + <td></td> |
| 51 | + <td>common style options</td> |
| 52 | + </tr> |
| 53 | + <tr> |
| 54 | + <td>Accessibility</td> |
| 55 | + <td>Include: Global Accessibility Tab</td> |
| 56 | + <td></td> |
| 57 | + <td></td> |
| 58 | + <td>common accessibility options</td> |
| 59 | + </tr> |
| 60 | + <tr> |
| 61 | + <td>Link Attributes</td> |
| 62 | + <td>Include: Global Link Attributes Tab</td> |
| 63 | + <td></td> |
| 64 | + <td></td> |
| 65 | + <td>common link attributes</td> |
| 66 | + </tr> |
| 67 | + <tr> |
| 68 | + <td>Analytics</td> |
| 69 | + <td>Include: Global Analytics Tab</td> |
| 70 | + <td></td> |
| 71 | + <td></td> |
| 72 | + <td>common analytics options</td> |
| 73 | + </tr> |
| 74 | + </tbody> |
| 75 | +</table> |
| 76 | + |
| 77 | + |
| 78 | +## Design Dialog Tabs |
| 79 | + |
| 80 | +This enables creating of default values for components to be use in templates |
| 81 | + |
| 82 | +<table style="border-spacing: 1px;border-collapse: separate;width: 100.0%;text-align: left;background-color: black; text-indent: 4px;"> |
| 83 | + <thead style="background-color: white;font-size: larger;"> |
| 84 | + <tr> |
| 85 | + <th style="width: 8%;">Tab</th> |
| 86 | + <th style="width: 14%;">Field Title</th> |
| 87 | + <th style="width: 8%;">Field Name</th> |
| 88 | + <th style="width: 8%;">Default Value</th> |
| 89 | + <th>Description</th> |
| 90 | + </tr> |
| 91 | + </thead> |
| 92 | + <tbody style="background-color: #b0e0e6;"> |
| 93 | + <tr> |
| 94 | + <td>Content</td> |
| 95 | + <td>Includes: Content</td> |
| 96 | + <td></td> |
| 97 | + <td></td> |
| 98 | + <td>includes Content tab form Edit Dialog</td> |
| 99 | + </tr> |
| 100 | + <tr> |
| 101 | + <td>Style</td> |
| 102 | + <td>Include: Global Style Tab</td> |
| 103 | + <td></td> |
| 104 | + <td></td> |
| 105 | + <td>common style options</td> |
| 106 | + </tr> |
| 107 | + <tr> |
| 108 | + <td>Accessibility</td> |
| 109 | + <td>Include: Global Accessibility Tab</td> |
| 110 | + <td></td> |
| 111 | + <td></td> |
| 112 | + <td>common accessibility options</td> |
| 113 | + </tr> |
| 114 | + <tr> |
| 115 | + <td>Analytics</td> |
| 116 | + <td>Include: Global Analytics Tab</td> |
| 117 | + <td></td> |
| 118 | + <td></td> |
| 119 | + <td>common analytics options</td> |
| 120 | + </tr> |
| 121 | + </tbody> |
| 122 | +</table> |
| 123 | + |
| 124 | +# Variants |
| 125 | + |
| 126 | +This component has the following variants |
| 127 | + |
| 128 | +<table style="border-spacing: 1px;border-collapse: separate;width: 100.0%;text-align: left;background-color: black; text-indent: 4px;"> |
| 129 | + <thead style="background-color: white;font-size: larger;"> |
| 130 | + <tr> |
| 131 | + <th style="width: 8%;">Name</th> |
| 132 | + <th>Description</th> |
| 133 | + </tr> |
| 134 | + </thead> |
| 135 | + <tbody style="background-color: #b0e0e6;"> |
| 136 | + <tr> |
| 137 | + <td>Default</td> |
| 138 | + <td>Output of template content</td> |
| 139 | + </tr> |
| 140 | + </tbody> |
| 141 | +</table> |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | +<p></p> |
0 commit comments