MTCalendarIfToday
セルが今日の日付であったときに処理する条件タグです。
使い方
<table summary="<$MTCalendarDate format="%Y/%m"$> のカレンダー"> <tr> <th>日曜日</th> <th>月曜日</th> <th>火曜日</th> <th>水曜日</th> <th>木曜日</th> <th>金曜日</th> <th>土曜日</th> </tr> <MTCalendar> <MTCalendarWeekHeader> <tr> </MTCalendarWeekHeader> <td> <MTCalendarIfToday><strong></MTCalendarIfToday> <MTCalendarIfEntries> <MTEntries limit="1"> <a href="<$MTEntryPermalink$>"><$MTCalendarDay$></a> </MTEntries> </MTCalendarIfEntries> <MTCalendarIfNoEntries> <$MTCalendarDay$> </MTCalendarIfNoEntries> <MTCalendarIfToday></strong></MTCalendarIfToday> <MTCalendarIfBlank> </MTCalendarIfBlank> </td> <MTCalendarWeekFooter> </tr> </MTCalendarWeekFooter> </MTCalendar> </table>
MTCalendarIfToday と関連のあるテンプレートタグ (76)
- MTAssetIfTagged
- MTAuthorHasEntry
- MTAuthorHasPage
- MTBlogIfCCLicense
- MTBlogIfCommentsOpen
- MTCalendar
- MTCalendarCellNumber
- MTCalendarDate
- MTCalendarDay
- MTCalendarIfBlank
- MTCalendarIfEntries
- MTCalendarIfNoEntries
- MTCalendarIfToday
- MTCalendarWeekFooter
- MTCalendarWeekHeader
- MTCategoryIfAllowPings
- MTCommenterIfTrusted
- MTCommentIfModerated
- MTElse
- MTElseIf
- MTEntryIfAllowComments
- MTEntryIfAllowPings
- MTEntryIfCategory
- MTEntryIfCommentsOpen
- MTEntryIfExtended
- MTEntryIfTagged
- 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
- MTPageIfTagged
- MTSubCatIsFirst
- MTSubCatIsLast
- MTUnless
- MTWebsiteHasBlog