load_template
Loads a unit template into a live unit.
Function
Synopsis
btech.unit.load_template( unit, reference )
Arguments
DbRef|Object unit- The live unit.
string reference- The non-empty unit-template reference. It cannot contain
..,/, or\.
Returns
None.
Notes
A missing template raises btech.template.not_found. A template that exists but
is malformed raises btech.template.invalid.