[%# foo() => #method_foo # blah => #method_foo # blah => #method_foo # foo() # => classlink("Template::Stash")#method_foo # blah # => classlink("Template::Stash")#method_foo # blah # => classlink("Template::Stash")#method_foo -%] [%- prefix = item.class ? classurl(item.class) : ''; method = item.refid or item.method or item.content(site.view.text); method = method.replace('\(.*\)', '') ; content = BLOCK; item.content(view) | trim; END; UNLESS (item.refid or item.method); content = "$content"; END; -%][% content %]