MTIfCommentReplies
コメントに返信がある場合にのみ実行する条件タグです。
- 使い方
<mt:Comments>
  <mt:CommentsHeader>
<ul class="comments-content">
  </mt:CommentsHeader>
  <mt:IfCommentParent>
  <mt:Else>
  <li id="c<$mt:CommentID$>">
    <span><a href="<mt:If tag="CommenterURL"><$mt:CommenterURL$><mt:Else tag="CommentURL"><$mt:CommentURL$><mt:Else tag="CommenterEmail">mailto:<$mt:CommenterEmail$><mt:Else>#</mt:If>"><img src="<$mt:CommenterUserpicURL$>" width="20" height="20" /><$mt:CommentAuthor$></a></span>
    <div class="comment-body"><$mt:CommentBody$></div>
    <mt:IfCommentReplies>
      <mt:CommentReplies>
        <mt:CommentsHeader>
  <ul class="comment-reply<mt:If tag="CommentParentID"> <$mt:CommentParentID$></mt:If>">
        </mt:CommentsHeader>
      <li id="c<$mt:CommentID$>">
        <span><a href="<mt:If tag="CommenterURL"><$mt:CommenterURL$><mt:Else tag="CommentURL"><$mt:CommentURL$><mt:Else tag="CommenterEmail">mailto:<$mt:CommenterEmail$><mt:Else>#</mt:If>"><img src="<$mt:CommenterUserpicURL$>" width="20" height="20" /><$mt:CommentAuthor$></a></span>
        <div class="comment-body"><$mt:CommentBody$></div>
        <$mt:CommentRepliesRecurse$>
      </li>
        <mt:CommentsFooter>
    </ul>
        </mt:CommentsFooter>
      </mt:CommentReplies>
    <mt:IfCommentReplies>
  </li>
  </mt:IfCommentParent>
  <mt:CommentsFooter>
</ul>
  </mt:CommentsFooter>
</mt:Comments>
