MTAssetIfTagged
特定のタグがアイテムに付けられているときに囲まれた内容を処理するブロックタグです。tagモディファイアでタグの名前を指定できます。
使い方
<MTAssetIfTagged tag="hoge"> <!-- do something --> </MTAssetIfTagged>
モディファイア
- tag="tag_foo"
-
特定のタグを対象とします。
- include_private="0"
-
プライベートタグ(@で始まるタグ)を対象にするかどうかを指定。"1" を指定すると、対象に含めます。
MTAssetIfTagged と関連のあるテンプレートタグ (117)
- MTAsset
- MTAssetAddedBy
- MTAssetCount
- MTAssetDateAdded
- MTAssetDescription
- MTAssetFileExt
- MTAssetFileName
- MTAssetFilePath
- MTAssetID
- MTAssetIfTagged
- MTAssetIsFirstInRow
- MTAssetIsLastInRow
- MTAssetLabel
- MTAssetLink
- MTAssetMimeType
- MTAssetProperty
- MTAssetRank
- MTAssets
- MTAssetScore
- MTAssetScoreAvg
- MTAssetScoreCount
- MTAssetScoreHigh
- MTAssetScoreLow
- MTAssetsFooter
- MTAssetsHeader
- MTAssetTags
- MTAssetThumbnailLink
- MTAssetThumbnailURL
- MTAssetType
- MTAssetURL
- MTAuthorHasEntry
- MTAuthorHasPage
- MTAuthorUserpicAsset
- MTAuthorUserpicURL
- MTBlogIfCCLicense
- MTBlogIfCommentsOpen
- MTCalendarIfBlank
- MTCalendarIfEntries
- MTCalendarIfNoEntries
- MTCalendarIfToday
- MTCategoryIfAllowPings
- MTCommenterIfTrusted
- MTCommenterUserpicAsset
- MTCommentIfModerated
- MTElse
- MTElseIf
- MTEntryAssets
- MTEntryAudio
- MTEntryAuthorUserpicAsset
- MTEntryEmbedCode
- MTEntryIfAllowComments
- MTEntryIfAllowPings
- MTEntryIfCategory
- MTEntryIfCommentsOpen
- MTEntryIfExtended
- MTEntryIfTagged
- MTEntryPhoto
- MTEntryTags
- MTHasNoParentCategory
- MTHasNoSubCategories
- MTHasParentCategory
- MTHasParentFolder
- MTHasSubCategories
- MTHasSubFolders
- MTIf
- MTIfAllowCommentHTML
- MTIfAnonymousRecommendAllowed
- MTIfArchiveType
- MTIfArchiveTypeEnabled
- MTIfBlogDynamicMTML
- MTIfCategory
- MTIfCommenterIsAuthor
- MTIfCommenterIsEntryAuthor
- MTIfCommenterTrusted
- MTIfCommentParent
- MTIfCommentReplies
- MTIfCommentsAccepted
- MTIfCommentsActive
- MTIfCommentsAllowed
- MTIfCommentsModerated
- MTIfDynamic
- MTIfEntryRecommended
- MTIfFolder
- MTIfIsAncestor
- MTIfIsDescendant
- MTIfLoggedIn
- MTIfMaxResultsCutoff
- MTIfNeedEmail
- MTIfNonEmpty
- MTIfNonZero
- MTIfPingsAccepted
- MTIfPingsActive
- MTIfPingsAllowed
- MTIfPingsModerated
- MTIfRegistrationAllowed
- MTIfRegistrationNotRequired
- MTIfRegistrationRequired
- MTIfRequireCommentEmails
- MTIfStatic
- MTIfStraightSearch
- MTIfTagSearch
- MTIfTypeKeyToken
- MTMultiBlogIfLocalBlog
- MTPageAssets
- MTPageIfTagged
- MTPageTags
- MTSubCatIsFirst
- MTSubCatIsLast
- MTTagCount
- MTTagID
- MTTagLabel
- MTTagName
- MTTagRank
- MTTags
- MTTagSearchLink
- MTUnless
- MTWebsiteHasBlog