[:!let prefix [expr {[[:get_owning_partof] pinfo get -default 0 bundle ismetaclass] ? "cls": "obj"}]]
[:!let name [:get_combined name]]
<dl>
  <hr/>
  <dt class="hdlist1">
    <span id="[:as_tag_id]">$name</span>
  </dt>
  <dd>
    <p><tt><span class="var">$prefix</span> <strong>$name</strong> <span class="var">[:pinfo get -default "" bundle parametersyntax]</span></tt>
    </p>
    [:?var :@parameter {
    <div class="title">Parameters</div>
    <dl>
      [:for param [:!get @parameter] {
      <dt><tt>[$param print_name]</tt></dt>
      <dd><p>[$param as_text]</p></dd>
      }]
    </dl>
    }]
    [:?var :@return {
    <div class="title">Return</div>
    [:!let ret [:!get @return]]
    [$ret as_text]
    }]
  </dd>
</dl>
