MTCategoryCount
カテゴリに含まれる記事の件数を表示します。
使い方
<MTCategories> <MTIf name="__first__"> <ul> </MTIf> <li><$MTCategoryLabel$> (記事数:<$MTCategoryCount$>)</li> <MTIf name="__last__"> </ul> </MTIf> </MTCategories>
モディファイア
- singular="text"
-
1 カウントのときに出力するメッセージを値にして付与します。
- plural="text"
-
2 以上のカウントのときに出力するメッセージを値にして付与します。
- none="text"
-
0 カウントのときに出力するメッセージを値にして付与します。
MTCategoryCount と関連のあるテンプレートタグ (64)
- MTArchiveCategory
- MTArchiveCount
- MTAssetCount
- MTAssetScoreCount
- MTAuthorCommentCount
- MTAuthorEntriesCount
- MTAuthorEntryCount
- MTAuthorFollowersCount
- MTAuthorFollowingCount
- MTAuthorScoreCount
- MTBlogCategoryCount
- MTBlogCommentCount
- MTBlogEntryCount
- MTBlogPageCount
- MTBlogPingCount
- MTCategories
- MTCategoryArchiveLink
- MTCategoryBasename
- MTCategoryCount
- MTCategoryCustomFieldDescription
- MTCategoryCustomFieldName
- MTCategoryCustomFields
- MTCategoryCustomFieldValue
- MTCategoryDescription
- MTCategoryID
- MTCategoryIfAllowPings
- MTCategoryLabel
- MTCategoryNext
- MTCategoryPrevious
- MTCategoryTrackbackCount
- MTCategoryTrackbackLink
- MTCommentScoreCount
- MTEntriesCount
- MTEntriesWithSubCategories
- MTEntryAdditionalCategories
- MTEntryCategories
- MTEntryCategory
- MTEntryCommentCount
- MTEntryIfCategory
- MTEntryPrimaryCategory
- MTEntryScoreCount
- MTEntryTrackbackCount
- MTFolderCount
- MTHasNoParentCategory
- MTHasNoSubCategories
- MTHasParentCategory
- MTHasSubCategories
- MTIfCategory
- MTParentCategories
- MTParentCategory
- MTPingScoreCount
- MTSearchResultCount
- MTSubCategories
- MTSubCategoryPath
- MTSubCatIsFirst
- MTSubCatIsLast
- MTSubCatsRecurse
- MTTagCount
- MTTopLevelCategories
- MTTopLevelParent
- MTWebsiteCommentCount
- MTWebsiteEntryCount
- MTWebsitePageCount
- MTWebsitePingCount