//Definition of the added Option $passedTVValue = !empty($passedTVValue) ? $passedTVValue : ''; //pick the data from the $properties-array $dynamicTpl = $properties[$tvPrefix . $passedTVValue]; //render the resource with this Tpl if (!empty($passedTVValue) && empty($resourceTpl)) $resourceTpl = parseTpl($dynamicTpl, $properties);
This question has been answered by achterbahn. See the first response.
[[!getResourcesAltTpl? &tplAltTV =`SubartikelTemplate`
$tplAltTVx = $properties[$tvPrefix . $tplAltTV];
if (!empty($tplAltTV) && empty($resourceTpl)) $resourceTpl = parseTpl($tplAltTVx,$properties);