Jump to main content Jump to doc navigation

tplComments

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

Quip's tplComments Chunk

This is the Chunk displayed with the &tplComments property on the Quip.Quip snippet. Only applicable when &useWrapper is set to 1 in the Quip snippet (which it is by default).

This chunk wraps the comments for a thread, and provides a heading with the total number of comments.

Default Value

<div class="quip">
    <h3>[[%quip.comments]] ([[+total]])</h3>

<div id="quip-topofcomments-[[+idprefix]]"></div>

    [[+comments:notempty=`<ol class="quip-comment-list">
    [[+comments]]
    </ol>`]]

    [[+pagination]]
</div>

Available Placeholders

Name Description
comments The comments for the thread.
total The total number of comments for this thread.
idprefix The ID prefix for the thread's comments.

See Also

  1. Quip.Quip
    1. Quip.Quip.tplComment
    2. Quip.Quip.tplCommentOptions
    3. Quip.Quip.tplComments
    4. Quip.Quip.tplReport
  2. Quip.QuipCount
  3. Quip.QuipLatestComments
  4. Quip.QuipReply
    1. Quip.QuipReply.tplAddComment
    2. Quip.QuipReply.tplLoginToComment
    3. Quip.QuipReply.tplPreview
  5. Quip.QuipRss
  6. Quip.Roadmap
  7. Quip.Upgrading
    1. Quip.Upgrading to 1.0.1