Template:SetDependency
From COMP15212 Wiki
Auxillary template used to allow a module to include semantic subobjects for dependencies.
Basically, a Scribunto Lua module can call templates, but it cannot call expressions that start with #, such as {{#subobject}}. This template serves as a bridge, allowing a lua module to set a subobject on a page.
This template sets:
Parameter 1 -> Depend on
Parameter 2 -> Depend weight
Parameter 3 -> Depend from