template_contribution¶
Required: No
Type: List of template contributions
Condition: Yes  
List of key-value pairs added to the Jinja2 template engine when generating template files.
| Key | Required | Type | Description | 
|---|---|---|---|
name | 
Yes | String | Name of the variable to contribute to | 
value | 
Yes | Any | Value appended to the list of template contributions | 
priority | 
No | Integer | Sort priority of the contribution in [-10000,10000], where lower values are sorted first. Default value is 0. | 
condition | 
No | List of features | The template contribution is added if all the given features are present | 
unless | 
No | List of features | The template contribution is added unless any of the given features are present | 
Every template contribution variable is a list. A single template contribution adds an element to this list, sorted by priority from the most negative to the most positive.
All components present in a project contribute to the same global variables.
See the page on template files for more information.
1 2 3 4 5 6  |  |