[:!let prefix [expr {[[:get_owning_partof] pinfo get -default 0 bundle ismetaclass] ? "cls": "obj"}]]
<div class="dlist">
  <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">?value?</span></tt></p>
    [$owning_attribute as_text]
    <div class="title">Parameters</div>
    <dl>
      <dt><tt>value</tt></dt>
      <dd><p>If provided, list of values to be set for the attribute ${:name}</p></dd>
    </dl>
    [:?objvar $owning_attribute @return {
    <div class="title">Return</div>
    [:!let ret [$owning_attribute !get @return]]
    [$ret as_text]
    }]
    [:? {[$owning_attribute pinfo get -default 0 bundle incremental]} {
    <dl>
      <hr/>
      <dt class="hdlist1">
	${:name} add
      </dt>
      <dd>
	<p><tt><span class="var">$prefix</span> <strong>${:name} add</strong> <span class="var">value</span></tt></p>
	<div class="title">Parameters</div>
	<dl>
	  <dt><tt>value</tt></dt>
	  <dd><p>...</p></dd>
	</dl>
      </dd>
    </dl>
    <dl>
      <hr/>
      <dt class="hdlist1">
	${:name} delete
      </dt>
      <dd>
	<p><tt><span class="var">$prefix</span> <strong>${:name} delete</strong> <span class="var">value</span></tt></p>
	<div class="title">Parameters</div>
	<dl>
	  <dt><tt>value</tt></dt>
	  <dd><p>...</p></dd>
	</dl>
      </dd>
    </dl>
    }]
  </dd>
</div>
