Helm Named Templates: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:
* [[Helm_Templates#Named_Template_Actions|Helm Templates]]
* [[Helm_Templates#Named_Template_Actions|Helm Templates]]
=Overview=
=Overview=
A named template, also known as a partial, sub-template or embedded template, is a fragment of text that is declared in one place and then rendered in-line into another template every time it is invoked with the [[#template|template]] action or the [[#include_Function|include]] function.
A named template, also known as a partial, sub-template or embedded template, is a fragment of text that is declared in a file and then rendered in-line into another template, usually defined in a different file, every time it is invoked with the [[#template|template]] action or the [[#include_Function|include]] function.
 
A sub-template is defined with the [[#define]] action.
 
=Sub-Template Elements=
=Sub-Template Elements=
==Sub-Template Name==
==Sub-Template Name==

Revision as of 22:38, 7 October 2020

External

Internal

Overview

A named template, also known as a partial, sub-template or embedded template, is a fragment of text that is declared in a file and then rendered in-line into another template, usually defined in a different file, every time it is invoked with the template action or the include function.

A sub-template is defined with the #define action.

Sub-Template Elements

Sub-Template Name

Sub-Template Scope

Actions

define

template

include Function

TODEPLETE

tmp