MTCommentsHeader
コメントの一覧で最初のときだけ実行する条件タグです。
使い方
<mt:Comments> <mt:CommentsHeader> <div class="section" id="comment"> <h2><$mt:EntryCommentCount singular="1 Comment" plural="# Comments" none="No Comment"$></h2> </mt:CommentsHeader> <dl class="comment"<mt:IfArchiveTypeEnabled archive_type="Individual"> id="c<$mt:Commentid$>"</mt:IfArchiveTypeEnabled>> <dt> <span class="name"><$mt:CommentAuthorLink show_email="0" default_name="名無し"$></span> <span class="datetime"><$mt:commentdate format="%Y-%m-%dT%H:%M"$></span> </dt> <dd> <$mt:CommentBody$> </dd> </dl> <mt:CommentsFooter> </div> </mt:CommentsFooter> </mt:Comments>
MTCommentsHeader と関連のあるテンプレートタグ (92)
- MTActionsComment
- MTArchiveListFooter
- MTArchiveListHeader
- MTAssetsFooter
- MTAssetsHeader
- MTAuthorCommentCount
- MTAuthorComments
- MTBlogCommentCount
- MTBlogIfCommentsOpen
- MTBlogResultFooter
- MTBlogResultHeader
- MTCalendarWeekFooter
- MTCalendarWeekHeader
- MTCommentAuthor
- MTCommentAuthorIdentity
- MTCommentAuthorLink
- MTCommentBlogID
- MTCommentBody
- MTCommentCustomFieldDescription
- MTCommentCustomFieldName
- MTCommentCustomFields
- MTCommentCustomFieldValue
- MTCommentDate
- MTCommentEmail
- MTCommentEntry
- MTCommentEntryID
- MTCommenterAuthIconURL
- MTCommenterAuthType
- MTCommenterEmail
- MTCommenterID
- MTCommenterIfTrusted
- MTCommenterName
- MTCommenterNameThunk
- MTCommenterURL
- MTCommenterUsername
- MTCommenterUserpic
- MTCommenterUserpicAsset
- MTCommenterUserpicURL
- MTCommentFields
- MTCommentID
- MTCommentIfModerated
- MTCommentIP
- MTCommentLink
- MTCommentName
- MTCommentOrderNumber
- MTCommentParent
- MTCommentParentID
- MTCommentPreviewAuthor
- MTCommentPreviewAuthorLink
- MTCommentPreviewBody
- MTCommentPreviewDate
- MTCommentPreviewEmail
- MTCommentPreviewIP
- MTCommentPreviewIsStatic
- MTCommentPreviewState [Deprecated]
- MTCommentPreviewURL
- MTCommentRank
- MTCommentReplies
- MTCommentRepliesRecurse
- MTCommentReplyToLink
- MTComments
- MTCommentScore
- MTCommentScoreAvg
- MTCommentScoreCount
- MTCommentScoreHigh
- MTCommentScoreLow
- MTCommentScript
- MTCommentsFooter
- MTCommentsHeader
- MTCommentURL
- MTDateFooter
- MTDateHeader
- MTEntriesFooter
- MTEntriesHeader
- MTFeedbackScore
- MTFolderFooter
- MTFolderHeader
- MTIfAllowCommentHTML
- MTIfCommenterIsAuthor
- MTIfCommenterIsEntryAuthor
- MTIfCommenterTrusted
- MTIfCommentParent
- MTIfCommentReplies
- MTIfCommentsAccepted
- MTIfCommentsActive
- MTIfCommentsAllowed
- MTIfCommentsModerated
- MTIfRequireCommentEmails
- MTPagesFooter
- MTPagesHeader
- MTPingsFooter
- MTPingsHeader