
!distribute items $wims_read_parm into serial, prim, parm1, parm2, parm3, parm4
!set parms=!items 3 to -1 of $wims_read_parm

!if $prim=$empty or $prim iswordof def define comment
  !exit
!endif
!if $prim iswordof doc
  !changeto primitives/target.phtml
!endif
!changeto primitives/$prim.phtml
